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 / Lookup Display Change ...
Power Apps
Unanswered

Lookup Display Change from ID to Name

(0) ShareShare
ReportReport
Posted on by

I am in the process of creating an app using Power Apps from our data in Azure SQL server. The goal of this particular app is to add/update company equipment (Semi's) and be able to assign a driver to the equipment using a lookup feature. Currently, the app works and can do its purpose, but when assigning a driver to the equipment, you must type in the record id (primary key) and not the driver's name. Is there a way to make it so users can type in the driver's name instead of the record id?

 

I have 2 tables

1. Equipment ([dbo].[Equipment])

   a. eqptid (Primary Key)

   b. hrid (Foreign Key) 

   c. truck_number

   d. vin_number

   

2. Human_Resources ([dbo].[Human_Resources])

   a. hrid (Primary Key)

   b. first_name 

   c. last_name

 

Assigned Partner = hrid in [dbo].[Human_Resources]Assigned Partner = hrid in [dbo].[Human_Resources]

Goal: Have the ID "1" in the Assigned Partner box to show first name instead of "1."

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Johnny8503,

     

    So the screen you shared is the detail (or the edit ) screen of a special record in the Equipment table?

     

    If it is, then we may take use of the lookup function to show the first name value.

     

    Meneghino has a good explanation on this in the following thread:

    Lookup on SQL Server

     

    See if it would help in your scenario.

     

    Regards,

    Michael

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Johnny8503,

     

    Do you need any further assistance on this?

     

    Regards,

    Michael

  • rdevine Profile Picture
    8 on at

    I am having this exact issue. I have two tables that share a relationship. I am trying to see a list of hospitals when i create a new patient. In the below image you can see that the dropdown is blank, and this is caused when I set Value1 to HospitalName. When I set it to HospitalID I see the IDs in the dropdown. How do I configure this to show the Hospital names in the dropdown?

     

    errormessage2.jpg

  • gabbrinner Profile Picture
    4 on at

    Hi, did anyone find a solution to this? I am having a lot of trouble with my lookup fields, they all show numbers, not names!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Up, c'est un probleme que je rencontre mois aussi 😞


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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard