Docs portal

Saving queries

To reuse your query either in the dataset or in a specific project, you'll need to save it. In the above example the query was written to denormalize the data in the original database and make it more accessible for business analysts. Because this query is a building block to most other queries about products, we are going to save this query to the dataset. That way everyone else who uses this dataset in a project will have access to the query:

To save your query to the dataset, select Save next to the Run query button and choose your dataset name from the dropdown:

Screen_Shot_2020-03-23_at_5.10.11_PM.png

Notice that the query now shows up as a resource in the dataset in the left sidebar of the workspace:

Screen_Shot_2020-03-23_at_5.11.10_PM.png