Create a Power Automate flow
Use the PowerApps (V2) trigger.
Add inputs if you need to pass data from Power Apps.
Get the CSV data
Use Get file content if the CSV is stored in SharePoint or OneDrive location or retrieve data from your data source.
Based on sharepoint list or Datvaerse use action
List Rows if required add filter
Select to restrict columns
Use Create file to create a new csv file with a unique name (for example, Report_20260607.xlsx).
Using Create file action
Return the file link
Use Create sharing link (OneDrive or SharePoint).
Use Respond to a PowerApp or flow to send the download URL back to Power Apps.
Call the flow from a button in Power Apps
Add a button and set its OnSelect property:
Set(varFileLink, ExportExcelFlow.Run().filelink);
Launch(varFileLink);
If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
Regards,
Riyaz