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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
PbiGlobal
Frequent Visitor

Display data on a Scatter Plot only if one value of a slicer is selected

Hi All,

 

 I am using Scatter Plot and I want to display the data only if one unit is selected and the data should be blank for multiple selections of the slicer.

 

I have the Unit as a slicer

 

 

image.png

 

 

 

 

 

 

Below is my Scatter Plot:

 

image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I dont know how to link the scatter plot in the below formula:

Measure 4 = IF( HASONEFILTER( 'Sheet2 (2)'[UNIT] ),[Average of Import average per UNIT],BLANK())

 

Thanks in Advance!!

1 ACCEPTED SOLUTION

@vanessafvg I was able to display the data on Sactter Plot when user is selecting single value of a slicer:

SlicerSelection = IF( HASONEFILTER('Sheet2 (2)'[UNIT]),1,0)
I have used this measure in the visual filter of the scatter plot and it worked!!
 
Thank you!!

View solution in original post

4 REPLIES 4
vanessafvg
Super User
Super User

@PbiGlobal  why do you not just use the measure you have created? instead of the measure you are using?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Are you talking about the slicer?
@vanessafvg 

@PbiGlobal  no im talking about replace the measure you have with the one you created.  But i could have it wrong.  if you want to share you file with me it might be easier.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




@vanessafvg I was able to display the data on Sactter Plot when user is selecting single value of a slicer:

SlicerSelection = IF( HASONEFILTER('Sheet2 (2)'[UNIT]),1,0)
I have used this measure in the visual filter of the scatter plot and it worked!!
 
Thank you!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors