cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KeesToor
Level: Powered On

Export collection to local stored Excel file

Hi  - 
Been looking around on various threads, but couldn't find anything that specifically solves my issue.

 

Need a way for the users to export a collection to a specific cell-range in an Excel (desktop) workbook. 

I also need to find a solution to open the stored Excel file directly for the app itself. Open it on Excel Online will not do.

 

Been experimenting with Flows to create a CVS stored on SP & the Launch() function, but wasn't able to proceed further. 

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
RichardvdPool
Level: Power Up

Re: Export collection to local stored Excel file

Hi,

 

I've managed to export a collection within PowerApps to both email, a Power BI dataset as well as a Excel file on teams. You can do this using the concat function in conjunction with substitute to create a jsonstring and then passing that string to flow. In flow you can further parse the jsonstring and do whatever you want with the collection.

 

Regards,

 

Richard van der Pool

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Export collection to local stored Excel file

There is no function or feature available to export the collection into an Excel file directly within PowerApps only.

We could save the file into a local file with the SaveData function or Export control, but the file format is restricted to only be available within PowerApps.

 

Wokring with Excel file requires there is a connection built directly under PowerApps, and currently there is no possible workaround that I am aware of to generate an Excel connection when the App is running.

 

So the situation here is, even if the collection could be saved into Excel CSV file through Microsoft Flow integration, there is no way to display/load the data into PowerApps directly.

 

 

Please consider rise this as an idea under PowerApps idea fourm, if you would like to have a better experience when working with Excel in PowerApps

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
RichardvdPool
Level: Power Up

Re: Export collection to local stored Excel file

Hi,

 

I've managed to export a collection within PowerApps to both email, a Power BI dataset as well as a Excel file on teams. You can do this using the concat function in conjunction with substitute to create a jsonstring and then passing that string to flow. In flow you can further parse the jsonstring and do whatever you want with the collection.

 

Regards,

 

Richard van der Pool

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (6,001)