0 Replies Latest reply: Sep 11, 2014 7:34 AM by Cem Yigman RSS

    Chart with variable calendar

      Hi,

       

      I have created two custom variables for filtering the data between these two days. I have varFromDate and varToDate variables.

      My chart has the expression below and the cyclic group with the fields DATE.DATE / DATE.WEEK / DATE.MONTH as dimension.

       

      sum(

      {$<

      DATE.YEAR = ,

      DATE.QUARTER = ,

      DATE.MONTH = ,

      DATE.MONTH_YEAR = ,

      DATE.QUARTER_YEAR = ,

      DATE.WEEK = ,

      DATE.WEEKDAY = ,

      DATE.DAY = ,

      DATE.DATE = ,

      DATE.NUMDATE =,

      DATE.NUMDATE = {">=$(varFromDate)<=$(varToDate)"}

      >}

      DEVICE_CATEGORY_OS_BROWSER.metric_sessions)

       

      But using this expression and my "DATE" fields as dimension, blocks the selections which the users can make directly from the chart (Because i am using set analysis like above)

       

      What i am trying to do is, extracting days, weeks and months between two variables and using them as dimension (or cyclic group) in order to be able to make selections inside the chart.

       

      Does anyone knows how to do that?

       

      Thank you...