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

Announcements

News and Announcements icon
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,613 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.

  • IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Maybe this is useful ?

    www.youtube.com/watch

  • YUN ZHU Profile Picture
    102,476 Super User 2026 Season 1 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 686 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 447 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans