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
Fusilier2
Helper III
Helper III

Change Legend on drill down

Hello,

I'm setting up a drilldown scatter chart. The drill down works fine, but I can't get the legend to change depending on the level I drill down to. Is that possible to do?

3 REPLIES 3
Fusilier2
Helper III
Helper III

Thank you for your help. It seems a bit unweidly for users to have to use a slicer to select the correct legend. I was hoping there would be a method of getting the legend to change automatically as you drilled down or up. Maybe it's just not possible.

@Fusilier2 

 

the slicer will change the x-axis, and base on this change, the legend will automatically change .

so instead of clicking on the drilling down button, they click on the slicer button . ( which can be designed nicely with the new slicer introduced by power bi ) .

 

 

Daniel29195
Super User
Super User

@Fusilier2 

output : 

on country level : --> legend is color

Daniel29195_0-1707386251628.png

 

on branch level -->  legend is product group .

Daniel29195_1-1707386268659.png

 

 

overall : 

Daniel29195_6-1707386604585.png

 

 

 

steps 1 : 

create 2 field paramters. each field paramter with the columns you want to show.   ( one for the x axis and one for the legend ) 

param1

Daniel29195_2-1707386317651.png

 

param2

Daniel29195_3-1707386328178.png

 

 

 

step 2

add a new column to the field paramters ( both for param1 and param2 ),

Daniel29195_4-1707386392199.png

 

this new added columns in the 2 parametrs, will be used to link the 2 field paramters together. 

 

Daniel29195_5-1707386424623.png

 

 

final step : 

now you just need to add a slicer on the page.  if you change to country, the filter from param_1 will propagate to param_2 and filters the row related . ( which in my example is country has id = 1 link to param_2 [id = 1] which is coloring . thus the legend will change to color . 

 

 

let me know if this works for you.

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

 

 

 

 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

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