Filter Rows¶
On a container's Explore tab, show only the rows that match a condition by writing it in the WHERE field.
Related
- Concept: Datastore and Container Tabs for where the filter runs and which SQL it takes.
- Hide Result Columns to narrow the columns too.
Permission Required
Opening the container's Explore tab needs the Viewer team permission or higher on the datastore.
Step 1: Open the container and click its Explore tab.
Step 2: Type a condition in the WHERE field, for example status = 'active'. The hint under the field says what it takes: A condition in SQL that both Spark and <connector> read on a database datastore, or A Spark SQL condition on a file datastore.
Step 3: Click Run, or press Cmd+EnterCtrl+Enter in the field.
The results show the first 100 rows that match. Click View SQL to see the full query the tab runs.
Remove the filter
Click Clear the filter beside the WHERE field. It empties the field and runs the workspace again, so the grid shows the rows without the filter.