Home / Data modeling
Free guides · 15 short reads · One example all the way through

Data modeling for AI and self-service

Find out what your data really means before your AI tool answers from it. Read it in order. Stop after level 1 if that is all you need.

Same rows. Three answers.

RIGHT100.00April revenue, by reporting date.
WRONG200.00Joined to two contract terms. Every row counted twice.
WRONG400.00No date filter. All time (here, only 2025), not April.
One customer, one product, three revenue rows. Nothing errors in any of the three. Example data, not from a client.
Start at guide 1No sign-up.

Reports and AI tools read the same model. If the model allows the wrong number, the dashboard shows it and the AI hands it back with confidence.

Who this is for

BI developers, analytics engineers and BI leads who own the layer between the warehouse and the reports, and now have to point AI tools, coding agents or business users at it. The ideas hold whether that layer lives in Power BI, Tableau, dbt or your warehouse.

Check these before any tool answers

Four questions. Print them, or paste them into your model review.

  • What does one row mean in each fact table?
  • Does any join change the row count of the table being summed? Compare row counts before and after.
  • Which date does each measure use, and does the report say so?
  • What happens with no rows, with a zero, and with an unknown date? Those should be three different results.

Privacy

Level 1: Model the data

One idea each, with a made-up example you can check by hand.

Level 2: AI layer

Eight parts on ontologies, semantic models and routing AI through governed metrics.

Read the 8 parts →

See all the diagrams

What still needs a human

MeaningYou decide what each table and measure means. The tool can trace it. It can't decide it.
Sign-offDefinitions get approved by a person before anyone builds on them or points AI tools at them.
Your own checksChecks on the example prove the example. Your system needs checks written for your system.

Where our tools fit

If your reports run on Power BI:

Further reading

  • Microsoft Learn: Prepare your semantic model for AIRead
  • Microsoft Learn: Optimize your semantic model for CopilotRead
  • dbt docs: The dbt Semantic LayerRead
  • Kimball Group: GrainRead

Last updated November 2026