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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
tjd
Impactful Individual
Impactful Individual

Dynamic Legends Via Slicer

 

 

 I have viewed/read the article on Dynamically change the information within a visual via a slicer and have put the technique to good use.  However, I now need to have a clustered column chart in which I can dynamically change the legend from one category to another (see below).  The dynamic changing approach above does not work with legends as they do not accept measures, only column names.  Any ideas on how to use a slicer to dynamically change the Legend value?

Year SelectedYear Selected

 

 Quarter SelectedQuarter Selected

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
tringuyenminh92
Memorable Member
Memorable Member

Hi @tjd,

 

 

So far, i dont think it's possible to achieve, but you could introduce for end-users drill-down with hierarchy buttons in the top left of charts.

Screenshot 2017-02-05 22.29.59.png 

View solution in original post

5 REPLIES 5
tringuyenminh92
Memorable Member
Memorable Member

Hi @tjd,

 

 

So far, i dont think it's possible to achieve, but you could introduce for end-users drill-down with hierarchy buttons in the top left of charts.

Screenshot 2017-02-05 22.29.59.png 

tjd
Impactful Individual
Impactful Individual

Obviously not as elegant and intuitive as using slicers but workable.  Thanks.

I do think it's possible but can be a little complicated.




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

I know this thread is old... but just incase there are others like me that were searching for a solution and found this first, I thought I'd share how to get around this.

It involves making a new table with a CROSSJOIN... I've made a video showing how to do it here:

https://youtu.be/vTr37C4FU0I

And here is a dashboard showing it working:

https://app.powerbi.com/view?r=eyJrIjoiMjgzY2JhMWItNzIyMS00Mjg2LTljOGQtYzQyNDhlNDNiZTI4IiwidCI6IjU5M...

Anonymous
Not applicable

This should be the selected answer... Thank you

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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