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.
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?
Solved! Go to Solution.
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 😊.
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?
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.
I want ot get the values as a list to choose from not as group of values, is this possible to do?
If you calculate the values in a calculated column instead of a measure, it should work just fine :).
Thanks I'll try this
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 😊.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
104 | |
87 | |
73 | |
66 |
User | Count |
---|---|
122 | |
112 | |
98 | |
79 | |
72 |