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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Provide lookup filter to show only non related records

(0) ShareShare
ReportReport
Posted on by 25

Hi,

I have three entities (eg: Entity A, Entity B, Entity C) which are having lookup field of another entity(Entity D). Now my requirement is, In the Entity A main form i want to filter the lookup field(entity D) to show only the records, which are not associated with any of these three entity records(Entity A, Entity B, Entity C). Is this possible?

If Yes, how?

Below table with sample data will explain more.

Entity A(Fields) Entity B(Fields) Entity C(Fields) Entity D(Fields)
Name (single line text) Name (single line text) Name (single line text) Name (single line text)
Item (lookup of Entity D) Item (lookup of Entity D) Item (lookup of Entity D) Value (Option Set)


Now in the forms of Entity A or B or C, the lookup field should show only the records that are not associated with any of these three(Entity A, Entity B, Entity C) entity records.

Sample screenshot

pastedimage1571625616407v1.png

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at
  • MohanJana Profile Picture
    25 on at
    RE: Provide lookup filter to show only non related records

    Hi Ravi,

    Thanks for the suggestion, But in my case i can't write custom filter because in my Lookup entity(Entity D) i don't have any field to identity that the particular record is associated with any of the other entity records(Eg: in the entities A,B,C). I believe the custom filter can implement on the same entity fields.

    correct me if i am wrong and please suggest me any other solutions, if available.

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Provide lookup filter to show only non related records

    Got it. Have you tried adding custom view?

    docs.microsoft.com/.../addcustomview

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 169

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 77 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 71

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans