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

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 739 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 268

Last 30 days Overall leaderboard