Announcements
I have two entities in Common Data Service, Purchase Orders and Address. Purchase Orders has a lookup (POAddress) that looks up addresses in the Address entity. The address entity only has two fields that I use ID and Address (address is all saved in one field). The problem I am having is I have a gallery in my view screen and an edit icon at the top to edit the selected one in the gallery. When I go into the edit screen the address is not showing up. I know the address is right as I can see it in the data when I look at the data online in the entity. It just doesn't show up on my screen. It's fine when I add it just not when I edit it. How do I fix this?
Thanks for the help!
Gavin
Would you please upload a screenshot of the issue you mentioned?
Based on what I know, the lookup field under Common Data Service could only display the Id field, if here you would like to have it display the proper address, then you need to take use of the lookup () function, for example:
Lookup(AddressEntity, PrimaryId=ThisItem.POAddress.PrimaryId, Address)
Regards,
Michael
I have two main problems with lookup. The first is in an edit screen lookups won't show what has been selected unless its the PrimaryID field. I have three lookups on this edit screen, Staff Member is showing something because I have told it to use the PrimaryID field but Supplier and Address are not because they are trying to use the Supplier and Address fields instead of the PrimaryID field. I am assuming this is a bug with Powerapps?
The second problem I have is how do I show the selected entry for a lookup field on just a view screen. So for example if I was using labels to show the different fields in a select Gallery Item. I can show all fields but for lookup ones. Is there a formula I can use or do I need to use a different type of field i.e. dropdown box or the likes?
I am desperate to get answers on this so any help you can give will be really appreciated!
Thanks in advance.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 394 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 324 Most Valuable Professional