Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to filter lookup value field

Posted on by 184

I am trying to limit the data that comes back in our regarding look up field. 

I did some research, and found that you can filter it in on the form. See highlighted screen shot below. 

When i go to my form, i dont have that option (second screen shot). Is there another way to do this? Any ideas why it doesnt show for me?  

3107.pastedimage1627328184886v1.png

1805.pastedimage1627328194620v2.png

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to filter lookup value field

    Hi nvrhughes,

    In general, Each lookup field can show ‘Related Records Filtering’ section in 'Field Properties' dialog.

    But Regarding field is one special lookup field, which will auto populate all those entities which support "Activities", and it can't show ‘Related Records Filtering’ section in 'Field Properties' dialog.

    2577.pastedimage1627353221335v2.png

    1563.pastedimage1627352949588v1.png

    So only option is to add a pre search filter through code, you can refer following links:

    addCustomFilter (Client API reference) in model-driven apps - Power Apps | Microsoft Docs(+) Add Custom Filter for Lookup in Dynamics CRM - Microsoft Dynamics 365 Community

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans