Skip to main content

Notifications

Announcements

No record found.

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

  • 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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans