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 / Gallery in power apps ...
Power Apps
Answered

Gallery in power apps and sharepoint lists

(0) ShareShare
ReportReport
Posted on by 642

Hello community experts


There is an urgent requirement where I have to get the data from two different lists and show in one gallery

 

My list 1 has two person fields say P1 and P2 and one status field say status1

 

My list 2 also has two person fields say P3 and P4 and one status field say status2


And both the list wil have options such as approved and pending in their status 1 and status 2 field which is of type single line of text


I want to combine both the lists data and show in one gallery

 

For example
Suppose My list 1 has user named
user1 and user2
Let's say my list two has user names user3

My gallery should show user1, user 2 and user 3

 

How do i achieve this requirement

Please guide it's very urgent

Best regards!


Thank you

Categories:
I have the same question (0)
  • Vijay Tailor Profile Picture
    2,961 on at

     

     

    Hi @Sumaira ,

    if you have the same column name in both List then you can use like below as Rows Basis.

    VijayTailor_0-1603635454613.png

     



    But if you want to  Join Like User1, User2(Source1) and User3, User4(Source 2).

    then you can use a filter with Add Column but need some unique ID to FIlter Data.

    another way is you can join both lists based on Some Unique ID. Like below  - 

     

    ClearCollect( 
     TestColl, 
     AddColumns( 
     ChildDataColl, 
     "Status", 
     LookUp( 
     MasterDataColl, 
     ID = ChildDataColl[@MasterID] 
     ) 
     ) 
    ) ;

     

    Thanks,
    Vijay

    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay

     

  • Sumaira Profile Picture
    642 on at

    Hi @VijayTailor 

     

    Thanks for reply 

     

    I don't want to join the 2 list based on ids 

     

    I want to place list 2 below list 1 in single gallery as shown in example below

     

    Example 

    List 1 has:

    User 1 

    User 2

     

    List 2 has :

    User3 

    User 4

     

     

    New gallery 

    Row1(item1): user1

    Row2(item2): user2

    Row3(item3): user3

    Row4(item4): user4

     

     

    Please guide 

    Best regards!

  • Verified answer
    Vijay Tailor Profile Picture
    2,961 on at

    Hi @Sumaira ,

    You can use like below for the scenario you mentioned in the below reply.

     

    ClearCollect(S1,Table({User:"User1"},{User:"User2"}));
    ClearCollect(S2,Table({User:"User3"},{User:"User4"}));
    ClearCollect(BothS,S1,S2);

     

    VijayTailor_0-1603639696472.png

    Thanks,
    Vijay



  • Sumaira Profile Picture
    642 on at

    @VijayTailor Thanks a lot it was very helpful

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard