Analysis
Analysis overview
Query data with AI, model fields, or SQL
Analysis includes questions answered by Switchboard AI and explores built inside documents. An explore is a query and its display. It can show results as a table, chart, or scorecard.
Query methods
| Method | How you define the query |
|---|---|
| Ask a question | Describe what you need in a conversation. AI selects data and returns an answer with supporting results. |
| Build an explore | Select a model's fields, summary calculations, and filters. The explore queries those definitions. |
| Build an explore with SQL | Write and save a query as a SQL base, then use its output in a document tile. |
For a temporary SQL query outside a document, use the SQL scratchpad. It is separate from a saved SQL base used by an explore.
You need access to the data you query. Creating or changing an explore also requires permission to edit its document. Each guide lists its requirements. See roles and access if a required action is unavailable.
Refine the results
- Use embedded Operator to ask about a tile or edit content within a document.
- Choose a table, chart, or scorecard to configure the display.
- Add a calculation to calculate from query results.
- Add conditional formatting to highlight values in a table.
- Add document filters to control linked explores from one selection.
Model fields and summary calculations belong to the context layer. For preparing tables and refreshing their data, see data engineering.