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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
ADP007
Helper IV
Helper IV

MAtrix Filtering a Scatter

Hi all,

 

In my dashboard I have a table visual with some items. When I click on a row of the table it filters a scatter visual. This is exactly what I need but how can I show no values in the scatter when no item is selected in the table?

 

Thanks

D.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ADP007 , Create a card visual on top of scatter visual and use conditional formatting for both background color and font

 

if(isfiltered(Table[Column]), "FFFFFF00", "FFFFFF")

 

In conditional formatting use field value option and use above measure

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
BA_Pete
Super User
Super User

Hi @ADP007 ,

 

You will need to adjust the measure that displays the values in you scatter chart using either HASONEVALUE or ISFILTERED.

You would use this with one of the dimensions that categorises the data in your table.

For example, if your table has sales by country, you might write a measure like this for your scatter chart:

_scatterSales =
IF(
  HASONEVALUE(countries[country]),
  SUM(sales[sales]),
  BLANK()
)

 

This should then only display values in your scatter chart if one row in the table was selected.

If you swap HASONVALUE for ISFILTERED, it would allow you to multi-select country rows and still work, until you has multi-selected all of them and, therefore, that field was no longer filtered.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Thanks @BA_Pete I used part of @amitchandak solution.

amitchandak
Super User
Super User

@ADP007 , Create a card visual on top of scatter visual and use conditional formatting for both background color and font

 

if(isfiltered(Table[Column]), "FFFFFF00", "FFFFFF")

 

In conditional formatting use field value option and use above measure

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak, thanks for your reply. I"ll accept it as a solution but I adapted it a bit.

 

Check Filtered = IF(ISFILTERED('table'[KPI]), "Y", "N")
 
Then I used the measure in the visual filter option "Check Filtered = Y"
 
Cheers
 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors