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 / Relationship of lists
Power Apps
Answered

Relationship of lists

(0) ShareShare
ReportReport
Posted on by 98

Guys, how do I list information from 2 Sharepoint lists in Power apps. The two lists have 2 fields in common with the same name and the same information

Ex.:

List_1 - Note Number field

List_2 - Note number field

I need to list these 2 columns in the query to the order, but I am not able to make the two come together.

Do I have to make any relationship between them on the sharepoint?

This information comes straight from a sql connection


Can someone help me?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @beatrizmoura26 ,

    Depending on what you are trying to achieve, you can use a LookUp or a Filter. As an example if you had list 1 items in a gallery and want to display the matching List 2 item in a form, the Item of the Form would be

    Lookup(
     List2,
     NoteNumber=YourGalleryName.Selected.NoteNumber
    )

     

    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.

  • eka24 Profile Picture
    20,925 on at

    Can you sample tables with those columns and how you want the result.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @beatrizmoura26 ,

    Could you describe more clearly about the feather that you want? If you could describe with detailed data, it will help me understand your issue.

    Based on your description, I could not quite understand this  "I need to list these 2 columns in the query to the order".

    Could you tell me whether Note Number field in list1 and in list2 is the same data type?
    What data comes from sql, what data comes from sharepoint list?

    If you want to merge two lists together based on Note Number field, you could consider use AddColumns function.

    For example:

    ClearCollect(mergetable,
    AddColumns(list1,
    "field1 in list2",LookUp(list2,'Note number'='Note Number',field1name),
    "field2 in list2",LookUp(list2,'Note number'='Note Number',field2name),....
    ))

    Then the mergetable will both have data of list1 and list2. You could filter on this collection.

     

     

    Best regards,

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

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard