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 / How to make a gallery ...
Power Apps
Answered

How to make a gallery obtaining data from two Sharepoint lists

(0) ShareShare
ReportReport
Posted on by 55

How to make a gallery obtaining data from two Sharepoint lists in the same gallery. All this with its view and edit forms.

 

For example:

List01

List02

Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @Rob_G ,

    That depends on what relationship the tables have. You need a "common key" (which needs to be 1:1) to lookup the related value in List02 and display it beside the value in List 01 in the gallery. Does this apply to your lists?

  • Rob_G Profile Picture
    55 on at

    Hi @WarrenBelz 

    Yes, this name colums as:

    List01: ID1

    List02: IDped1

  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Thank2 @Rob_G ,

    The syntax is below - note you do not have to call the added column the same name as it is in List2

    AddColumns(
     List01,
     "YourAddedName1",
     Lookup(
     List02,
     IDPed1=ID1,
     ).YourList2Name1,
     "YourAddedName2",
     Lookup(
     List02,
     IDPed1=ID1,
     ).YourList2Name2
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @Rob_G ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard