Filtering Out Empty Rows from Gallery-Type Views

V-A
Silver 1
Silver 1

I'm using the AppSheet Journal template and created a gallery-type view for uploaded images.  The app displays a blank rectangle (as shown circled below) for each row without an image.  How do I filter those rows out?

 

VA_1-1674840131801.png

Thanks.

Solved Solved
0 2 74
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Hi @V-A 

You could use a Slice with the row filter condition:

 

ISNOTBLANK([Image])

 

Then use this slice as a datasource for your view.

Aurelien_0-1674841698366.png

For reference:

Slices: The Essentials - AppSheet Help

Views: The Essentials - AppSheet Help

 

View solution in original post

2 REPLIES 2

Aurelien
Google Developer Expert
Google Developer Expert

Hi @V-A 

You could use a Slice with the row filter condition:

 

ISNOTBLANK([Image])

 

Then use this slice as a datasource for your view.

Aurelien_0-1674841698366.png

For reference:

Slices: The Essentials - AppSheet Help

Views: The Essentials - AppSheet Help

 

Hi @Aurelien, many thanks for the quick reply and references.  The suggestion solved the problem.  Thanks.

Top Labels in this Space