Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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!

  • 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-yingjl's avatar
    v-yingjl
    Community 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_Deckler's avatar
    Greg_Deckler
    Community Champion
    You should be able to do this with stacked visuals and bookmarks.