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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors