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 / 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

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 556

#2
WarrenBelz Profile Picture

WarrenBelz 412 Most Valuable Professional

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard