Last Modified Date: 15 Jan 2024
Environment
Tableau DesktopAnswer
Group the months or quarters using a calculated field. The following instructions can be reviewed in the workbook attached below:
- In Tableau Desktop, click Analysis.
- Select Create Calculated Field.
- In the dialog box enter the following formula:
IF DATEPART('quarter', [Date]) < 3 THEN 'Semester 1' ELSE 'Semester 2' END
- Name the calculation and press OK.
- The new field will appear under Dimensions.
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Continue Searching
Knowledge Base
Community
Product Help
Training and Tutorials