Skip to content
All articles

Trending topics / Data and analytics

Before asking AI, agree on the number

Conversational analytics makes questions easier to ask. Shared metric definitions, visible evidence and a few careful checks make the answers worth using.

PTL insightsReviewed 5 min read
An analytics report displayed on a desk monitor
A chart and a conversational answer should use the same agreed definition of a business measure.

Ask two departments whether deliveries improved last month and you may get two different answers. One counts parcels, another counts orders. One measures the original promise, another uses the revised date. Both reports can calculate perfectly and still disagree.

A conversational interface makes this disagreement easier to miss. The answer arrives as a confident sentence, with the definition hidden underneath. The useful change in analytics is to make business meaning reusable across dashboards, queries and AI tools, then keep the evidence open to inspection.

Write the definition before building the chart

Consider a hypothetical distributor tracking on-time delivery. Start with a sentence that a warehouse manager and an analyst can both check. For this example, count an eligible order as on time only when every promised item arrives by its original committed date. Group orders by that committed date, not the date someone eventually marked them complete. This makes late, still-open orders visible in the period when the business owed a delivery.

The difficult decisions appear in the exceptions. How should cancellations work? What if the delivery timestamp is missing? Who may change the promise date? Agree those rules with the people who use the report. Record an owner and a version so a later change can be explained. The example below is one possible definition, not a standard that every distributor should adopt. Its value is that the choices are explicit.

An example metric agreement for on-time delivery
QuestionDecision for this example
What is one observation?One customer order, even if it has several parcels.
Which orders count?Orders due in the period, excluding those cancelled before their original due date.
What counts as on time?All promised items delivered by the original committed date.
What about missing evidence?Keep the order in the denominator, exclude it from the on-time count and flag it for investigation.
How is the rate calculated?On-time eligible orders divided by all eligible orders. Show both counts.
Who owns changes?The operations owner approves the rule; the data team versions and tests the calculation.

Put agreed meaning where tools can reuse it

A semantic layer stores reusable business definitions between the underlying data and the tools asking questions. In dbt's implementation, teams define metrics over data models, and MetricFlow handles query generation and joins. Downstream tools can consume those definitions rather than each recreate a formula. This is one implementation choice; an existing BI semantic model may already provide a suitable starting point for a smaller team.[1]

The underlying structure still matters. Microsoft's Power BI guidance separates facts, which record events and measurements, from dimensions used to filter or group them. It stresses a consistent level of detail in fact tables. For the distributor, mixing parcel events with order-level delivery promises without a deliberate aggregation step can inflate the count. A documented metric cannot repair a join that creates extra observations.[2]

What the 2026 evidence does and does not say

On 7 April 2026, dbt published an updated comparison of text-to-SQL and its semantic layer. The experiment used 11 questions, repeated 20 times, on an insurance dataset. Its authors reported that additional data modelling improved both approaches. They also described questions the initial semantic model could not answer until its modelling changed. This is a vendor-run benchmark on a particular task set, not a universal accuracy estimate for business analytics.[3]

The practical lesson is to test the questions your team actually asks. A constrained set of approved metrics can make familiar questions easier to check, while new exploratory questions may need an analyst and additional modelling. Neither approach proves that the source records are correct or that the user selected the right time period. Include ambiguous wording and unsupported questions in a trial, and expect a request for clarification when the intended meaning is unclear.

The average that changes the story

Suppose one depot delivers 9 of 10 eligible orders on time and another delivers 50 of 100. Their rates are 90% and 50%. Averaging those percentages gives 70%, but the combined order-level rate is 59 divided by 110, or approximately 53.6%. The larger depot carries more orders and therefore more weight. This is an illustrative calculation, not a reported client result.

Both calculations can answer a question, but they answer different ones. An unweighted average describes the average depot rate. The combined fraction describes the share of all orders delivered on time. Ask which decision the reader is making before choosing a presentation. Show the counts with the percentage, preserve filters when opening supporting records, and check that exports and AI summaries recompute totals using the agreed rule.

Same data, different questions
  1. 70% average depot rate

    Each depot receives equal weight, despite handling different numbers of orders.

  2. 53.6% of orders on time

    Combine the underlying counts: 59 on-time orders out of 110 eligible orders.

Make the answer inspectable

In its discussion of AI analytics, Databricks argues for shared business context, permission-aware execution and evidence that users can inspect. The useful distinction is between showing supporting data and claiming to reveal a model's private reasoning. Readers need the selected metric, period, filters, query or calculation, and source records they are allowed to see. A persuasive explanation on its own does not establish any of those details.[4]

For the delivery example, an answer could identify the agreed metric version, show 59 out of 110, state when the source last refreshed and link to the relevant depot breakdown. If yesterday's delivery import failed, label the incomplete period before drawing a trend. Give users a visible way to report an incorrect answer, and route that feedback to someone who can distinguish a data problem from a definition or interpretation problem.

Start with a small set of recurring management questions. Compare the dashboard, an analyst's checked calculation and the conversational answer on the same records. Repeat the exercise after a metric changes or a new data source arrives. Keep exploratory questions separate from approved reporting until someone validates the new logic. The aim is a shorter path to a defensible decision, with enough context for a reader to challenge the number.

Sources and further reading

Sources were checked on the review date above. Product availability and documentation can change.

  1. 1.
    dbt Semantic Layer

    dbt documentation

  2. 2.
  3. 3.
  4. 4.