Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

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)

 

powerbi1.JPGpowerbi2.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The raw data looks like this

powerbi3.JPG

 

Here's the pbix file Scatter plot legend.

 

Thanks! Smiley Happy

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community 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.

1.png

 

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

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community 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.

1.png

 

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

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @Anonymous,

 

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

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.