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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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