Hide view in app, if there are no entries in table.

Hello,

Is it possible to hide the view, if there are no entries in it?

 
Example: I have a  view called 'OVERDUE', which displays a slice with condition to select only overdue items ([overdue date]>today()). So, if there are no overdue items, I would like the view to not be shown at all in app.

Thank you in advance.

 

Solved Solved
0 2 175
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Hi @David_H1 

In the show_if section of your view:

Aurelien_0-1672943310033.png

This may do the trick:

ISNOTBLANK(yourSlice[keycolumn])

 

View solution in original post

2 REPLIES 2

Aurelien
Google Developer Expert
Google Developer Expert

Hi @David_H1 

In the show_if section of your view:

Aurelien_0-1672943310033.png

This may do the trick:

ISNOTBLANK(yourSlice[keycolumn])

 

Hi @Aurelien, This solves it!

Thank you so much.

Top Labels in this Space