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 Excel Feature
Power Apps
Answered

Export to Excel Feature

(0) ShareShare
ReportReport
Posted on by 14

I am building a Power Apps Canvas App connected to a SharePoint list.

In the app, users can filter data using comboboxes.

I want to add an “Export to Excel” button so that:

  • Only the data matching the user’s search/filter is exported
  • The output is an Excel (.xlsx) file or (.csv) file.
  • The file contains actual rows (not just headers)

My current design is:

  • Power Apps button triggers a Power Automate flow
  • The flow reads data from the SharePoint list
  • The flow creates an Excel file with the filtered data

The issue I am facing:

  • The flow runs successfully
  • The Excel file is created
  • But no data rows are written (only headers), or filtering does not apply when triggered from Power Apps

I am looking for:

  • A recommended and reliable pattern to export filtered SharePoint data to Excel from Power Apps or maybe a flow to export data from gallery in power apps to excel.
  • Best practices on where filtering logic should live (Power Apps vs Power Automate)
  • Confirmation of whether this scenario is fully supported and how it should be implemented correctly.
Screenshot 2026-01-06 143000.png
Screenshot 2026-01-06 143245.png
Categories:
I have the same question (0)
  • Verified answer
    RobElliott Profile Picture
    10,428 Super User 2026 Season 1 on at
    We do this for many apps at my company with a PCF component built several years ago by Yash Agarwal and available from github at https://github.com/yashag2255/exportToExcel
     
    There is a video from April Dunnam at https://www.youtube.com/watch?v=xqUBFJfNvyM which explains how to install it.

    One of the good things about this component is that it respects filtering and only the filtered records are exported to the CSV file.
     
     
    Clicking the Export button launches a flow. The OnSelect for this example: 

     
    The flow looks like this:

     
    It all works very well, but one of the minor irritations is that you can't specify the order of the columns in the exported spreadsheet, it puts them into alphabetical order and I've never found a way round that.

    Rob
    Los Gallardos
    Principal Consultant, Power Platform, WSP Global (and classic 1967 Morris Traveller driver)
  • Verified answer
    PowerDeveloperTP Profile Picture
    442 on at
    Hello,
     
    Please check this blog for detailed export to excel functionality from PowerApps. Hope this helps. Thank you.
     
     Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
    🏷️ Please tag me @  if you still have any queries related to the solution or issue persists.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard