Lander
11-08-2022Data Storage
How to set two filters using a Input.date blox widget?
Hi,
I currently have two filters that apply to different widgets on my dashboard. Note that the two filters have different grains, one is at day and the other is at month.
I have a single blox widget with a Input.date. Is there any way to add a button to this widget so that it will set the date filters simultaneously?
I.e if the user selects 15/01/2022 the day filter updates to 15/01/2022 and the month filter updates to 01/2022. I am aware of the dashboard.filters.update() method but have no clue how to utilize it to correctly, to get my desired output.
Any help or advice is greatly appreciated.