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

Order of elements in a filter

Hi,

 

How can I choose the order elements are listed in a filter ? In the example bellow, I would like to have:

 

0-100K

100K-1M

> 1M

f.PNG

Thanks

1 ACCEPTED SOLUTION

Hi @SRK_23,

 

Seems you don't have an independent table. I would suggest you add a conditional column in the Query Editor. Please refer to the snapshot below. Then apply "Sort by Column". NOTE, all values should have an index. 

Order_of_elements_in_a_filter2

 

Best Regards,

Dale

Community Support Team _ Dale
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

6 REPLIES 6
v-jiascu-msft
Employee
Employee

Hi @SRK_23,

 

 

Could you please mark the proper answers as solutions?

Best Regards,
Dale

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

yes, thanks !! 🙂

AUYS93
Frequent Visitor

Hi @SRK_23,

 

Just a heads up if it still does not work, because mine did not work despite using index to sort. I did a dirty trick by adding space in front of the text, and it does not show on the filter. 

 

OrderedMonth.PNG

 

Tedious, yes, but hey it works 🙂

 

Regards,

 

AYS

v-jiascu-msft
Employee
Employee

Hi @SRK_23,

 

You can add an index column either in the data source or in the Query Editor. Then follow the guide in the snapshot.

Order_of_elements_in_a_filter

 

Best Regards,

Dale

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

Hi @v-jiascu-msft, thanks for the answer, not sure to understand how to do it because it is not a 3 lanes colomun, see below:

 

 

2.PNG

 

 

 

Hi @SRK_23,

 

Seems you don't have an independent table. I would suggest you add a conditional column in the Query Editor. Please refer to the snapshot below. Then apply "Sort by Column". NOTE, all values should have an index. 

Order_of_elements_in_a_filter2

 

Best Regards,

Dale

Community Support Team _ Dale
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.