filmov
tv
How to create Year To Date and Month To Date calculations in Tableau
Показать описание
In this silent video, you'll learn how to create and display Year to Date and Month to Date calculations.
- - - - - - - - - - - - - -
1. Select Analysis and then Create Calculated Field for YTD Sales
2. In the Measures pane, right-click the YTD Sales calculation and select Duplicate.
3. Right-click YTD Sales (Copy), select Edit, and make the following changes, then click OK:
Name the field MTD Sales
Change 'year' to 'month'.
4. Drag YTD Sales to Columns.
5. Drag MTD Sales to the YTD Sales axis. When you see an icon with a double horizontal ruler, release the mouse button.
6. A screenshot of the double horizontal ruler
MTD Sales and YTD Sales will now display on the same axis.
Related solutions:
- - - - - - - - - - - - - -
- - - - - - - - - - - - - -
1. Select Analysis and then Create Calculated Field for YTD Sales
2. In the Measures pane, right-click the YTD Sales calculation and select Duplicate.
3. Right-click YTD Sales (Copy), select Edit, and make the following changes, then click OK:
Name the field MTD Sales
Change 'year' to 'month'.
4. Drag YTD Sales to Columns.
5. Drag MTD Sales to the YTD Sales axis. When you see an icon with a double horizontal ruler, release the mouse button.
6. A screenshot of the double horizontal ruler
MTD Sales and YTD Sales will now display on the same axis.
Related solutions:
- - - - - - - - - - - - - -