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 :
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.

I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    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.

  • Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    Maybe this is useful ?

    www.youtube.com/watch

  • YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    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

  • Nikola Jovicic Profile Picture
    5 on at

    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.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans