Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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.
Anonymous
Not applicable

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/ 

@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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.