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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Super User
Super User

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

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

tamerj1
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors