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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Any way to show/hide visuals depending on data?

I have some visual elements that I would like to hide when no data is available for them (tables, cards, etc..)

The only solution I've found online is to place a transparent block on top of them and to set the transparency (either 0 or 100%)

depending on a measure value. 

 

That's great and it works, the only (big) problem is that even when the visuals are shown they are covered by an invisible block, so, for example, scrolling bars are not usable. 

 

Is there any way to hide/show a specific visual that doesn't involve placing something on top of it?

 

TIA

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Anonymous 

Unfortunately, there is no option other than what you mentioned to hide visualizations.

Indeed, what can be done is either to hide with another object, and then there is a problem with interactivity because the object is "above" the visual.

Or, to manipulate the values and leave the visuals but instead of the values showing some message based on condition, or to add buttons and toggle/hide visualizations based on clicking a button.

There is an idea about this issue, please vote for it here :
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=d29f1752-8129-4f50-af85-d336da28cac1

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
AnthNC
Helper II
Helper II

Hi @Anonymous,

 

Put the measure you're using for your visuals into the visual's filter pane and set your conditions :

AnthNC_0-1722485127297.png

 

Let's say for example you want to hide a visual if your sales are < $1000.

Your measure would be "Total_Sales = SUM(table[sales_amount])"

 

Put this measure into the visual's filter pane and select in the drop down list "is superior or equal to" $1000.

 

In your case, and depending on your measure, you can select "is not null"

 

🤙

 

Ritaf1983
Super User
Super User

Hi @Anonymous 

Unfortunately, there is no option other than what you mentioned to hide visualizations.

Indeed, what can be done is either to hide with another object, and then there is a problem with interactivity because the object is "above" the visual.

Or, to manipulate the values and leave the visuals but instead of the values showing some message based on condition, or to add buttons and toggle/hide visualizations based on clicking a button.

There is an idea about this issue, please vote for it here :
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=d29f1752-8129-4f50-af85-d336da28cac1

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.