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
Anonymous
Not applicable

Changed the order of filter pane for Play Axis

Good day everyone, i am playing with Play Axis now (it can auto filter the chart one by one by auto check the filter). I would like to filter the month by Septermber follow by October , November and December. Unfortunately current default of filter is according to ascending order. Anyone know how to edit the order of filtering in Play Axis?

 

Jason1995_0-1641909267859.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You need create month year sort column and mark that as sort column

New column

Month Year sort = FORMAT([Date],"yyyymm") //Mark this as sort column of you month year

 

or Month Year sort =

if(month([Date]) <=8, (YEAR([Date]) -1)*100 + month([Date]) +4, (YEAR([Date]) )*100 + month([Date]) -8)

 

Sort Month Year.png

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

 

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

I'd like to suggest you take a look at the following blog to create a sorting table and mapping to the raw table field to apply custom sort order based on the 'sort by column' property:

Custom Sorting in Power BI 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous , You need create month year sort column and mark that as sort column

New column

Month Year sort = FORMAT([Date],"yyyymm") //Mark this as sort column of you month year

 

or Month Year sort =

if(month([Date]) <=8, (YEAR([Date]) -1)*100 + month([Date]) +4, (YEAR([Date]) )*100 + month([Date]) -8)

 

Sort Month Year.png

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

 

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.