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 data from Power...
Power Apps
Answered

Export data from PowerApps into Excel or PDF

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a PowerApp that is fed data from a SharePoint list.  Users see their own data (records filtered as assigned to them). 

 

I want for users to be able to click an Export button, and the filtered data is exported to an Excel spreadsheet or a PDF.   

 

I've seen some guidance on the internet that involves creating an HTML file, but at some point, that did not work for me.  If the export in PowerApp doesn't work, an alternative may be to have a button that sends them to the SP list, with parameters and they export from there.  

 

Can you help?  

Categories:
  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @Anonymous ,

    You can produce a PDF document from a HTML file using a Flow and also export a CSV (also with a Flow).

    Here is a video from Shane Young on the PDF and another one on the CSV.

     

    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.

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to export data from canvas app into a Excel file or a PDF file using Export button?

     

    If you want to export data from canvas app into a Excel file or PDF file using Export button, I afraid that there is no way to achieve your needs.

     

    The Export control button in canvas app is used to export a collection data into a compressed file. And this compressed file could only be loaded using the Import control button.

     

    As an alternative solution, you could consider export your data from your canvas app into a CSV file with the help of Power Automate flow. Please check and see if the following video resource could help in your scenario:

    https://www.youtube.com/watch?v=QTbVMu6DIfQ

     

    In addition, I agree with the alternative solution that you mentioned almost. You could consider patch the filtered records back to a SP List using the ForAll function and Patch function as below:

    ForAll(
     RenameColumns(
     Filter('Main List', 'Created By'.Email = User().Email),
     "Title", "Title_1",
     "Column2", "Column2_1",
     "Column3", "Column3_1",
     ...
     ...
     ),
     Patch(
     'Target SP List',
     Defaults('Target SP List'),
     {
     Title: Title_1,
     Column2: Column2_1,
     Column3: Column3_1,
     ...
     ...
     }
     )
    )

     

    Please consider take a try with above solution, then check if the issue is solved.

     

    Best regards,

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard