4 Replies Latest reply: Feb 12, 2013 10:16 AM by Kirti Sheth RSS

    How can shorten this expression

      I have written following expression using SET where i want the total of quantity based on user selection and if user dont select any country then it should be as select all i am looking forward to shorten this expression


      =if(count(GetCurrentSelections(Country)) <>0 , sum({$ <Country = {$(=getcurrentselections(Country,','))}>} Quantity),sum({$ <Country = {'*'}>} Quantity))



      Thanks & Regards