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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Exporting collection a...
Power Apps
Unanswered

Exporting collection and appending to an existing Excel file

(0) ShareShare
ReportReport
Posted on by 124

Is it possible to export collection data from PowerApps and append it to a specific sheet in existing CSV file using Power Automate flow?

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Yes, it should be possible.  But its not going to be easy.  Essentially you'll need to pass the collection data to the flow.  The flow will retrieve the contents of the existing CSV file.  You'll need to make sure the collection columns are the in the same order as the ones in the CSV.  If they aren't you'll need to do a Data Select to get the right columns in the right order.  Then create a CSV from the the collection.  That will now be in the right format to append to the other CSV string from the existing file.  But you'll need to remove the first line since that has the headers in it.  After that just concatenate the two strings together and you'll have a new CSV.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard