Data modelling

Define the grain before the metric.

A reporting model controls what one row means and where business logic lives.

Visual model

From records to decision-ready metrics.

The grain fixes the meaning of each row. Facts and dimensions organise analysis. Marts and the semantic layer expose governed measures.

Data grainStar schemaData martsSemantic layer

Data grain

State what one row represents.

Examples include one expense, one approval cycle, or one organisation-month.

Star schema

Separate events from context.

Facts hold measures. Dimensions provide time, organisation, vendor, and category context.

Data marts

Serve one decision area.

A mart gives users a stable view for spend, contracts, approvals, or service performance.

Semantic layer

Define the metric once.

The dashboard reads governed measures instead of rebuilding business logic.

Where I used it

Enterprise Spend

Five reporting marts

dbt models serve spend, contract, vendor, approval, and currency analysis.

View project →
NHS Reporting

Organisation-month reporting

A controlled model combines workforce, absence, demand, and delivery measures.

View project →