Loading

How to Show the Date Axis in Separate Rows

Julkaisupäivä: Apr 13, 2024
Tehtävä

How to show the date axis in several rows like the image below.

First Line: Month
Second Line: Year

User-added image
 

Vaiheet
The ability to show the date axis in several rows is not currently built into Tableau Desktop.

Workaround
Use several STRING lines to show the date axis.

1. Create a string field like below
========
STR(MONTH([Order Date])) + 
"
"
+STR(YEAR([Order Date]))
========

2. Use the String field as the date axis

3. Sort the string field to show the right date order.
User-added image

Please check the attached workbook for details.
Knowledge-artikkelin numero

001469740

 
Ladataan
Salesforce Help | Article