Module 1 of 16

What Analytics Engineering Actually Is

Understand the job: turn raw tables into trusted business meaning.

Updated

75 minutes1 exercisesFree

Start here

Learning objectives

  • Explain analytics engineering in beginner-friendly language
  • Separate data engineering, analytics engineering, and BI work
  • Understand why trust matters more than query cleverness
What Analytics Engineering Actually Is Follow the arrows. Each box is one idea you will practice in this module. Raw data step 1 Models step 2 Tests step 3 Metrics step 4 Decisions step 5 Production analytics engineering turns raw records into governed, trusted business meaning.

The Mental Model

Analytics engineering sits between raw data movement and business decision-making. The work is to make data clean, tested, documented, reusable, and understandable.

If data engineering brings boxes into a warehouse, analytics engineering labels the boxes, checks what is inside, creates shelves, and writes the map everyone else uses.

Course Dataset

The course uses a small ecommerce model. Individual worked examples provide their own rows and state any narrower assumptions.

TableGrainExample columns
raw_ordersone row per order in the lesson fixtures; deduplicate source events before using this grainorder_id, customer_id, amount, status, created_at
raw_order_itemsone row per item inside an orderorder_id, product_id, quantity, item_price
raw_customersone row per current customercustomer_id, email, country, created_at

Reconcile two revenue dashboards

In this example, finance reports 9,200 and sales reports 10,000 for the same day. Both read the same warehouse. The difference is a missing refund rule, not missing data.

ComponentAmountDefinition
Completed orders10,000Gross amount before refunds
Refunds800Refunds attributed to those orders
Net revenue9,200Gross amount minus refunds

The analytics engineer defines the metric once, records the refund timing rule, tests the calculation, and points both dashboards at it. The sales dashboard can still show gross revenue, but its label must say so.

Acceptance check: a new consumer can reproduce 9,200 without copying a dashboard-specific formula.

Interactive Check

Question: A dashboard says revenue is $10,000, but another dashboard says $9,200. Is this mainly a charting problem or a modeling/metric definition problem?

Reveal the answer

It is usually a modeling or metric definition problem. Two dashboards probably use different filters, grains, joins, or revenue definitions. The fix is a governed metric, not another chart.

Practice: Classify the Analytics Stack

Place raw tables, staging models, marts, metrics, semantic layer, dashboards, and AI tools in the correct order.

Use the guided lab below to record your result, assumptions, and the check that would catch an incorrect result.

Real world

Where this shows up

  • Reliable executive dashboards that do not disagree across teams
  • AI analytics agents that query governed metrics instead of guessing SQL
  • Auditable metric changes where owners can see downstream impact before merge

Production notes

Keep these close

  • Define ownership for every model early. Orphaned data models become silent liabilities.

Common mistakes

What usually breaks

  • Thinking analytics engineering is only dashboard work
  • Skipping documentation because the SQL seems obvious
  • Letting every dashboard redefine core metrics

Think like an engineer

Questions to answer before shipping

  • Can you explain the grain of this model in one sentence?
  • What breaks downstream if this field becomes null tomorrow?
  • Where should this logic live so it is reused instead of copied?

Key terms

Vocabulary used in this module

Analytics engineering

The practice of building tested, documented, business-ready data models and metrics.

Metric

A governed business measurement such as revenue, active users, or conversion rate.

Exercises

Practice inside the lesson

30-45 minutesBeginner

Classify the Analytics Stack

Place raw tables, staging models, marts, metrics, semantic layer, dashboards, and AI tools in the correct order.

  1. Read the seven components listed in the lesson
  2. Draw them as a left-to-right flow
  3. Mark which components are owned by analytics engineers
  4. Write one sentence describing why each layer exists

Expected evidence

A short answer, SQL/YAML snippet, or lineage map that can live directly in the course page notes.

Recap

Key takeaways

  • Analytics engineering creates trusted business-ready data
  • The core output is not a dashboard; it is reusable meaning
  • dbt is one tool in a broader production data workflow

Related resources

Keep learning across CodersSecret