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 / Display name instead o...
Power Apps
Answered

Display name instead of ids for all the rows in a gallery using Lookup function

(0) ShareShare
ReportReport
Posted on by 93

Hi,

 

I have two tables and have connected both the tables to my application.

Table 1: Datasheet

Table 2: People

 

As you see in the image attached, I want to display the names from People table based on the ids from Datasheet table using Lookup.

The relation for the same is People Id in Datasheet is the foreign key and People Id in People table is the primary key.

 

Thanks in advance

 

 

 
Categories:
I have the same question (0)
  • JayMagness Profile Picture
    1,663 on at

    Hi,

     

    I am a little confused but feel free to contact me jay@research-nest.com and we can setup a teams meeting and I can try to help you.

     

    Jay

  • eka24 Profile Picture
    20,923 on at

    Try:

    LookUp(People,ID=Textbox1.Text,NameColumn)

     

    Where Textbox1 hold the I'd on your form

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

    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-siky-msft Profile Picture
    on at

    Hi @rsanya ,

     

    Please try this formula in your Datasheet gallery

    LookUp(People, PeopleId= ThisItem.PeopleId).Name

    Hope this helps.

    Sik

  • rsanya Profile Picture
    93 on at
    Thanks. This resolved my query.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard