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 / Exporting a Gallery in...
Power Apps
Answered

Exporting a Gallery into Excel

(0) ShareShare
ReportReport
Posted on by 198

Hey All,

Previously I was trying to export the items in a data table into Excel and kept running into trouble so I'm trying to do the same thing but with a Gallery this time. However, I'm not sure what I'm overlooking.

This code is on the "On Select" icon I'm using

Gallery_ExportExcel.png

And the rest below is what's happening in my flow:

Gallery_ExportExcel5.pngGallery_ExportExcel4.pngGallery_ExportExcel2.png

 

Gallery_ExportExcel3.png

 

Any help would be greatly appreciated.

Categories:
I have the same question (0)
  • WiZey Profile Picture
    3,023 Moderator on at

    Hello @Micaiah ,

     

    How do you read your JSON data in Power Automate? Do you use this action?

     

    WiZey_0-1718980523176.png

     

     

     

  • Micaiah Profile Picture
    198 on at

    Hi @WiZey ,

    I saw an example and suggestion that using  json(triggerBody()[‘text’]) could work since it makes the JSON being parsed dynamic, so I was trying to do it that way.

  • Micaiah Profile Picture
    198 on at

    Hello, @WiZey @iAm_ManCat 

     

    I'm trying to generate a JSON sample to use in the Parse JSON step in my flow since I can't get the dynamic way to work. I tried using the example in this link as a reference: https://www.matthewdevaney.com/power-apps-export-to-excel-as-a-csv-file/

    but my sample keeps showing up blank. Also double quotes no longer work for column names in the ShowColumns function and I've changed the code to reflect that but I still don't know what the issue is.

     

    JSONSample.png

    Any suggestions?

  • Verified answer
    Micaiah Profile Picture
    198 on at

    I figured out what the problem was and it was linked to my collection(it was empty because I forgot to run the code in preview mode after writing it). The initial suggestion I made about json(dynamic content-name of text input from powerapps trigger) worked once my collection was populated.

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 765 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 272

Last 30 days Overall leaderboard