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
Hasvine2022
Helper I
Helper I

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
Hasvine2022
Helper I
Helper I

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
Hasvine2022
Helper I
Helper I

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
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.