web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Use GUID from lookup i...
Power Apps
Unanswered

Use GUID from lookup in collection

(1) ShareShare
ReportReport
Posted on by 2
Hi, 
 
I am trying to get a GUID from a related table in Dataverse and store in a collection. 
 
In the example below, I am trying to get the GUID of the lookup column 'Competitive parameter Id'. However, when I enter it like below, it just returns a question mark. I guest this is because it's returning the record and not the GUID. 
 
 
ClearCollect(
    colOppCompetitiveParams,
    ShowColumns(
        Filter(
            'Opportunity competitive parameters',
            'Opportunity Id'.Opportunity = GUID(opportunityGUID)
        ),'Competitive parameter Id' <== this is where I want to go a level deeper and get the GUID. 
    )
);
 
Intellisense is really not helping me here. I would expect I could use dot notation (just like I do in the filter above), and navigate to the primary column of the related record and get the GUID - but I haven't been able to do this.
 
I've also tried using logical names and schema names but I haven't found a working solution.
 
 Any help is appreciated. 
Categories:
I have the same question (0)
  • MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    All the rows in you table has the lookup filled? it is look like that came with null values.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard