Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Add more values to filter when dropdown

(0) ShareShare
ReportReport
Posted on by 5

Dear Community, I have question about filtering in web client. Our customer migrated from NAV 2009 classic to BC19 but in 2009 he could add more filters on this way:

pastedimage1648548819673v1.png

When he choose first value for "No." and then types vertical bar (|), and choose another value from dropdown, the new chosen value is added to current filter. On this way he could add easy multiple values to the filter on every report.

pastedimage1648548979809v2.png

But, in web client on BC19, the chosen value from Drop Down overrides current value in filter, so you cannot add filters on this way. I know that I can develop custom field on request page and develop custom code in OnLookup trigger, but I would like to find some better solution. I also tried with property on table field ValidateTableRelation = false, but it also didn't help.

Do anyone have experience with similar situation.

  • Nikola Jovicic Profile Picture
    5 on at
    RE: Add more values to filter when dropdown

    Thanks to everyone, but I tried to find some solution that would be applicable on all the reports and fields.

    I tried to search for global triggers in system codeunits to check if is there some trigger like GlobalOnLookup (similar to OnGlobalInsert in codeunit 49) but I didn't find anything useful.

    The only thing that seemed to be useful was codeunit 2000000007 "Filter Helper Triggers", and I tried to make subscriber for triggers MakeCodeFilter and MakeTextFilter,  but it didn't triggered when lookup on request page.

  • YUN ZHU Profile Picture
    85,571 Super User 2025 Season 1 on at
    RE: Add more values to filter when dropdown

    Hi, I think this can be done with TableRelation property.

    More details: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-tablerelation-property

    For example,

    pastedimage1648620960115v1.png

    My vendor list

    pastedimage1648620973633v2.png

    In this dropdown

    pastedimage1648620985033v3.png

    Hope this will help.

    Thanks.

    ZHU

  • Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Add more values to filter when dropdown

    Maybe this is useful ?

    www.youtube.com/watch

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Add more values to filter when dropdown

    Hi

    The only method that I know is to type the full value instead of selecting from drop down. But I agree that it will help if we could use the method you have described or at least use Ctrl to select multiple.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans