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
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.









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


Proud to be a Super User!









"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
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.