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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
Microsoft Employee
Microsoft 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
Advocate I
Advocate I

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
Microsoft Employee
Microsoft 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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