Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a matrix with 2 columns in the rows section, 1 column in the columns section and 3 columns in the values section. I attempted to sort the matrix in ascending order with the 2nd level row. However, it is still sorted by the 1st level row. Any suggestions on how to resolve this?
Solved! Go to Solution.
Hi @busybee
Go to Transform data, sort "user" column (the 2 rd column in row) on ascending,
then add an index column from 1,
Group rows as below, then expand columns and rename them
since every 1st column in row has many diffrent 2 rd column in row,(one part has many users), i use the first user as index to order part.
then close&&apply, matrix as below:
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I set the matrix to sort by the 2nd column in the rows section in ascending order. However, the matrix is still sorted by the 1st column in the rows section. Is it not possible to sort the matrix by the 2nd column?
Hi @busybee
Go to Transform data, sort "user" column (the 2 rd column in row) on ascending,
then add an index column from 1,
Group rows as below, then expand columns and rename them
since every 1st column in row has many diffrent 2 rd column in row,(one part has many users), i use the first user as index to order part.
then close&&apply, matrix as below:
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 65 | |
| 50 | |
| 45 |