Forum Discussion
Anonymous
4 years agoNot applicable
Displaying the selected line in a graph
Hello, When I select an option from the legend of a graph, I want to display only the selected line in the graph and all other lines should be invisible. Can anyone help me with this, please?...
- 4 years ago
Add the values that you have in the legend to a slicer next to the graph. by default a slicer will filter out the rest of the values 😊.
Anonymous
4 years agoNot applicable
Hello PaulusD,
I've tried to add the legend values to a slicer as you suggested, but I'm unable to add them to the slicer may be because they are measure values.
Is there any other way to acheive this?
- PaulusD4 years ago
Resolver II
Not sure you can place measure values in a slicer... If the result is numerical you could try something like this:
Power BI - Filter by a Measure in a Slicer - YouTube
Otherwise try making a calculated column instead of a measure and use the column in a slicer. That way you can also group the values if you want.