Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Add filter to advanced lookup

Posted on by

This article on powerapps.microsoft.com shows the graphic below with a custom checkbox to filter the records being shown to match a related company name.  Can anyone explain how I achieve this functionality?

pastedimage1654612429797v1.gif

Thanks

Alan

  • Alan Roberts Profile Picture
    Alan Roberts on at
    RE: Add filter to advanced lookup

    Thank you so much Leah Ju, that works perfectly

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add filter to advanced lookup

    Hi Alan,

    It is one feature named Related Records Filtering

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/special-field-properties-legacy?view=op-9-1#lookup-field-properties 

    This feature allows you to filter records where the record you are looking up to is already related to the record you are looking up from.

    A good example of this is the Primary Contact lookup on the Account table, where you can only select Contacts where the Company Name matches the Account you are looking up from.(This is the one you show in the picture)

    To enable this you need to access the classic form editor, go Settings > Customizations > Customize the system > Entities to open the form of the entity, then clicking tone lookup field to open 'Field Properties' dialog.

    pastedimage1654662240645v1.png

    Note: 'Users can turn off filter' option must be checked, Otherwise you will not see the filter box shown on the dialog.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans