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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Hide data if visual interactions result in client count below a set threshold

Hello - I have a Power bI desktop page that has multiple visuals and cards displaying various cuts of my data file.  I have interactions turned on to allow filtering of all other visuals on the page when columns in the columns charts are selected.  I would like to hide data in all visuals whenever the client count (metrics always displayed in the visuals) drops below five given compliance reasons.  I would like all other columns to remain, but the columns with less than five should hide or say "Less than 5 clients".  

 

I have checked other forum posts, but can not find the exact answer I am looking for.  I do not want to only make the bar transparent as the tooltip would still appear when hovered over.

 

I am not able to post a sample data cut, but every transaction has one row in the data and the visuals are showing high level views by client industries, products purchased, etc.  

 

Thank You!

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

Hi @Anonymous ,

 

You can create a measure and add the measure to the 'Filters on this visual' pane.

All visuals wishing to hide data must add this measure to the filter pane.

Filter = 
IF(
    COUNT(Table[client]) < 5,
    1, 0
)

v-lionel-msft_0-1607654974557.png

 

Best regards,
Lionel Chen

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

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a measure and add the measure to the 'Filters on this visual' pane.

All visuals wishing to hide data must add this measure to the filter pane.

Filter = 
IF(
    COUNT(Table[client]) < 5,
    1, 0
)

v-lionel-msft_0-1607654974557.png

 

Best regards,
Lionel Chen

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

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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