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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.