cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Dynamic label

Hello; 

 

can someone help me please?:

i'm working on this diagram and what i want to make a dianymic legend, like when my slicer is on 2018 as current year the year - 1 should display 2017 and if i select 2019 my previous year should display 2018 
can someone has an idea of how to implement it?
i'm using SSAS 🙂 =DAnnotation 2019-10-07 170343.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Dynamic label

Hi rayloubayi,

As I know, there is no method to change legend label dynamically. So one workaround is that you could try to use bookmark to achieve this goal. You could refrt to my sample(page 2)  and Bookmarks and Buttons: Making Power BI Charts Even More Interactive for details.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Dynamic label

Hi rayloubayi,

As I know, there is no method to change legend label dynamically. So one workaround is that you could try to use bookmark to achieve this goal. You could refrt to my sample(page 2)  and Bookmarks and Buttons: Making Power BI Charts Even More Interactive for details.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper I
Helper I

Re: Dynamic label

Hello thank you for your help I'm going to use ur idea

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors