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.
Hi all,
I need some help with sorting the categorical(text) column. is there any way to sort the value in one column in order?
Less than 5,
6 - 10,
11 - 20
...
over 500
I have tried switch(true() ....) to make a new column and sort by the new column, it's not working.
Many thanks!!
Solved! Go to Solution.
HI @Anonymous ,
I'm assuming that the groups you have here represent a column on your data, correct?
Create a table with the following data:
Category | Sort |
Less than 5 | 1 |
6-10 | 2 |
11-20 | 3 |
21-50 | 4 |
51-100 | 5 |
101-500 | 6 |
Over 500 | 7 |
Use the sort column to sort the category and relate this table with the column on your data table.
Then just use this table on your graph.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHI @Anonymous ,
I'm assuming that the groups you have here represent a column on your data, correct?
Create a table with the following data:
Category | Sort |
Less than 5 | 1 |
6-10 | 2 |
11-20 | 3 |
21-50 | 4 |
51-100 | 5 |
101-500 | 6 |
Over 500 | 7 |
Use the sort column to sort the category and relate this table with the column on your data table.
Then just use this table on your graph.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |