The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
Solved! Go to Solution.
If you have a date dimension, make sure it is Marked As Date Table. Then, use the SAMEPERIODLASTYEAR time intelligence function.
If you have a date dimension, make sure it is Marked As Date Table. Then, use the SAMEPERIODLASTYEAR time intelligence function.