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

Export data from PowerApps into Excel or PDF

(1) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,084 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
    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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard