Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello guys,
The rows in my matrix table are sorted in descending order according to the ‘Rating’ column. The columns should also be sorted in this order from left to right. (i.e. the x's go from top left to bottom right)
Please find attached a screenshot of my curret matrix table and my Excel file.
Y axis = column A, x axis = column C
Thank you very much.
Solved! Go to Solution.
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, @Breitmaulpaul
Thanks for reaching out to the Microsoft fabric community forum.
Regarding the issue you raised, my solution is as follows:
1First, you can create the following calculation column:
index =
VAR cp = 'Table'[Player]
RETURN
RANKX (
FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Player] = cp ),
[vsPlayerRating],
,
DESC
)
2.Next, sort the vsplayer columns according to the index columns:
3.Here's my final result, which I hope meets your requirements.
Here is the relevant documentation:
Sort one column by another column in Power BI - Power BI | Microsoft Learn
Please find the attached pbix relevant to the case.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, @Breitmaulpaul
Thanks for reaching out to the Microsoft fabric community forum.
Regarding the issue you raised, my solution is as follows:
1First, you can create the following calculation column:
index =
VAR cp = 'Table'[Player]
RETURN
RANKX (
FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Player] = cp ),
[vsPlayerRating],
,
DESC
)
2.Next, sort the vsplayer columns according to the index columns:
3.Here's my final result, which I hope meets your requirements.
Here is the relevant documentation:
Sort one column by another column in Power BI - Power BI | Microsoft Learn
Please find the attached pbix relevant to the case.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Most likely you need to unpivot your data first.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
38 | |
27 | |
26 |
User | Count |
---|---|
97 | |
96 | |
59 | |
44 | |
40 |