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 / Store all gallery reco...
Power Apps
Unanswered

Store all gallery records in collection

(0) ShareShare
ReportReport
Posted on by 76

Hello everyone,

 

I have very crucial task, please anyone help me.

i have download excel report from canvas app on button click.

DTtechies_0-1678793438351.png

i write above code to download file,

 

 in my gallery have some lookup record, but i am not able to fetch lookup record on flow.

 

DTtechies_1-1678793642524.png

in my flow target value, i am getting below record, but didnt received any lookup record.

 

{
 "Compose_Inputs": 
 "[{\"dt_application_request_number\":\"Request-00000234\"
 ,\"dt_application_request_status\":121920001,
 \"dt_application_requestid\":\"xxxxxxx......\"
 ,\"dt_day\":1,
 \"dt_description\":\"Test1\"
 ,\"dt_end_date\":\"2023-02-28T18:30:00.000Z\",
 \"dt_start_date\":\"2023-02-28T18:30:00.000Z\"}
 
 
 ,{\"dt_application_request_number\":\"Request-00000235\"
 ,\"dt_application_request_status\":121920001,
 \"dt_application_requestid\":\"xxxxx.........\"
 ,\"dt_day\":1,
 \"dt_description\":\"Test2\"
 ,\"dt_end_date\":\"2023-03-01T18:30:00.000Z\"
 ,\"dt_start_date\":\"2023-03-01T18:30:00.000Z\"}
 
 
 ,{\"dt_application_request_number\":\"Request-00000236\"
 ,\"dt_application_request_status\":121920001
 ,\"dt_application_requestid\":\"xxxxxx........\"
 ,\"dt_day\":0.5,
 \"dt_description\":\"test3\"
 ,\"dt_end_date\":\"2023-03-22T18:30:00.000Z\"
 ,\"dt_start_date\":\"2023-03-22T18:30:00.000Z\"}]"
}

 

 

DTtechies_2-1678793842929.png

1 and 2 number is my lookup record and i want to fetch this record in my flow.

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

    Hello @DTtechies ,

     

    You can use "AddColumns" to return a collection with new columns.

     

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-table-shaping

     

    Set(...,
     AddColumns(
     gallery,
     "newColumn1",
     LookUp(...),
     "newColumn2",
     LookUp(...)
     )
    )

     

    Hope this was helpful to you.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard