Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Matrix visual with calculation group: sort columns by measure first and by calculation item second

Hello!

I have a matrix visual with a calculation groups and several measures like this:

snraedsoeia_0-1717664051766.png

However, I would like to have the columns sorted by measure first, and then by calculation item, like this:

snraedsoeia_1-1717664095270.png

Is this possible, and if so, how? I don't need tips on how to disguise that it's two visuals like in the mock-up, I would prefer to indeed do it in one matrix.

Thanks for your input!

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Based on the description, try to create the new column to sort the measure and sort by column.

You can view the following links to learn more information.

Solved: Sort By Column changes the Measure results - Microsoft Fabric Community

https://blog.crossjoin.co.uk/2015/12/15/power-bi-desktop-sort-by-column-and-dax-calculations-that-use-the-all-function/

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thank you for your reply, but based on my understanding of the links provided, this is not what I am looking for. I know how to change the order of the measures or the calculation items. I want to switch around the hierarchy between these two ordering levels.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors