Building queries & filters with AI
The Workbook Agent enables conversational analytics that take the need for technical know-how out of data analysis.
Workbook Agent
Section titled “Workbook Agent”The Workbook Agent can help you create and refine workbook queries using natural language. You can ask questions like:
- What was the total revenue for the last three months?
- How many new users signed up last month?
- How many support tickets are submitted on weekends?
The Workbook Agent will either provide a text response or generate a query in the workbook.
Generating queries
Section titled “Generating queries”To open the Workbook Agent, click the icon in the sidebar. A panel will open next to the field browser with some tips about how to use the agent, as well as a text box to ask your first question.
In addition to generating queries, the Workbook Agent can also:
-
Iterate on the questions you ask to provide a more refined result. For example:
You: How many orders did we have in California?JustAsk Agent: 1,005You: How about in just the last 30 days?JustAsk Agent: 126Note: Closing the Workbook Agent will delete the text history.
-
Add totals to results, such as adding a column total that sums a Sale Price measure
-
Create new measure fields, such as a Sale Price Average
-
Create input columns to annotate query results inline. Refer to Input columns to learn more.
-
Attach images by pasting from your clipboard to provide visual context (for example, pasting a screenshot of a chart you want to analyze)
To attach an image, copy it to your clipboard and paste it directly into the Workbook Agent text input. The image appears as a file chip, ready to be sent with your message.
Creating filters
Section titled “Creating filters”Make filtering easier by having the agent create filters for you using natural language. You can describe a filter like Only include orders created on a Saturday or Exclude customers with a status of deactivated and the agent will automatically apply the filter to the query.
Summarizing query results
Section titled “Summarizing query results”In addition to helping you build queries, the agent can also summarize the results of the query for you. For example, you can ask the agent to:
- Describe any anomalies in the data
- Identify insights into trends
- Detail the next steps you should take
To get started, enter a prompt directly in the Workbook Agent. To make a summary part of a dashboard, use the AI summary visualization.
Generating forecasts
Section titled “Generating forecasts”The agent can generate statistical forecasts for time-series data. Refer to Generating forecasts with AI to learn more.
Generating visualizations
Section titled “Generating visualizations”The agent can also generate visualizations based on your query results. Refer to Generating visualizations with AI to learn more.
Getting help
Section titled “Getting help”If you’re stuck and can’t remember how to do something in JustAsk, just ask the JustAsk Agent. Questions like “How do I do [thing]?” will prompt the agent to search the docs and provide you with an answer, all without leaving your JustAsk workflow.
You can also directly tell the agent to search the docs when researching the answer to your question.