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 / Dynamic 365 can't get ...
Power Apps
Answered

Dynamic 365 can't get to the Guid

(0) ShareShare
ReportReport
Posted on by 25

Hi,

 

I can't seem to get to the GUID to use a Lookup

 

I have a relationship.  They are Sample Group and Sample Group Detail.

 

I am trying to get from Sample Group Detail to Sample Group using a Lookup.

 

When trying to do this I can't get to the GUID.  I only see the "Sample Group" table.  How can I get to the GUID.

 

I trying to get to the field "new_samplegroupid".

 

LookUp('Sample Groups', 'Sample Groups', GUID(txt_SearchOption))

Categories:
I have the same question (0)
  • Verified answer
    Edwin-Abdalian Profile Picture
    641 on at

    To get the GUID on any CDS entity, use the GUID function: GUID(MyEntityName), don't use the logical name. just the Name of the Entity. 

    Have you set up a One to Many relationship between these two entities? if you have done, then use the lookup field in the "Sample Group Detail" entity. This is easy : GUID(ThisItem.'Your Lookup Field Name on Sample Group Detail '.'Sample Group')

     

    If there is no relationship defined in CDS, then you need to use the Lookup function:

    Lookup('Sample Group', GUID('Sample Group') = SelectedDetailRecord.GUID('Sample Group Detail') , GUID(Sample Group))

    the last highlighted blue argument is optional. if you add it, it will only return the GUID column. if not, the entire record in 'Sample Group' will be returned.

    --------------------------------------------------------------------

    Please Accept as Solution if this post answered your question so other members can find it. If you found this post helpful consider giving my post a Thumbs Up!

     

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