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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Sorting graphs

Hello Team,

 

I am trying to sort a chart by using my calendar below:

 

Calendar = ADDCOLUMNS ( CALENDAR ( Date ( 2022 , 09 , 01 ),  date ( 2023 , 12 , 31 ))
, "Month Year" ,  Format ( [Date] ,  "MMM-YYYY" )
, "Month Year sort" ,  Format ( [Date] ,  "YYYYMM" )
, "Year" ,  Year ( [Date] )
, "YYYY-WK" , CONCATENATE( FORMAT ( [Date] , "YYYY" ),Format(WEEKNUM([Date],2)-1,"00"))
, "Qtr Year" ,  Format ( [Date] , "YYYY\QQ" ))
 
Hasvine2022_0-1673330872925.png

 

I sorted my table using the month year sort but it is not working in my chart. 

 

Hasvine2022_1-1673331150992.png

 

 

Any idea?

 

Thank you.

 

Hasvine

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello Team,

 

Kindly ignore. I managed to fix it by removing the x-axis "Month Year" and put it again.

 

Thank you.

 

Kind Regards,

 

Hasvine

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hello Team,

 

Kindly ignore. I managed to fix it by removing the x-axis "Month Year" and put it again.

 

Thank you.

 

Kind Regards,

 

Hasvine

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.