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
Minakshi
Resolver I
Resolver I

On legend selection make unselected lines to disapper

Hello Everyone,

I have the following line chart. Is it possible to show only selected line using legend and others to make disappear instead of gray out.

 

Screenshot from 2020-07-31 15-56-12.png

 

Thanks

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Minakshi ,

 

You could vote for this idea to improve Power BI:

https://ideas.powerbi.com/ideas/idea/?ideaid=e23d02e6-be5d-4579-836a-56babd78060c

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
EricHulshof
Solution Sage
Solution Sage

I believe that is not possible at the moment. You could consider making a slicer which will do what you ask for. Besides that you can submit this idea to https://ideas.powerbi.com/ 


Quality over Quantity


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


@Minakshi ,
There is a workaround: add a slicer to the report. If you do not want slicer on report, so that user can filter only based on legend then these are steps:
1) copy line chart
2) on main chart remove values and keep only axis and legend
3) on copied chart remove title and legend
4) place copied chart below original and edit interactions: original line chart filters copied line chart

I set background color so it is easier to understand (yellow original chart, blue copied chart). You can see that on image 1 all items in legend have colors - none is selected.
On image 2 only item 3 has color because it is selected and on chart we can see only item 3.
copy line chart.PNGcopy line chart2.PNG

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.