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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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