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 / LookUp - Using the ID ...
Power Apps
Answered

LookUp - Using the ID to find the name

(0) ShareShare
ReportReport
Posted on by 126

I have two SharePoint lists, People & Departments.

 

I have a form that uses the People list as its data source.

 

I need to use the Department ID column in the People list to LookUp the Department ID column in the Departments list and return the Department Name.

 

I thought it would look something like this, but I can't seem to work it out.

aah_0-1669125587685.png

 

Any help would be great, thanks.

Categories:
I have the same question (0)
  • StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    You have a "," instead of a dot i believe?

     

    Can you show me an image of your datasource and ill see if i can format a lookup for you 😃

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @aah

    LookUp(Department, ID=ThisItem.'Department ID').'Department Name' 

  • BideyYusuf Profile Picture
    387 on at

    Hi, @aah 

    LookUp(People,'Department ID'=Control.'Department ID').'Department Name'

     

    This should work. 

    Control could be ..... a datacard control, or even ThisItem.'Department ID'..

     

     

     Hopefully this gives you a clue.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @BideyYusuf & @StretchFredrik

    @aah  's form is using the People datasource and trying to get a department name from a lookup table. 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard