Understanding modern data warehouses

What is a data warehouse?

Follow application data into a shared analytical system and understand what makes a report trustworthy.

Module 1 · Lesson 1 of 6BeginnerAbout 20 minutes
Your learning goal

Explain why a company combines historical data in a warehouse instead of asking every application for a separate report.

First, understand the meaning

A data warehouse is a system that collects data from different sources, organizes it in a consistent way and keeps it available for analysis and reporting. Its main purpose is to help people answer business questions using current and historical information.

Let us make that concrete. A shop has one application for orders, another for payments and another for returns. The owner asks, “How much money did we keep after refunds this month?” No single application has the complete answer. A warehouse brings the relevant records together so that question can be answered.

Picture it in everyday life

Imagine a school office collecting attendance, exam results and fee records from separate departments. The office puts them into a common reporting system. The warehouse plays a similar role for a business: it combines information so people can see the whole picture.

Why do we need this?

An order system is busy recording new orders. A payment system is busy accepting payments. They are designed to perform their own jobs, so their records may use different names, identifiers or date formats.

A warehouse gives analysts a consistent place to study those records. An analyst is simply a person using data to answer questions. Instead of manually combining three spreadsheets every month, the team builds a repeatable process that prepares the data for reports.

Let us follow it step by step

Here is a simple monthly-sales journey. Each step solves a different problem.

  1. Collect: bring order, payment and refund records from their source applications.
  2. Prepare: make dates and currencies consistent, identify duplicates and connect records using an agreed order ID.
  3. Store: keep the prepared records, including the history needed for comparisons.
  4. Analyze: calculate totals and compare months or products.
  5. Present: show the answer in a report or dashboard. The dashboard displays the answer; it is not the warehouse itself.

Worked example: why one source is not enough

Suppose the shop has two successfully paid orders. One customer later receives a partial refund. For this example, we define net receipts as successful payments minus refunds. We assume one currency and ignore tax and fees.

Worked example: why one source is not enough
OrderSuccessful paymentRefundNet receipts
1011002080
10250050
Total15020130

Four useful characteristics, in simple words

You may see these four terms in books or interviews. Learn the meaning behind the label, rather than only memorizing the words.

Four useful characteristics, in simple words
TermWhat it meansExample
Subject-orientedOrganized around a business subjectSales records from several systems
IntegratedDifferent sources are made consistentCustomer IDs and currencies are reconciled
Time-variantHistory and dates matterCompare January with February
Non-volatileHistory is kept deliberately, not constantly overwritten by daily transactionsKeep past sales; correct errors through controlled changes

Before you move on

A warehouse helps you study the business; source applications carry out its daily work. Remember the journey: collect, prepare, store, analyze and report. A warehouse still needs correct definitions and quality checks—central storage alone cannot decide what “revenue” means.

Interactive explainer1 / 4

What is a data warehouse?

Orders
Payments
Returns

Collect

The order, payment and returns applications each hold one part of the story.

Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.

Read the complete diagram explanation
  1. Collect

    The order, payment and returns applications each hold one part of the story.

  2. Prepare

    Connect records using the order ID and check currencies, dates and duplicates.

  3. Calculate

    In the example, payments of 150 minus refunds of 20 give net receipts of 130.

  4. Report

    Show the answer and the period it covers. A report based on yesterday’s load does not include today’s new payments.

Important terms

Data warehouse
A system that combines and organizes data for analysis and reporting.
Historical data
Records about earlier periods, kept so we can compare or explain what happened.
Pipeline
A repeatable sequence that moves and prepares data.
Grain
What one row represents, such as one order or one order item.
Put it into context

A practical example

Northstar Shop joins orders to successful payments and refunds using order_id. It groups the resulting amounts by month. Before joining, the team checks whether multiple payment attempts could duplicate an order.

Production tip

Write down the grain, freshness target and owner of a reporting table. These decisions matter before choosing a chart.

Common mistake

Loading files does not automatically make their meaning consistent. Currency, time zones and duplicate records still need explicit rules.

Check your understanding

Orders show £1,000, but £100 was refunded. What should you do before publishing revenue?

Practice challenge

List the sources needed to report net sales by product, and name one data-quality check.

Compare your reasoning

Use order items, successful payments and refunds, plus product identifiers. Check for duplicate order-item keys and agree how order-level refunds are allocated.

What to remember

A warehouse helps you study the business; source applications carry out its daily work. Remember the journey: collect, prepare, store, analyze and report. A warehouse still needs correct definitions and quality checks—central storage alone cannot decide what “revenue” means.

Revisit this concept in Visual Labs →