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

Community site session details

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

How to combine filter

(0) ShareShare
ReportReport
Posted on by 20

Hi,

I try to combine filter in request

Currently i have this : and the result is that it show me the value in red under the field (N° reference) 

        field(500; "Gtin BT"; Text[50])
        {
            TableRelation = "Item Reference"."Item No.";
            FieldClass = FlowField;
            CalcFormula = lookup("Item Reference"."Reference No." where("Item No." = field("Code article")));

pastedimage1681902664277v2.png

I would like to combine F00027 (field "Code article"") with value BT from field (Unité) and the Field (Description) when it contains the value "X" to show the value from the field (N° référence). (in Yellow in this case )

Thanks in advance for your help

I have the same question (0)
  • Verified answer
    Deekshitha Reddy Profile Picture
    219 on at
    RE: How to combine filter

    1.TableRelation = "Item Reference"."Item No." where("Item No."=filter(='F00027'),

                                 "Unite"=filter(='BT'),"Description"=filter(='X');

    -----------------

    2.TableRelation = BankDetailsTable.BANKNAME where(BANKNAME = filter(= 'sbi'),

                                                 BRANCH = filter(= 'mumbai'));

    The second one ,I have used to filter the required values inside fields, such as bankname

    & branch. More filters can be added depending on requirement.

    Please Let me know.

    Hope this helps.

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: How to combine filter

    I did not get your requirement.

  • Neodep Profile Picture
    20 on at
    RE: How to combine filter

    Thanks Reddy, it was simple finally. Thanks for your help.

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 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans