Your First Spreadic Query
Querying your data using the Spreadic UI is easy.
Pick a cell in your sheet where you want to load your data into and call up the Spreadic UI. By default, the UI will be in the Tabular Data
mode, which allows you to retrieve data from the underlying data table (a data table is also known as a “model” in Spreadic) by selecting the columns that you need:
Model: Select the model that you want to retrieve data from. To build your first query, it would be good to start with a model that you are familiar with. Once you have selected a model, you will see two new sections -
Column
andFilter
- showing up in the UI.Column: Click on
Select column here
, you can then choose from the dropdown menu of all the columns available in the model. Hit theADD
button to include the column in your query. Repeat this step until you have all the columns that you want underSelected Column(s)
.Filter (Optional): This section controls how you want to limit your query. For example, you can limit your query to just customers registered in the past month, or you may want to look at only transactions over a certain amount. There are a lot of possibilities to explore. But as a first query, you can leave this section blank for now.
Ordering Item (Optional): This section is for sorting the data by one or more of the selected column (by ascending or descending order).
You're all set and can now hit FETCH DATA
at the bottom of the UI to retrieve the data.

There you go! You have run your first Spreadic query successfully and you should now see a table of data expanding from the cell that you picked at the start (make sure you're leaving enough space for the data to load)!
Last updated