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

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.

Reply
coliveira2001
New Member

Matrix colum headers out of order

Hi there, I'm trying to sort the column headers below in alphabetical order:

 

coliveira2001_0-1672234352278.png

A, B, C comes from one table that has a relationship with the table where the values come from.

 

Ideas?

 

Thanks.

Thanks.

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @coliveira2001 ,

I created some data:

vyangliumsft_0-1672279248269.png

Here are the steps you can follow:

1. Enter data – create a table.

vyangliumsft_1-1672279248271.png

2. Create a relationship from [Group] of the two tables.

vyangliumsft_2-1672279248272.png

3. Select [Group] – Column tools – Sort by column – [Index]

vyangliumsft_3-1672279248274.png

4. Result:

vyangliumsft_4-1672279248277.png

 

Best Regards,

Liu Yang

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

@v-yangliu-msft, thanks a lot for your response. I've manged to reproduced it the way you propose and it works. But I forgot to mention in the original post (sorry for that) that I have no fields in the rows. I just want the totals. My work around so far was to "hide" the first colum so I don't see the row headers. It displays only the totals in the solution you've presented.

themistoklis
Community Champion
Community Champion

@coliveira2001 

 

Try sorting the A,B,C values from the relevant table in Alphabetical order using Power Query and check again

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.