A read-only copy of Rekount Cloud with our lab's agents. Nothing here is a customer's. Back to the demo
Rekount Cloud

← Guides

Give it the measure

It writes the calculation differently from run to run.

What points here

Its wordings split at the query the agent wrote.

Why it happens

The agent worked the calculation out itself, and differently between runs. A figure your business already calculates should be a measure with a clear name and description (semantic model), or an example query (lakehouse, warehouse or Genie), so the agent uses it instead of reinventing it.

What to try

  1. Semantic model: add a measure for the figure, with a description that says what it includes. Example queries aren't supported for a semantic-model source. A person can also add a verified answer in Power BI (Prep data for AI) for the exact question.
  2. Lakehouse or warehouse: add an example question and its SQL to the data source (up to 100), or a view that holds the calculation.
  3. Genie: add an example SQL or a SQL snippet to the space.
  4. Keep names honest: a measure named Average Price should compute the average your business means.

How you'll know

Runs of the question should now use the same calculation and agree with the expected answer.

Other guides

Pin down the reading · Write the definition down, with its conventions · Point it at one source · Say how to report it · Make the label match the method · When it declines · Refresh the expected answer · Keep a definition to its own questions · Find where the runs split · Test every change before it ships · Describe what each number means · Name things the way the business does · Fix the structure of the model first · Turn on and use Prep data for AI