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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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