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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Torge
New Member

formating based on only single value selected in slicer

Hi helpfull community,

 

in my report I have a graph that by default plots data for all points in the data base but is useless as such (by design).

It becomes usefull if a certain slicer has been used to filter down to a single value.

 

My idea now is to hide the plot in all cases that more than one value has been slected in the slicer.

This could probably be done by an overlay that becomes transparent when only a single value for the slicer is slected?

But how? Or are there other ideas?

 

Thanks,

Torge

1 ACCEPTED SOLUTION
lukiz84
Memorable Member
Memorable Member

Just blank your measure when there is more than one value selected...

 

IF(HASONEVALUE(yourslicer[column]), measure, BLANK())

View solution in original post

2 REPLIES 2
Torge
New Member

Thanks lukiz84, this has inspired me to find a solution 🙂

lukiz84
Memorable Member
Memorable Member

Just blank your measure when there is more than one value selected...

 

IF(HASONEVALUE(yourslicer[column]), measure, BLANK())

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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