KNOWLEDGE BASE

How to Change or Rename the Dimension Header in a View Without Changing the Dimension Name in Data Source


Pubblicato: 11 Jan 2022
Data dell'ultima modifica: 30 Jun 2023

Domanda

How to change the dimension header in crosstab without actually changing the Dimension Name in the data source?


User-added image

Ambiente

  • Tableau Desktop

Risposta

The ability to only change the dimension header in the view is not currently built into Tableau Desktop.

Consider the workaround which achieves similar functionality.

Please note that this method only applies to Dimensions (Discrete or Continuous). When you are using Dates, Measures, or Attributes that are other than a Dimension, this workaround is not applicable.
Follow the steps below:

1. Double-click the dimension added to the [Rows/Columns] shelf.

User-added image

2. Add "//Dimension Name" at the beginning.

User-added image

3. Press "Shift + Enter" to add a new line character.

User-added image
 

Finally, the dimension header can be changed like in the below image.

User-added image
* The dimension in the [Rows/Columns] shelf has two lines like below and it will show the first line as the header and show the dimension in the second line.
---------------------
//Dimension Name
[Category]
---------------------

Please check the attached workbook for details.

Ulteriori informazioni

For more  information, refer to this related Youtube Video.
Con questo articolo hai risolto il problema?