cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
atul-patil Helper II
Helper II

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
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 Datanaut!

View solution in original post

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!!
In case it does not help, please provide additional information and mark me with @
My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP,
HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Super User! Linkedin


View solution in original post

4 REPLIES 4
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 Datanaut!

View solution in original post

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!!
In case it does not help, please provide additional information and mark me with @
My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP,
HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Super User! Linkedin


View solution in original post

atul-patil Helper II
Helper II

Re: can we hide legend labels

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

atul-patil Helper II
Helper II

Re: can we hide legend labels

Hi @amitchandak 

 

Thank for Solution

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors