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

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

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
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard