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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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