Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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.
| User | Count |
|---|---|
| 56 | |
| 41 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 140 | |
| 102 | |
| 64 | |
| 36 | |
| 35 |