March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I need to order these :
0-5 = 1
6-20 = 2
21-50 = 3
50> = 4
I have a calculated column called 'Age Profile' which outputs 0-5 etc....
I would be really grateful if someone could help me done this.
Hi @johnbradbury,
Could you please tell me if you get the solution?
Best Regards,
Dale
Not sure if this is the best way to go about it, but I would:
1. Create a conditional column in query editor that generates a new column that states the order you want
2. Highlight the Age Profile column in the Fields tab , click on modeling tab, click on sort by column, then select the order column you created in step 1.
Please let me know if you need more information.
Hi @johnbradbury,
@Kristan showed the solution. Please give it a try.
Best Regards,
Dale
I am not sure if there is a way to sort the Legends.
But Is it possible for you to make small changes in your age group values such as follows
6-20 to 06-20
50> to Above 50
This you need to do because since this column is of type text, the sorting is done by checking character by character. So it is essential that you make these changes for it to work
This will fix this sort issue
Regards,
Thejeswar
I'm sure I've seen this done, I just can't find it.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |