Forum Discussion
Anonymous
1 year agoNot applicable
How to Add Previous Years' Data to a Column Chart?
Hello everyone,
I have a column chart in Power BI that currently displays the monthly values for the year 2025, as shown in the screenshot below.
However, I would like to modify the chart to include an additional column for previous years. Ideally, I want to display the data for 2023, 2024, and the months of 2025 in the same chart. The final result should look like this:
Is there a way to achieve this in Power BI?
Thanks in advance!
- Anonymous1 year ago
If you have a date dimension, make sure it is Marked As Date Table. Then, use the SAMEPERIODLASTYEAR time intelligence function.
1 Reply
- AnonymousNot applicable
If you have a date dimension, make sure it is Marked As Date Table. Then, use the SAMEPERIODLASTYEAR time intelligence function.