Skip to content

Building workbook queries on topics

When you create a workbook or add a new query tab, you’ll be prompted to select a starting point for the query. The All Views & Fields view will display the topics you have access to in the model that the workbook is based on.

To change topics in a query tab, use the topic switcher in the top left corner of the field browser.

Select the topic you want to use, which will populate the field browser with the topic’s tables and fields.

Example topics with labels, descriptions, and groups

A query can only use a single topic at a time. However, depending on your needs, there are a few workarounds that may be useful.

Start your analysis in the topic that best matches your use case. Then:

  • Consider adding a new join path to data that isn’t included in the topic yet, or
  • If there isn’t a clear relationship, consider using XLOOKUPs or a spreadsheet tab to combine multiple queries into a final output

Note: While a query can only be tied to one topic, you can use multiple topics in a single document by adding multiple queries. The topics must exist in the model that the workbook is built on.

If the Workbook Agent is enabled in your JustAsk instance, you can use the agent to query topics using natural language.

Click the ✨ icon in the left navigation in the workbook to open the chat panel. Refer to the Building queries & filters with AI guide for more tips on using the Workbook Agent.

Topics are configured by your data team. Once available, you can use them as the basis for any query.