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 / Dynamics 365 Filter ga...
Power Apps
Unanswered

Dynamics 365 Filter gallery by lookup field

(1) ShareShare
ReportReport
Posted on by 2

Hello

 

So I have a gallery which I would like to filter by a lookup field. From some reason I'm unable to get it and every time I struggle to do it. So my main table is workorders the lookup field called work order type (on workorder) and I'm trying to filter by the GUID of the work order type (Maybe because my environment is in Hebrew )

 

Will appreciate if someone will help me to figure it once and for all.

צילום מסך 2020-11-12 222851.png

I have the same question (0)
  • Verified answer
    Hamish Sheild Profile Picture
    3,005 Most Valuable Professional on at

    Hi @alexyyoud 

     

    Looks like you are missing the GUID data type conversion.  Take a look at my example below for filtering Accounts based on the Primary Contact lookup.  You need to convert the string to a GUID type.

     

    Filter(Accounts,'Primary Contact'.Contact= GUID("4cfc26ad-9d73-ea11-a811-000d3a794392"))

     

    This blog post is a good article on all things to do with lookups in Canvas apps if you need more info

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 802 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 273

Last 30 days Overall leaderboard