Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

How to combine filter

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

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

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

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How to combine filter

    I did not get your requirement.

  • Verified answer
    Deekshitha Reddy Profile Picture
    Deekshitha Reddy 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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans