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 / CDM Lookup Values Not ...
Power Apps
Answered

CDM Lookup Values Not Showing Information

(0) ShareShare
ReportReport
Posted on by 45

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

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

    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

  • SupportForce Profile Picture
    45 on at

    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.

     

    Gavin

    Lookup Problem.PNG

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard