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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.