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 / 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

 

 

 
DataSheet Table.PNG
People Table.PNG
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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard