Forum Discussion
Switch visual data on button click
Hello,
I have multiple graphs on my page and I need to switch data field on button click, is it possible?
Here is sample graph
Here is sample data:
So, I need to switch from Trend Year to Trend Q and back on button click. Is there way to implement it.
I already tried bookmarks features, but it doesn`r save such data. Thanks in advance!
- You should be able to do this with stacked visuals and bookmarks.
Hi Anonymous ,
You can try to create two bookmarks and two buttons for this case.
One bookmark directs the initial status, the other bookmark directs the goal status:
Use Selection pane to hide visual:
Then create two buttons to point to these bookmarks:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- v-yingjlCommunity Support
Hi Anonymous ,
You can try to create two bookmarks and two buttons for this case.
One bookmark directs the initial status, the other bookmark directs the goal status:
Use Selection pane to hide visual:
Then create two buttons to point to these bookmarks:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- Greg_DecklerCommunity ChampionYou should be able to do this with stacked visuals and bookmarks.