Skip to main content

so when the leger is AP and Transaction_Type is INV and Organization Code is BES and Company_Code is MAA then is need the over all count of all these combinations

 

my question is I have multiple company codes and organization codes so how do I write a calculation field for that?

2 respuestas
  1. 6 nov 2023, 06:15

    Hi @Preethika T​ 

    You can use IN, like this:

     

    if [Ledger] = "AP" and

    [Transaction Type] in ( "INV", "CRD") and

    [Organization code] = "BES" and

    [Compay Code] = "MAA"

    then 1

    else 0

    end

     

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

    Please upvote my helpful replies & choose Select as Best Answer if it really is the best :)

0/9000