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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

Hi @Anonymous 

 

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
Anonymous
Not applicable

Hi @Anonymous 

 

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.