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 / Retreive a value of a ...
Power Apps
Answered

Retreive a value of a column after comparing two sharepoint lists

(0) ShareShare
ReportReport
Posted on by 11

Hi to all.

 

I have the following scenario

-One sharepoint list named "rol" with a column "On call" of type:Person

-One sharepoint list named "directory" with a column "name" of type:Person and a column "Phone" of type:number

-One powerapp with a gallery showing the results of "roll" list

-Both lists are added as data connectors.

 

I want to compare "on call" and "name", if they are equals then show the value of "Phone" for that particular match in a filed inside the same gallery.

 

Is this possible?

Thanks in advance

Categories:
  • Verified answer
    AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    So I think I understand what you are looking to do. Let's say you have a gallery for the datasource rol and you want to add a label inside it with the phone number from directory. You would put on the text property of the label in the gallery:

     

    LookUp(directory,name.Email = ThisItem.'On call'.Email).Phone


    this would show the phone number of the person matching the same in directory as emails should be unique.

     

    let me know if this is helpful

     

  • audemj23 Profile Picture
    11 on at

    Worked perfectly.
    I learned in the hard way that powerapps is case sensitive!

    thanks a lot

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Glad I was able to help 🙂

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard