2 Replies Latest reply: Sep 8, 2017 10:34 AM by Oliver Franz RSS

    How to pass a list as input parameter to a variable

    Oliver Franz

      Hey there,

       

      I am really stuck and hope someone is able to come up with the right syntax.

       

      vVar =

           Count(

              {$<

                  %Country = {$1}

              >}

          DISTINCT Customers) > 0

       

      If i count the customers for USA:

      =vVar('USA') --> Works great

       

      But how do I count USA and Canada?

      =vVar('''USA'',''Canada''') does not do it.


      I tried a lot of different syntaxes and I am not able to find any thats is working for me.


      All the best and thanks for your help!