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 Automate / Export Excel to CSV No...
Power Automate
Unanswered

Export Excel to CSV Not Sorted as in the Source Table

(0) ShareShare
ReportReport
Posted on by 11

Hi

 

I've got a Power Automate Flow embedded in a Power BI Report (using the Power Automate Object), it utilises the data in Power BI to create an Excel table (additional calculations are carried out) and then the table is exported to a .csv file, one of the steps in the flow is to sort the table into a specified order, however, when the table is exported to the .csv, the order is all over the shop. Is there a way of retaining the sort order from the table in the .csv export?

 

This is the business end of my flow...

 

robsims99_0-1667485876035.png

 

 

 

Thanks.

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @robsims99 ,

     

    Do you want to export an Excel table to a CSV file, and the rows of result are in a specific order?

     

    Based on your description, I have made a simple test for your reference.

     

    Here is my table:

    vjefferni_0-1667549505512.png

     

    In my test, I want that rows are in a descending order, sort by “num” column.

    vjefferni_1-1667549505519.png

    vjefferni_2-1667549505521.png

     

    Result:

    vjefferni_3-1667549505523.png

     

    Best regards,

  • robsims99 Profile Picture
    11 on at

    Hi,

    Perfect, thank you, works great!!

     

    Cheers,

     

    Rob.

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard