Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Change Scatter chart Legend Based on Dynamic Slicer

Hi! Is there a way to dynamically change the legend in the scatter chart? For example, if I select Client in the slicer, my scatter plot legend will be based on the client. Then the same for the other slicer options (see below)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The raw data looks like this

 

Here's the pbix file Scatter plot legend.

 

Thanks! :smileyhappy:

  • Hi Anonymous,

     

    Actually, there is no way to meet the exact same requirement as you described. However we can use bookmark to work around. Here we can just Ctrl click the buttons to get different visuals.

     

    1. First , I creates 3 visuals based on different legends. After that, in the selection pane, choose what we need for a bookmark and create a new bookmark.

    2. Add a blank button and set the button as below to make the button related to the bookmark accordingly. Also we can reach other visuals by the bookmark.

     

    For more details, please check the pbix as attached, also you can refer to the online document

     

    https://www.dropbox.com/s/2o7bk4vqj6su606/Power%20BI%20-%20Scatter%20chart%20legend.pbix?dl=0

     

    Regards,

    Frank

2 Replies

  • v-frfei-msft's avatar
    v-frfei-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous,

     

    Actually, there is no way to meet the exact same requirement as you described. However we can use bookmark to work around. Here we can just Ctrl click the buttons to get different visuals.

     

    1. First , I creates 3 visuals based on different legends. After that, in the selection pane, choose what we need for a bookmark and create a new bookmark.

    2. Add a blank button and set the button as below to make the button related to the bookmark accordingly. Also we can reach other visuals by the bookmark.

     

    For more details, please check the pbix as attached, also you can refer to the online document

     

    https://www.dropbox.com/s/2o7bk4vqj6su606/Power%20BI%20-%20Scatter%20chart%20legend.pbix?dl=0

     

    Regards,

    Frank

    • v-frfei-msft's avatar
      v-frfei-msft
      Icon for Community Support rankCommunity Support

      Hi Anonymous,

       

      Does that make sense? If so , kindly mark the answer as a solution to close the case, thanks in advance.

       

      Regards,
      Frank