In the previous example, the Date fields are truncated to the Month level, which creates a continuous axis. But what if you wanted to keep the distinct headers and still use a custom date format? For example, the view below shows the same view as before but this time it shows the sales for each distinct Month, Day, and Year.

Â
To format distinct dates:
Step 1
For Tableau Desktop 7.0 and later, right-click the date field on the Columns shelf, and select Discrete.
For Tableau Desktop 6.1 and earlier, right-click the date field on the Columns shelf, and select Measure > Minimum aggregation.

Step 2
Right-click the field again, and select Format.
Step 3
As before, you can format the dates using the Date control in the Default section of the Format window. You can select from predefined formats or select Custom.
