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
yacatac
Frequent Visitor

Sort column headers in Matrix Direct Query

Try as I might, I can't find how to sort the column headers in a DirectQuery scenario.

 

I want them in descending order, i.e. 2019, 2018, 2017, etc, It's easy enough to sort by rows though...! Smiley Frustrated

 

Sort Columns.jpg

 

Any help will be appreciated!

Thanks

Stuart

5 REPLIES 5
Ischaq
Frequent Visitor

its been 3 years and havent find no solution for this

Anonymous
Not applicable

Dear Yacatac,

 

Have you found a solution to this problem yet? Im experiencing the same business case. 

 

Kind regards,

 

M

v-chuncz-msft
Community Support
Community Support

@yacatac,

 

Add a custom column in Query Editor, then take advantage of Sort using the Sort by Column button.

10000 - [Year]
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks. Appreciate your help. Smiley Happy however I get a message to convert to an Import mode, which I don't want to do because of the amount of data.

 

I find it difficult to understand why it needs to be done that way though, when rows can be sorted so easily.

Anonymous
Not applicable

@yacatacI would also like to know if you figured anything out for this. I'm having the exact same issue 😞

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.