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! Get ahead of the game and start preparing now! Learn more
Dear Uesrs,
Could you please guide me how to create 2 or 3 year data with Month comparison as per graph below.
Do I need DAX or any other option can do it. please help.
Whatever your date hiearchy field is, take the "year" and put that in the "Legend" of the visual and put "month" in the "x-axis" of a clustered column chart.
Hi , @ktkpatra
Can you explain what is " 2 or 3 year data with Month comparison as per graph below"?
In your cisual , it shows the "2021-2022" Month comparsion, and what is you really want ?
If you want to make a slicer , you can refer to :
Generate Year and Month Combinations in Power BI Report using DAX - RADACAD
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |