2 Replies Latest reply: Sep 8, 2011 3:01 PM by stefano santini RSS

    Problem with Set Analysis and variable

    Frédéric Villemin

      Hi,

       

      i have a variable called "onemonth"

      =if (text(STARTDAY) > Date(NOW()-30,'YYYYMMDD'),'Yes','No')

       

      i have a graph with STARTDAY as dimension and i want to show only the 30 last days using onemonth variable = 'Yes'

       

      I have created this set analysis expression :

      =sum({$<$(onemonth) = {'Yes'} >} PHY_READ_BYTES)

       

      but it shows all days with good data..  If i switch Yes to No in the set analysis, it's exactly the same..

      what is missing in my set analysis ??

       

      Thanks