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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Safdev
Regular Visitor

Sorting Month Columns

Hi Team,

 

I have been experiencing some issues sorting columns by months June 2017 through May 2918. They appear from january (2018) to december (2017). Going through the forum I learnt about bringing a separate table for Month ID and creating a relationship using the serial number to do the sort.

 

But I am still not getting the result after several attempts.

 

Please see pictures below for your easy reference. Would be grateful to receive your support.

 

Month Column Sorting.JPGMonthly Sales Report.JPG

1 ACCEPTED SOLUTION

Hi @Safdev,

 

You can create a active relationship between the fact table with month table, then set the month name sort by the desired sort order column.  You can take a look at attached pbix file. 

 

q1.PNGq2.PNGq3.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Safdev
Regular Visitor

I meant "...starting from June 2017 through May 2018". Thanks

Hi @Safdev,

 

You can create a active relationship between the fact table with month table, then set the month name sort by the desired sort order column.  You can take a look at attached pbix file. 

 

q1.PNGq2.PNGq3.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors