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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HEADS
Regular Visitor

Hiding Visuals In PowerBI Based on Number of Rows

We have several dashboards in PowerBI and we want to hide certain graphs/charts if there isn't at least 5 rows of data (for privacy concerns). I have created a measure to check this condition. Now we currently use Card components to display a message based on this measure to tell users their filters are too selective and they need to lessen the criteria. We have also connected our actual tables/graphs to this measure as a filter so that users don't see any data. However, we'd prefer to have the tables/charts completely hidden so that we could display more information to the user about why this is necessary/happening instead of all the blank space. Here is what we currently end up with:

 

HEADS_0-1739203538576.png

 

I was able to have a Card component overlay that could do this and become transparent so users could see the data in the tables/charts when we have more than 5 rows of data but we lose the ability to click into the tables/line graphs. The card component can become transparent but not allow the user to click through it into components beneath.

 

Has anyone tried to accomplish something similar and if so how were you able to do so?

 

3 REPLIES 3
HEADS
Regular Visitor

Thank you, it seems similar to what I did already but let me go through it and see if it solves my problem.

Anonymous
Not applicable

Hi @HEADS,

 

Is there any progress on this issue?

 

If you find any answer is helpful to you, please remember to accept it.

 

It will help others who meet the similar question in this forum.

 

Thank you for your understanding.

parry2k
Super User
Super User

@HEADS I have something similar here and that should work for you;

 

Color transparency and conditional formatting is VERY powerful Part 1 - Power BI

Conditional Formatting and Transparency to develop user friendly reports Part II - Power BI

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.