cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dennisb88
Responsive Resident
Responsive Resident

Lookup column show only primary key - model driven

Hi all,

 

I'm building a model driven app where I've two tables:

  • Equipment
  • Equipment owner

In my equipment order I've an lookup field added to the equipment table, named Owner (this is also a lookup field to the related user table).

It works fine, but when I save an order It's shows me only the primary key column in the Main form (form based in equipment order).

 

I want display the column: owner column not the Equipment ID (the primary key column).

 

How can I achieve this? I've already changed the views and forms in the equipment owner table, but that wasn't help

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Super User
Super User

Hi @dennisb88,

 

Lookup fields will always show the primary name of the table and this cannot be changed. Therefore, it's advised to set the primary name field to something that is distinguishable and readable by your users. 

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

2 REPLIES 2
dennisb88
Responsive Resident
Responsive Resident

I just found this topic, and it look that it isn't possible. Or is this changed?

ChrisPiasecki
Super User
Super User

Hi @dennisb88,

 

Lookup fields will always show the primary name of the table and this cannot be changed. Therefore, it's advised to set the primary name field to something that is distinguishable and readable by your users. 

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (3,553)