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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
VRobbins
Frequent Visitor

Power BI Transform Data column order changes when loaded

My Power BI report imports data from an Excel workbook and during the transform data my columns are in the order I like them.  When I save and load, Power BI re-orders my columns and moves my first column (reference) toward the right near the end.  How can I get my columns to stay in the order I like instead of moving them all over the place?

1 ACCEPTED SOLUTION
4 REPLIES 4
vojtechsima
Super User
Super User

Hi, @VRobbins ,
That's very strange, you can try to enforce the order by first dragging one column to certain position, then new step will occur and in that, you can adjust the position as you want and then try to load it:

vojtechsima_0-1667416333085.png

vojtechsima_1-1667416339492.png

 

 

 

= Table.ReorderColumns(#"Changed Type",{"A", "B", "C", "D"})

 

 
 

Already tried that and when I save and load the table is all rearranged back like PBI arranged before. 😞

Thank you for posting. Good resource. First scenario won't work because it puts the desired column at the end and I need it to be first. Second scenario I received a message that it will disconnect from all connections in my report and I have too much time invested already for that to happen.  Third scenario looks like it may work, but my table has over 40 columns so I will try when I have time to manually list them all.

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors