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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lornafnb
Helper I
Helper I

Sorting entries in a Filter

hi All,

 

I am grouping ranges of Ages together..like

if age between 0 and 10 - then 0-10 as age_group,

if age between 11 and 20 - then 11-20 as age_group.

 

When I use "age_group" as a filter the values arent ordered. I would like 0-10, to appear first in the list, then 11-20 and so forth.

 

How can I do this?

I'm thinking I could potentially add an extra field in my query with a numberic value, like 1 or 2 for the 2 lines above, and then sort by that value - how would I implement that?

 

Thanks

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion
1 REPLY 1
SpartaBI
Community Champion
Community Champion

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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