Forum Discussion
Slicer not fully disabled
- 5 years ago
Hi jbhca12 ,
I followed the tutorial and I notice that every time he changes from custom to another type of visualization he selectes the full slicer.
This is mentioned on the comments of the youtube video:
What I think you need to do (to have the reset) is use bookmark has I refered that way you can force the data to be reset something similar to this:
In this case I have hidden the period selection because I believe is more user friendly in terms of user experience, left the selection of the period so that the user can see what he has available.
Just giving options the slicers have the following options:
Depending on the rest of the interactions with your report you may need to change the other options on your bookmark specially the Data and Selected visual options
Hi jbhca12 ,
In this case you need to have two additional bookmarks and link them to the data bound:
If you click on the several images you can see that according to the selection you have different changes of the visualizations.
Be aware that you may need also to create another one for the case when you select the predefined values to hide and show, then depending on the bookmark you are you present the corresponding button, so if tyou have just selected custom period you need to show the button custom period hide (no matter if the selection of the period was done or not) however the button after hidding a custom period is the custom period show data.
Thanks, I think I have it all set. I ended up duplicating some buttons and images to handle both cases as well as a bookmark for each case depending on what the user selected...user selecting predefined date range or custom date range...and then closing the slicer panel. A bit of a pain and would have rather controlled it using a couple of measures and some overlays but that would only work when the slicer pane was open. For some reason when opening a closed slicer panel the measure checking for the use of the custom date range would be ignored so the button and slicer would not change accordingly. Ah well, I guess you get what you get when you don't have complete control over coding a solution.
Thanks for all of the help...I think I have what I need for now! Much appreciated!