Forum Discussion

Alirezam's avatar
Alirezam
Helper V
5 years ago
Solved

Show or hide values on a graph based on a select button

Hi Pals,

I have the following graph created by "line chart" visual. I have 3 values as shown by 3 colors. I want to be able to show/hide the red one by clicking on a "select button" outside of the graph but I do not want to use two graphs as two bookmarks as I know this solution already. Do you have any alternative that works like an interactive visual to this graph? many thanks

 

 

  • Alirezam 

    You can do it with a slicer.
    Create a disconnected table with two values "Show" and "Hide" and insert it on a slicer. Now for the red line measure modify to check if the selected value of the slicer selection  = "Show" then the measure otherwise blank.





2 Replies

  • Alirezam 

    You can do it with a slicer.
    Create a disconnected table with two values "Show" and "Hide" and insert it on a slicer. Now for the red line measure modify to check if the selected value of the slicer selection  = "Show" then the measure otherwise blank.





    • Fowmy's avatar
      Fowmy
      Super User

      Alirezam 

      Hope you were able to resolve to apply the technique I described. please confirm.