cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.
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

KraskaSteve Frequent Visitor
Frequent Visitor

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
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 177 members 2,056 guests
Please welcome our newest community members: