cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Sorting The Column Header

Hi, 

So i have this table going on and I want to Sort it by : 
-New Car
-In Warr
-Out Warr

-Aged Car

-Fence Sitter

 


The Age Type Column I couldn't see in my Query Editor as this is a "New column" that I created it in Power BI desktop.
I need help. Not sure on how to go further. 

1 ACCEPTED SOLUTION

Accepted Solutions
jborro Member
Member

Re: Sorting The Column Header

Hi @Ellensantiago1 

 

This is a screenshot of a visual, not of a table in PQ Editor, right?

There are not many reasons to re-order columns in the PQ Editor as it does not flow through to the Designer.

 

If this is a visual then:

1. Create a separate ranking table with two columns: "Headers" and "Rank". The rank would reflect the order you want the headers to appear on the visual.

2. Make a relation to this table from your original table to link headers to, what I guess is, one of your measures/columns.

3. Use the headers from this new table as headers for the table visual.

4. In this new table (in Designer) select the "Header" column and in the ribbon Modelling->Sort by Coumn select "Rank" instead of "Header".

 

PBI.png

 

This should re-order the table visual columns to what you want.

 

Kind regards,

JB

View solution in original post

1 REPLY 1
jborro Member
Member

Re: Sorting The Column Header

Hi @Ellensantiago1 

 

This is a screenshot of a visual, not of a table in PQ Editor, right?

There are not many reasons to re-order columns in the PQ Editor as it does not flow through to the Designer.

 

If this is a visual then:

1. Create a separate ranking table with two columns: "Headers" and "Rank". The rank would reflect the order you want the headers to appear on the visual.

2. Make a relation to this table from your original table to link headers to, what I guess is, one of your measures/columns.

3. Use the headers from this new table as headers for the table visual.

4. In this new table (in Designer) select the "Header" column and in the ribbon Modelling->Sort by Coumn select "Rank" instead of "Header".

 

PBI.png

 

This should re-order the table visual columns to what you want.

 

Kind regards,

JB

View solution in original post

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,503)