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

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.

Reply
Allav
Frequent Visitor

Show scatter data only when selecting data

Hello,

 

I am trying to keep my scatter, fever chart empty until something is selected on the left table. I tried using the suggestion found in the forum, to create the measure:

SlicerCheck = =if(calculate(distinctcount([SlicerColumn]),allselected([SlicerColumn]))=1,"Y","N")

 

but it is not working for me, I add this measure to the visual filter and set to Y and still see all the scatters in the chart. maybe I am puting the wrong [slicer Column]?? not sure..

 

your help is appreciated!image.png

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi,@Allav

     You can try to use ISFILTERED to add a measure like this:

new SlicerCheck = 
IF(ISFILTERED(VehicleTrend[ReportDate])=BLANK() ,"Please Select a Report Date", BLANK())

and then set visual level filter:

2.PNG

 

Here is demo , please try it

https://www.dropbox.com/s/8pexfwp0nm9536a/Show%20scatter%20data%20only%20when%20selecting%20data.pbi...

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi,@Allav

     You can try to use ISFILTERED to add a measure like this:

new SlicerCheck = 
IF(ISFILTERED(VehicleTrend[ReportDate])=BLANK() ,"Please Select a Report Date", BLANK())

and then set visual level filter:

2.PNG

 

Here is demo , please try it

https://www.dropbox.com/s/8pexfwp0nm9536a/Show%20scatter%20data%20only%20when%20selecting%20data.pbi...

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks so much, it worked!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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