3 Replies Latest reply on Nov 17, 2016 8:19 PM by lei.chen.0

    Customizing filters based on Toggle Field value

    shruti.c

      Hi,

       

      I have the 'weekof' and 'month' fields in my data.

       

      I want to create a toggle,called "Week" and "Month". Based on the value the user selects for this toggle field, a Filter will show Week values for user to choose from OR month values for user to choose from.

       

      In short:

           1) User first selects whether he/she wants to chart by WEEK or MONTH. Selects either one from a toggle filter.

           2) Based on the value selected in the above toggle, another filter shows up. If the user has selected WEEK in step 1, then a filter showing the week values will be enabled allowing users to select a particular week. If the user has selected MONTH in step 1, then a filter showing the month values will be enabled and the user can select which month value to see.

       

      How can I do this in Tableau?