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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
leandro_santos
Regular Visitor

Excel's Get Data From Power BI losing column order when building the table

The columns are ordered in Power Query (note the forth column "MÊS DATA"):

leandro_santos_0-1708602719341.png

 

The preview in Excel looks good ("MÊS DATA" is still the forth column):

leandro_santos_1-1708602773657.png

 

After hitting "Insert Table", I get this:

leandro_santos_2-1708602836235.png

The "MÊS DATA" column jumped to AD instead of D.

It is not the only column who moved around, I just used it as an example.

 

Any idea what's the problem here?

 

1 REPLY 1
Anonymous
Not applicable

Hi @leandro_santos ,
According to your description and the screenshot provided, you are getting the data from or to the power bi dataset in Excel, I checked the official documentation on this and it mentions that it may not be possible to preserve the names and order of the columns in the Power BI visual object when exporting the data from the power bi dataset to Excel.
Regarding an alternative to this issue, you can manually adjust the column order after inserting the table in Excel. While this is not an automated solution, it allows you to quickly reorganize columns as needed for immediate analysis. You can also use Power Query in Excel to reimport data from Power BI, ensuring that you explicitly set the column order in the Power Query editor before loading the column order into the Excel worksheet. This method provides more control over the data transformation process, including maintaining the column order.
To get more details about getting data from power bi in excel, you can check this document
Create Excel workbooks with refreshable Power BI data - Power BI | Microsoft Learn

 

Best regards,

Albert He

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors