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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Filtering lookup column options in a table View? (Hiding inactive records)

(4) ShareShare
ReportReport
Posted on by 35

Hi everyone - hoping to get some help on this one,

I have a system View setup for a custom table, which simply shows active records for that table. One of the columns is a lookup to the Contacts table.

For context, our system has a lot of inactive Contact records. That's because we have an external system which merges our duplicates. So if we have 3 Jogn Doe's for example, they'll be merged, and we'll keep 1 Active John Doe, and have 2 Inactive John Does

The issue I'm having is if I try to filter the view by the Contact column, when I hit Filter By and type in a name, e.g. John Doe, I see all 3 records.

Is there a way for me to filter this list to ACTIVE records only?

I believe there is a way to do this for sub-grids, but this is not a sub-grid.


Many thanks,

Tom

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi Tom,

    If I understand your needs, I believe you can configure your Quick Find view filter. Please refer to the images below:

    pastedimage1621242512816v4.png

  • TomEdinburgh Profile Picture
    35 on at

    Hi Mehdi - thanks for your suggestion. I just gave it a try but unfortunately, it didn't work for me.

    I added the filter to only show records with Active linked Contact, went to filter by, type in the name, but unfortuantely it still shows me both Active and Inactive John Doe's in the result.

    pastedimage1621245999775v1.png

  • Verified answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Sorry, I misunderstood your need. I'm afraid it's not configurable; You can use some workarounds.

    First Workaround:

    The first one is to use the filter I suggested on the Quick Find: 

    pastedimage1621247871622v1.png

    Second Workaround:

    The second option is to tag your Inactive Contact's last name. This will make it possible to distinguish which contact is deactivated when the filter is applied with the (Filter By) option.

    For example, you can add "(Inactive)" to "John Doe lasts" name. 

    • For existing data: on demand workflow
    • New merged data: automatic workflow which will be executed when a contact is deactivated.
  • TomEdinburgh Profile Picture
    35 on at

    Thanks for that. Disappointing that Dynamics doesn't have this functionality built in, but I think your workarounds should work for our needs

  • Thomas Van Dyck @ProvincieAntwerpen Profile Picture
    5 on at

    Is there still no other way to manage the records showing up in this 'Filter By' field (e.g. choose what view should be used when filtering on a certain entity/table or by changing a setting to hide inactieve records by default or something)? Is there any chance this could get picked up bij Microsoft to fix this? It is a very nice feature to be able to search in each view, on the column, but only if we can control the available options for our users, in stead of 'every option in the related table'.

    Thanks for your reply...

  • Suggested answer
    Gaurav Tempe Profile Picture
    29 on at
    This issue can only be fixed by deleting the inactive records.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans