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 / How to use labels to s...
Power Apps
Unanswered

How to use labels to show data in gallery from multiple SharePoint list?

(0) ShareShare
ReportReport
Posted on by 34

Hi, I've build a few SharePoint lists I'm having a problem, I don't know how to fix it.

In a gallery I need to display data from different SharePoint lists, the two lists in the picture.

 

I'd like to show salecode from tbl_insurance in LB1 and show salename in LB2 in the same Gallery.

 

Any help would be greatly appreciated.

 

praeclarus_0-1619170156350.png

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @praeclarus ,

    The second label would have the Text

    LookUp(
     YourSecondListName,
     salecode=ThisItem.salecode
    ).salename

     

    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.

  • praeclarus Profile Picture
    34 on at

    I connect the gallery with table : tbl_mas_salegents and type the coding in label Text follow this picture below but the data is not show. I’m not sure what’s my mistake. 🥺 7DF286E4-8241-4592-A959-94EB9C9DA07C.jpeg

     

  • Verified answer
    WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @praeclarus ,

    According to the list structure you posted, if the salecode in the second list matches the one in the current record, that code will the field specified from the second list. I see you have card_number rather than salename. Put another label in the gallery with ThisItem.salecode and then look at the value there, go to your second list, look for the same value and see if there is a card_number on the record.

     

    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.

  • praeclarus Profile Picture
    34 on at

    It's work! Thank you for share your knowledge and kindness.😄

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard