18 Replies Latest reply: Dec 14, 2017 5:12 AM by Anagha Rao RSS

    Using Sum inside if condition

    Pooja Goswami

      I need to use sum inside if condition like

       

      I need to calculate

      sum( if( sum([tot revenue]) < 0, $(Serv_rev), 0))


      but this expression is not working.


      Kindly help.