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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.