Forum Discussion

sufiyanakhtar's avatar
4 years ago
Solved

Dynamic Slider values

Hey Power Users,

I need your valuable help in sorting out a requirement. The requirement is that I have 3 buttons and a date slider slicer as shown below:

 

What I am trying to achieve is that when i press the relevant buttons, For ex. when i choose the last month button, the date slicer's start date should automatically be shifted to start of the last month. Similarly when i press 3 months and 6 months the start date should automatically be applied respectively. Please help guys as Ive been breaking my head on this since yesterday.

Thank you!!!

 

  • Hey sufiyanakhtar ,

     

    this is not as simple as we want, this is because it's not possible to change the start and end of the slider using measures.

    For this reason you need more than one date slider, these sliders are hidden and will be activated by a button, meaning your requirement can be implemented using bookmarks. Of course you need a calendar table that allows filtering the dates you need to be shown in each of the sliders.

     

    Hopefully, this provides an idea on how to tackle your challenge.

     

    Regards,

    Tom

1 Reply

  • Hey sufiyanakhtar ,

     

    this is not as simple as we want, this is because it's not possible to change the start and end of the slider using measures.

    For this reason you need more than one date slider, these sliders are hidden and will be activated by a button, meaning your requirement can be implemented using bookmarks. Of course you need a calendar table that allows filtering the dates you need to be shown in each of the sliders.

     

    Hopefully, this provides an idea on how to tackle your challenge.

     

    Regards,

    Tom