web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps Dataflow - ...
Power Apps
Unanswered

Power Apps Dataflow - result in wrong column order

(0) ShareShare
ReportReport
Posted on by
I am using a Dataflow in Power Apps to combine a number of imported Excel spreadsheets, using Merge Queries as New to end up with a combined table at the end with columns from each source file, all in the correct order. After publishing and refreshing, instead of my original order, the resulting table has all of the columns arranged in alphabetical order by column name.
 
Is there any way to ensure that the table I am left with at the end of the merge comes out of the Dataflow looking like the version I've meticulously arranged within the query? I can't see why this is happening and it will create so much more work to manually rearrange the columns after extraction to a spreadsheet. 
 
Any help or advice at all is appreciated, thanks in advance.
Categories:
I have the same question (0)
  • Suggested answer
    Ravi-Prajapati Profile Picture
    416 Super User 2025 Season 2 on at

    Yes, Power Apps Dataflows tend to reorder columns alphabetically upon loading data into Dataverse or other destinations. Unfortunately, this is an automatic behavior and not explicitly documented in Microsoft's official resources. However, there are a few ways you can work around this issue to retain your desired column order.

    Workarounds to Maintain Column Order in Dataflows:

    1. Explicitly Reorder Columns at the End of Your Query

    After performing the merge, add a "Reorder Columns" step in Power Query before saving the Dataflow:

    • In Power Query Editor, select Transform → Reorder Columns.
    • Manually drag and arrange the columns into the desired order.
    • Click Close & Apply to ensure this step is explicitly recorded.

    This should help enforce the correct order before publishing.


    2. Use a Custom Column Order in Power Automate (If Exporting)

    If you're exporting the data (e.g., to Excel), Power Automate can be used to fetch the records and arrange the columns manually in the desired order before writing them to an output.


    3. Recreate the Column Order in Dataverse (If Applicable)

    If you are loading data into a Dataverse table, and you control its schema, you can:

    • Manually create the table in Dataverse with the exact column order you need before importing.
    • Map the Dataflow fields correctly to the corresponding Dataverse fields.

    Dataverse enforces its own schema ordering when data is loaded, so this might help.


    4. Use a Power BI Dataflow Instead (If Feasible)

    Power BI Dataflows do not automatically reorder columns in the same way as Power Apps Dataflows. If your workflow allows, you could:

    • Create a Power BI Dataflow.
    • Load the structured data into Dataverse or another destination with your preferred order.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard