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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.