Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ktkpatra
Frequent Visitor

Year Month Comparision Clustered Column Chart in Power BI

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.  

 

ktkpatra_0-1667745506259.png

 

2 REPLIES 2
Evan_Power_Bi
Frequent Visitor

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.

v-yueyunzh-msft
Community Support
Community Support

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.