cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yacatac Frequent Visitor
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

4 REPLIES 4
Community Support Team
Community Support Team

Re: Sort column headers in Matrix Direct Query

@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.
Highlighted
yacatac Frequent Visitor
Frequent Visitor

Re: Sort column headers in Matrix Direct Query

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.

Michielw Frequent Visitor
Frequent Visitor

Re: Sort column headers in Matrix Direct Query

Dear Yacatac,

 

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

 

Kind regards,

 

M

Anonymous
Not applicable

Re: Sort column headers in Matrix Direct Query

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

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 270 members 2,751 guests
Please welcome our newest community members: