Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Databases, SQL & BIData / ETL / BIMiddleCommonPractical

How would you reconcile a BI dashboard value with its source database?

Answer

Start from the displayed measure's business definition, filter context, time zone, refresh time and aggregation grain, then trace its lineage through the semantic model and transformations to authoritative source rows. Reproduce the calculation with an independent SQL query and control totals rather than copying the dashboard's own logic. Test drill-downs, hidden filters, many-to-many relationships, rounding, late data, row-level security, cache or refresh lag and exports so matching one headline number does not hide inconsistent detail.

Strong answer includes

  • traces business definition and lineage
  • uses independent SQL and control totals
  • covers filters, security, freshness and detail-level consistency

Practical example

Independent control total for a dashboard KPI
Dialect · SQL standardRuntime · static example

Uses a SQL-standard TIMESTAMP typed literal that the SQLite playground does not accept in this form.

SELECT
  COUNT(*) AS paid_orders,
  SUM(amount) AS paid_revenue
FROM orders
WHERE status = 'paid'
  AND paid_at >= TIMESTAMP '2026-08-01 00:00:00'
  AND paid_at <  TIMESTAMP '2026-09-01 00:00:00';

The query reproduces the business definition directly from source rows rather than copying the dashboard calculation. The comparison must use the same time zone, status definition, refresh cutoff and grain as the KPI specification.

Expected result: Source counts and totals that can be reconciled against the displayed KPI.

#database#sql#bi#reconciliation

Sources

Understand star schema and its importance for Power BIMicrosoft · Facts, dimensions, grain, relationships and semantic-model qualityAdd data tests to your DAGdbt Labs · Reusable assertions for analytics transformations and data contracts