Skip to main content

Notifications

Announcements

No record found.

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

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

    Got it. Have you tried adding custom view?

    docs.microsoft.com/.../addcustomview

  • MohanJana Profile Picture
    MohanJana 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
    RaviKashyap 55,410 on at

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans