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 large data in C...
Power Apps
Unanswered

Export large data in Canvas App

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All , 

 

My data source has 7K records and we are showing all these records in Gallery . 

As per client requirement we need to export this data to CSV from gallery .What is the best way to do this. 

Currently we are following below code to achieve this functionality but due to huge data browser is getting stuck 

 

Download(Exportdatatoexcel_Dev.Run(JSON(Export_Collection,JSONFormat.IncludeBinaryData)).csv_link)

 

Please advise on this .

 

Regards,

Mahesh

 

 

 

Categories:
I have the same question (0)
  • AsanKani Profile Picture
    710 on at

    Hi, @Anonymous 

    Large data set means PowerApps little hang. If you need without any struggle you may do additional steps... You can Export excel thru Power Automate..

    Refer https://youtu.be/tQCBWMR7T64 Youtube video for more information

    Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @AsanKani 

    Or export directly from the data source. That would be quickest if available.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @AsanKani ,

     

    Currently we are following the same process to export the data calling power automate from powerapp's button by passing Collection(JSON) as parameter.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Drrickryp  Business user's will not agree for this approach

  • WarrenBelz Profile Picture
    155,752 Most Valuable Professional on at

    Hi @Anonymous ,

    I email the file back to the user - just send User().Email as an additional parameter in the Flow and email from there.

     

    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.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz ,

     

    Thanks for the reply ,We have considered that is also one of the option .

    But MS flow it self is not trigerring

     

    Regards,

    Mahesh

  • WarrenBelz Profile Picture
    155,752 Most Valuable Professional on at

    Hi @Anonymous ,

    This may seem old school, but I do not use JSON - just Concat with commas and Char(10) - always seems to work although I have not sent anything quite that big. Flow is below - I hope it helps

    WarrenBelz_0-1650779240782.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz ,

     

    Thanks for the advise .

    I have implemented above approach but we are getting another Issue . One of the column contains Rich Text where user provided text with "," .

    This is causing the problems in export to excel file .

     

    Request your advise on the above use case.

     

    Regards,

    Mahesh

  • WarrenBelz Profile Picture
    155,752 Most Valuable Professional on at

    Hi @Anonymous ,

    Just use Substitute on the field and put something else (as space) in there. I do this as standard on CSV files that contain any free-form text.

     

    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.

    Visit my blog Practical Power Apps

     

     

  • WarrenBelz Profile Picture
    155,752 Most Valuable Professional on at

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

    Visit my blog Practical Power Apps

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard