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

Export "data with current layout" gives wrong column order

I have used in the past ‘Summarized data’, which is great to export data.

 

 

 

Now I am using ‘Data with current layout

ovonel_0-1638887540553.png

 

 

And it’s very annoying that it mixes the column order whereas in ‘Summarized data’, the column order is the exact same one as the visual. How can I prevent this issue?

 

7 REPLIES 7
AGx-07_162
Frequent Visitor

Having this same problem (in 2025). The order of columns as they appear in my Matrix is not the order when exported.

 

What I've found is that PBI seems to export in the order that the columns were added. So if I add Column A, then Column C, then Column B and rearrange it to Column A > Column B > Column C the exported order will be A, C, B (as that's how I added them). If I add them initially as Colum A, then Column B, then Column C they will export as expected. This means that, for my Matrix with 11 columns that I can't mistakingly place one in the wrong order (or otherwise change my mind) and simply re-arrange it. I have to order them correctly the first time through or re-do it entirely.

Anonymous
Not applicable

Hi @Anonymous ,
I've got the same problem with "data with current layout" feature that was added recently to public preview. Column order in exported Excel files is different then in web browser. My Power BI reports connect to onprem SSAS tabular model. 

I've figured out that you need to remove at least one column from the table, then add it again to table. Upload the report, and the export works just fine. Try if it works for you as well.

I think it's probably a problem with metadata in Power BI .pbix file.

v-xiaotang
Community Support
Community Support

Hi @Anonymous 

I am not able to reproduce it in my side, could you provide a sample file with this issue for us to find the reason? Thank you.

 

Best Regards,

Community Support Team _Tang

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

parry2k
Super User
Super User

@Anonymous that's really weird. I would recommend opening a support ticket and filing it as a bug. Not sure what else to tell.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

So, for example the PBIX is showing:

ovonel_0-1638891595155.png

 

If I export using "Summarized data", this problem does not occur, if I use "Data with current layout" I do experience the issue, very annoying!

 

I see a different order:

ovonel_1-1638891656036.png

 

 

 

So, if the pbix has col1, col2, col3 displayed, the export in excel will have col3, col1, col2.

 

ps: not sure if it makes a difference but the .pbix consumes from a SSAS cube.

 

 

 

parry2k
Super User
Super User

@Anonymous can you provide more details like what you mean by wrong column orders, I never experienced it. Can you share screenshot?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@Anonymous can you provide more details like what you mean by wrong column orders, I never experienced it. Can you share screenshot?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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