3 Replies Latest reply: Jan 25, 2013 1:49 PM by Mayil Vahanan Ramasamy RSS

    Change all selections based on set variable

      Hello!

       

      So, I'd like my overall document selections to change based on a set variable which I have bound to a button. I have an example dashboard which shows a "generic cycle" but I'm unsure how to add or work with this dimension.

       

      Basically, functionally, I'm looking to click a button which sets a variable and then the selection for all list boxes and charts gets "filtered" into the selection. This is based on my Date calculations.

       

      So, when variable = 0, selection is set to Clear

      When variable = 1, selection is set to =count({<ConclusionDate={"<=$(=today())"}>} ConclusionDate)

      When variable = 0, back to Clear

       

      Where would I put this so that all selections would show only the results from the above count?