Hide view when empty?

Hello!

I would like to hide one of my views from the bottom bar when the associated slice is empty (which it should be most of the time).

I know i need to use a formula in display options but i am not sure how to write it.

Thanks!

Show If: COUNT(TableName[KeyColumn])>0

1 Like

Or ISNOTBLANK(TableName[KeyColumn]).

1 Like

Or that. ^

1 Like

What I do is a variation on what has been pointed to by @Bahbus and @Steve. I make a separate view to tell the user that the view has no data (which makes sense in my app). I’ve described my approach here:

1 Like