Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Is there a way to implement custom sorting in Power BI, especially when dealing with text values and hierarchical columns in a matrix visualization, since the default sorting options may not provide the desired outcome?
Current Output | Desired Outcome |
1 of 50 | 1 of 50 |
10 of 50 | 2 of 50 |
11 of 50 | 3 of 50 |
2 of 50 | 4 of 50 |
21 of 50 | 5 of 50 |
25 of 50 | 6 of 50 |
3 of 50 | 7 of 50 |
38 of 50 | 8 of 50 |
4 of 50 | 9 of 50 |
40 of 50 | 10 of 50 |
Solved! Go to Solution.
Hi @Omesh,
You can create a calculated column like this:
And then sort your main column by the calculated one:
Best Regards,
Alexander
I already have a table with three columns (as mention). I want to sort all three columns within that table according to specific criteria, and then I need to display the sorted data in a separate table visualization. However, I'm currently encountering an error message that says, "There cannot be more than one value in the 'rank' for the same value in the 'current output.' Please select a different column for sorting or adjust the data in the 'rank' column."
How can I address this issue and sort all three columns simultaneously in a same table?
Hi @Omesh,
Your 'rank' column shouldn't contain duplicates. Probably you should work on creation of a new rank column without duplicates. As an option, you can create an index column in Power Query based on your rank column and link sorting to it.
Hi @Omesh,
You can create a calculated column like this:
And then sort your main column by the calculated one:
Best Regards,
Alexander
Same suggestion.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
8 | |
7 |