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.
I've uploaded a table from Sharepoint and i have a column with multiple values.
I used extract valuses by semicolon to see the actual values - but the values are not ordered.
The problem I'm having is that PowerBI see 2;5 and 5;2, for example, as different values.
Is there a way to sore the column values so 5;2 will be transformed to 2;5 also?
Solved! Go to Solution.
Hi @morand,
You can refer to below formula to sort the items which in one cell.
Power query formula:
#"Added Custom" = Table.AddColumn(#"Changed Type", "Sorted", each Text.Combine(List.Sort(Text.Split(Text.From([Value]), ";"),Order.Ascending),";"))
Result:
Regards,
Xiaoxin Sheng
Hi @morand,
You can refer to below formula to sort the items which in one cell.
Power query formula:
#"Added Custom" = Table.AddColumn(#"Changed Type", "Sorted", each Text.Combine(List.Sort(Text.Split(Text.From([Value]), ";"),Order.Ascending),";"))
Result:
Regards,
Xiaoxin Sheng
Covering 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 |
---|---|
105 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |