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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

How to Arrange Column Headers in Table Matrix in a certain order

I have a dynamic table setup here, problem is I want the column headers to be in a specific order. This is a production schedule for job orders that go in a specific order through our facility. 

 

I want to arrange the columns in this order below which is the flow.. The raw data uses department ID numbers that refrences a lookup table with the name and Id's.

 

Job - Fabrication - Sub Assembly - Floors - Sides - Tailgates - Speciatly - Boxing - Rig Out - Paint/Wash - QC - Final Assembly

 

JClaborn_1-1599092809642.png

 

 

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , Create a new column with department sequences and use that as a sort column

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

Sort Month.png

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

@amitchandak @Greg_Deckler @pranit828 

 

I know how to create a column, but how do I create a department sequence?

 

The raw data looks like this..

 

JClaborn_0-1599148848210.png

 

JClaborn_1-1599148869733.png

 

JClaborn_3-1599148911716.png

 

 

 

 

Anonymous
Not applicable

I have tried all 3 responses and cant get it to sort properly.

Greg_Deckler
Super User
Super User

@Anonymous - There is this method - https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/963588#M428



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
pranit828
Community Champion
Community Champion

HI @Anonymous 

Create another table with two columns as Seq and Dept.

In the Seq column number it as per your requirement.

Join these two tables on 1:many relationship and use the Seq column to arrange the columns in the report.





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.