cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors