When you are connected to a flat file, relational, or extracted data source, Tableau provides a robust built-in date hierarchy for any date field.
To see this in action, continue with the Chapter 03 workbook, navigate to the Built-in Date Hierarchy sheet, and create a view similar to the one shown here by dragging and dropping SUM(Sales) to Rows and YEAR(Order Date) to Columns:
Note that even though the Order Date field is a date, Tableau defaulted ...