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 / Export to CSV -- new f...
Power Apps
Answered

Export to CSV -- new file for every export

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello All,

 

Currently, I am able to export the gallery contents to a .csv file without any issues (using Flow). I have hardcoded the  OneDrive path for the file creation. The file name is CSV.

I have the following requirements...

 

1) For each export, there should be a new file created

 

2) I should be able to parameterize the OneDrive path, so that, upon publishing my app to others, the export functionality should create the files for  them in their respective One Drive folders.

 

Kindly advise if the above scenarios could be handled. Any inputs/suggestions are highly appreciated.

 

Thank you.

 

Regards,

Mahesh

CSV Export_11Mar.png
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,445 Most Valuable Professional on at

    Hi @Anonymous ,

    Simply use "Ask in Power Apps for all parameters.

    WarrenBelz_0-1615444906779.png

    Start your file path "\folder1\folder2\ . . ." If the folder exists, it will be used otherwise it will be created. You will have to work out your file naming protocols for the new file each time - I generally use 

    Text(Now(),"hhmmss")

    on the end of the file name.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz ,

    Thanks for your response !

    I have been able to sort out the file naming issue. Now for every export, a new file is now getting generated.

    I am working on the generic folder setup. Once that is done, I should be able to accept your response as a solution.

    Please give me some time for the same.

     

    Regards,

    Mahesh

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard