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

can we hide legend labels

Hi All,

 

We have used a line chart which shows Total Finalised Plans of Stores over time.

When we select multiple stores it needs to show all stores with different colors(Legend), but when we select all stores It needs to shoe only single line: To solve this I had used following measure:

 
Finalized plans =
IF(COUNTROWS(DISTINCT(ALLSELECTED(AutoFinalised[Store]))) < COUNTROWS(DISTINCT(ALL(AutoFinalised[Store]))),
SUM(AutoFinalised[Plan]),
CALCULATE(SUM(AutoFinalised[Plan]),ALL(AutoFinalised[Store]))
)

 

My problem here is that, when we show multiple stores, the legend shows their contribution as shown below:

leg1.png

But When selecting all lines and you hover over the stores should not show their own contribution but shows single value as below:

leg2.png

Expected Result:

When we select All stores, it needs to show a single line and legend show their own contribution and not a single value as 81.

 

Thanks,

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: can we hide legend labels

Use a report page tooltip.

---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

Highlighted
Super User IV
Super User IV

Re: can we hide legend labels

@atul-patil,Refer, if this can help

https://docs.microsoft.com/en-us/power-bi/desktop-tooltips



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

4 REPLIES 4
Highlighted
Super User IV
Super User IV

Re: can we hide legend labels

Use a report page tooltip.

---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

Highlighted
Super User IV
Super User IV

Re: can we hide legend labels

@atul-patil,Refer, if this can help

https://docs.microsoft.com/en-us/power-bi/desktop-tooltips



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

Highlighted
Helper III
Helper III

Re: can we hide legend labels

Thank You so much, The Report level Tooltip is Working Fine.

Highlighted
Helper III
Helper III

Re: can we hide legend labels

Hi @amitchandak 

 

Thank for Solution

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

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.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors