modellerUpdated 2026-05-15

Query Panel

What this covers

The Query panel is a SQL workbench inside Model Builder. Paste a SQL statement, choose a dialect, validate it, explain the route, or execute it against the model. Use it when you need to test the query router directly instead of building a pivot in the Measure Query Panel.

Main controls

ControlPurpose
SQL editorHolds the raw query sent to the router.
DialectTells the validator how to parse the query.
Force routeOptional override for source, aggregate, or pocket routing during investigation.
PersonaRuns the query as a selected persona so security and parameter filters can be checked.
ValidateParses and checks the query without execution.
ExplainShows the route and compiler trace without returning result rows.
ExecuteRuns the query and displays rows, timing, route, and trace output.

When to use it

Use the Query panel to reproduce a BI-tool query, debug routing, compare forced routes, inspect generated SQL, and confirm row-security behavior for a persona. Use the Measure Query Panel when the question starts from one model measure and a few dimensions.

Reading the route

The route trace explains whether Tessallite used an aggregate, a pocket table, or the live source. If the route is unexpected, run Explain first, then use Force route only for diagnosis.

Related