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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Sort by repeating values

Hi Experts

 

I have repearting values in a column and i want to sort the data by increasing week bands... see sample data below

0 - 6 Week
0 - 1 Week
7 - 12 Week
106 - 107 Week
107 - 108 Week
108 - 109 Week
109 - 110 Week
110 - 111 Week
111 - 112 Week
122 - 123 Week
13 - 17 Week
13 - 14 Week
14 - 15 Week
150 - 151 Week
15 - 16 Week
1 ACCEPTED SOLUTION
tamerj1
Community Champion
Community Champion

Hi @Anonymous 
You can do the following https://we.tl/t-RB37p59aXq

1.png2.png3.png4.png5.png6.png7.png8.png

View solution in original post

3 REPLIES 3
tamerj1
Community Champion
Community Champion

Hi @Anonymous 
You can do the following https://we.tl/t-RB37p59aXq

1.png2.png3.png4.png5.png6.png7.png8.png

tamerj1
Community Champion
Community Champion

Hi @Anonymous 
Would you please advise the expected result you're looking for?

Anonymous
Not applicable

Hi - I was expecting something along the lines of

Sort_Bands = IF('reporting Diagnostics_Weekly_Waiting_MDS' = "0 - 1 Week", 0,
IF('reporting Diagnostics_Weekly_Waiting_MDS' = "1 - 2 Week", 1,
IF('reporting Diagnostics_Weekly_Waiting_MDS' = "2 - 3 Week", 2)))

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.