# Year to date analysis

Show a comparison of dimensions for the same period in previous years.

Year to date analysis

Year to date analysis

Year to dateYear to date analysis ![Year to date analysis showing the average cost of sales by the year to date of order date and city.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/ui_analysis-year-to-date.png)

## Creating year to date analyses

Do the following:

1. In Assets, click Analysis.

2. Drag and drop Year to date into the sheet.

3. Click Add dimension and select a temporal dimension.

4. Click Add dimension and select a dimension.

5. Click Add measure and a select a measure.

6. Optionally, to change the chart type, in the properties panel, under Alternative charts, select a different chart type.

7. Optionally, in the properties panel, under Appearance, adjust the appearance of the analysis.