5 Data Lineage Diagram Examples and How to Document Data Lineage Step by Step
A data lineage diagram shows how data moves from its sources through each transformation to the reports and AI systems that use it, and the fastest way to learn to read and draw one is from examples. This guide walks through five data lineage diagram examples, from table-level lineage for a revenue report to the lineage behind an AI agent's answer, then shows how to document data lineage step by step with a free template.
Five data lineage diagram examples cover most needs: table-level lineage for a report, column-level lineage for one KPI field, business lineage from a critical data element to a regulation, cross-platform lineage that shows where native platform lineage stops, and lineage behind an AI agent's answer. To document data lineage, start with critical data elements, pick the granularity each needs, automate extraction where connectors exist, record manual hops by hand, attach owners and definitions, and review on a cycle. A free template with a CSV version is included.
What does a data lineage diagram show?
A data lineage diagram shows where data comes from, what happens to it and where it ends up, drawn as boxes for systems, tables, columns or reports and arrows for the flows between them. Data lineage itself and its types are defined in our glossary. This guide stays practical: the same revenue and risk data drawn five ways, each for a different reader and a different question. The table names are generic, so use them as patterns for your own diagrams.
| Example | Level of detail | Main reader | Question it answers |
|---|---|---|---|
| 1. Revenue report | Table | Report owners, data engineers | Which tables and systems feed this dashboard? |
| 2. Net revenue field | Column | Analysts, controllers | How exactly is this number calculated? |
| 3. Exposure at default | Business | Risk, compliance, auditors | Which regulation does this data element support, and who owns it? |
| 4. SAP to Power BI | Cross-platform | Platform and governance teams | Where does lineage break between platforms? |
| 5. AI agent answer | Object to agent | AI and data owners | Which data stands behind what the agent said? |
Table-level data lineage diagram example
A table-level lineage diagram shows which source systems, staging tables, warehouse tables and models feed a report, without opening the columns. In the example, a revenue dashboard reads one semantic model, which reads a fact and a dimension table, which are loaded from three staging tables fed by the ERP, the billing system and the CRM.
Start here: it is the cheapest diagram to produce and the easiest to read. Its limit is that every arrow is a black box. It tells you that fct_revenue reads stg_invoices, not which columns or how.
Column-level data lineage diagram example
A column-level lineage diagram traces one target field back to the exact source columns and the calculation that combines them. Here the Net revenue measure on the dashboard comes from fct_revenue.net_revenue_eur, which subtracts tax and credit notes from gross invoice amounts and converts the result to euros. Column-level lineage is explained in depth in the glossary.
Note what the diagram leaves out. customer_id sits in the same source table but does not feed this field, so a change to it does not touch Net revenue. That precision is the point of column-level lineage, and it is also why it costs more to capture: someone or something has to read the SQL. Tracing the field further, to the single chart on a Power BI page, is covered in Power BI visual-level lineage.
Business lineage diagram example
A business lineage diagram connects a business concept to the data that implements it, the reports that use it and the requirement it serves. The example follows Exposure at default (EAD), a critical data element in a bank, from its definition in the business glossary to a column in the risk data warehouse, to the quarterly credit risk report and to BCBS 239, whose Principle 3 expects accurate, reliable risk data aggregated on a largely automated basis.
Business lineage sits on top of technical lineage rather than replacing it. The ECB's guide on risk data aggregation and risk reporting asks banks for complete and up-to-date lineage at data attribute level, from data capture through extraction, transformation and loading, so in practice the business view in this example links down to a column-level diagram like Example 2. The regulatory side is covered in BCBS 239, GDPR and the lineage problem.
Cross-platform data lineage diagram example
A cross-platform lineage diagram follows data across the boundaries between systems, which is where most lineage breaks. In the example, billing data leaves SAP through an extract job, lands in Databricks as bronze, silver and gold tables, and reaches Power BI through a semantic model and a report. Each platform's native lineage covers its own segment: Unity Catalog captures table and column lineage for queries run on Databricks, and the Power BI lineage view shows how a workspace's data sources, semantic models, reports and dashboards connect.
The gaps are the hops. Hop 1 is the extract job that copies SAP data into the lakehouse, often a scheduled pipeline or a file drop that neither SAP nor Databricks records as lineage. Hop 2 is the connection from the gold table to the Power BI semantic model. When all your data and reports live on one platform, its native lineage may be all you need. Once a number crosses platforms, you need lineage that stitches the segments together, and for hops no tool can read, a documented manual entry. Where platform lineage usually stops is mapped in our data lineage tools comparison.
Data lineage example for an AI agent answer
An AI agent lineage diagram links an agent's answer to the semantic view it queried and the tables behind that view. In the example, a finance assistant answers "What was net revenue in Q3 by region?" by reading a revenue metrics view built on gold.revenue. The diagram is what lets someone check whether the agent used the agreed definition, and who to ask if it did not.
The semantic view is the key node. A semantic layer holds the agreed metric definitions, so lineage that reaches it shows both where the data came from and what the agent was told it means. Agents can also use lineage directly: through the Model Context Protocol (MCP), an agent can look up the upstream sources of a table before it answers. Our guide to data lineage for AI shows how an agent walks lineage to explain why a number changed.
Table-level vs column-level lineage diagrams
Table-level lineage shows which objects feed each other, while column-level lineage shows which fields feed which, and through what calculation. Most teams need both: table-level for the overview and column-level for the critical fields.
| Aspect | Table-level diagram | Column-level diagram | What it means for you |
|---|---|---|---|
| Unit drawn | Systems, tables, models, reports | Individual columns, measures and fields | Start table-level everywhere, go column-level where a number must be explained |
| Transformations | Hidden inside the arrows | Shown as the calculation between columns | Only column-level answers "how is this calculated?" |
| Impact analysis | Everything downstream of a table | Only what reads the changed column | Column-level narrows a schema change to what it actually touches |
| Effort to capture | Low, from job and query metadata | Higher, needs SQL parsing or platform support | Check which of your platforms provide column lineage before you promise it |
| Typical reader | Owners, engineers, managers | Analysts, controllers, auditors | Show each reader the level they need, expanded on demand |
How to document data lineage in six steps
To document data lineage, scope it to the data that matters most, capture what tools can extract automatically, record the rest by hand, and attach owners and meaning to every hop. The six steps below work whether you start in a spreadsheet or in a data catalog.
Pick the scope: critical data elements first
List the reports that carry regulatory, financial or executive weight and the critical data elements behind them. Document those end to end before anything else. Lineage for every table at once rarely gets finished.
Choose the granularity per element
Table-level is enough for most flows. Go to column level for fields that must be explained to a regulator, an auditor or a board, and to business lineage where a definition and an owner have to be visible.
Automate extraction where connectors exist
Read lineage from the platforms and frameworks that expose it, such as warehouse query history, dbt lineage and BI metadata. The available methods are compared in data lineage extraction techniques.
Document the manual hops
Spreadsheets, emailed files, Python scripts, manual uploads and extract jobs between platforms are invisible to most tools. Record each one as a hop with its source, target, the person who runs it and where the logic lives.
Attach business context and owners
Link each critical element to its glossary definition and give every hop a named owner and data steward. A lineage diagram without owners shows where a problem is but not who can fix it.
Keep it current and review it
Re-scan automated lineage on a schedule, update manual entries in the same change as the pipeline, and review critical elements on a fixed cycle. A last-verified date on every entry shows reviewers what is stale.
Data lineage documentation template
A data lineage documentation template records one row per hop: where data comes from, where it goes, what happens on the way, how the entry was captured and who vouches for it. The table explains each field with values from the examples above, and the CSV below it can be pasted into a spreadsheet as a starting point. It works alongside a data dictionary, which describes the columns themselves.
| Field | What to record | Example |
|---|---|---|
| hop_id | A stable identifier for the hop | REV-03 |
| source | System and object the data comes from | billing.invoices.amount_gross |
| target | System and object the data goes to | fct_revenue.net_revenue_eur |
| transformation | What happens on the way, in plain words or as the expression | Gross minus tax and credit notes, converted to EUR |
| granularity | System, table or column | Column |
| method | Automated (read by a tool) or manual (documented by a person) | Automated |
| evidence | Where the logic lives | fct_revenue.sql, job name, script path |
| owner | Person accountable for the hop | Finance data owner |
| last_verified | Date someone last confirmed the entry | 2026-11-28 |
The same template as CSV, with five hops from the examples, including two manual ones:
hop_id,source,target,transformation,granularity,method,evidence,owner,last_verified
REV-01,SAP billing tables,bronze.billing,Nightly extract of billing documents,table,manual,Extract job runbook,SAP data owner,2026-11-28
REV-02,bronze.billing,silver.revenue,Deduplicate and standardize currency codes,table,automated,Unity Catalog lineage,Data engineering lead,2026-11-28
REV-03,billing.invoices.amount_gross,fct_revenue.net_revenue_eur,(amount_gross - tax_amount - credit_amount) * rate_to_eur,column,automated,fct_revenue.sql,Finance data owner,2026-11-28
REV-04,gold.revenue,Revenue model,Import into Power BI semantic model,table,automated,Power BI lineage view,BI lead,2026-11-28
RISK-01,Collateral spreadsheet,risk_dwh.exposures,Monthly manual upload of collateral values,table,manual,Upload procedure,Head of Credit Risk,2026-11-15 Keep one row per hop rather than one row per report. When a pipeline changes, you edit the affected hops, and every report that depends on them inherits the update.
Manual vs automated data lineage
Automated lineage is read from platforms and code by a tool, while manual lineage is written down by people. Automated lineage stays current and scales; manual lineage covers what no tool can see and adds the explanation of why a hop exists. A workable program uses both.
Manual diagrams are usually drawn in a whiteboard or diagramming tool such as draw.io, Lucidchart or Visio, or written as code in Mermaid so the diagram lives in version control next to the pipeline it describes. Diagram-as-code goes stale more slowly because a pull request can update it, but it is still a picture of the pipeline, not a reading of it, and the next change that skips the diagram breaks it.
| Aspect | Manual documentation | Automated extraction | What it means for you |
|---|---|---|---|
| Coverage | Anything a person knows about, including spreadsheets and emails | Platforms and frameworks a connector can read | Use automation for the bulk, manual entries for the gaps |
| Freshness | As current as the last review | Updated with every scan | Manual entries need an owner and a last-verified date |
| Granularity | Usually table level; column level is slow by hand | Down to column level where the source supports it | Do not promise column lineage by hand at scale |
| Effort | Grows with every pipeline | Mostly setup, then maintenance of connectors | Manual-only lineage is the first to fall out of date |
| Business meaning | Easy to add the why and the owner | Captures the what; meaning must be added | Link automated lineage to glossary terms and owners |
| Best for | Extract jobs, files, scripts, one-off processes | Warehouses, transformation code, BI tools | Plan both from the start |
How Dawiso documents data lineage
Dawiso's Interactive Data Lineage draws lineage at system, table and column level, with columns folded under their object until you expand them, so one diagram serves both the table-level overview and the column-level detail. The diagram sits on the object's own page in the catalog, next to its description, owners and business glossary links, which is the business context from step 5.
The table-level view above is the same diagram as Example 1, drawn from metadata rather than by hand: warehouse layers are boxes, tables sit inside them, and the Sales Overview report on the right is the consumer. Expanding a table shows its columns and which upstream columns feed each one, as in the next screenshot.
Dawiso builds lineage from four sources: lineage that supported connectors read from the source platform, transformation frameworks such as dbt, parsing of SQL scripts, and relations that users add by hand, which is how manual hops like the extract job in Example 4 get documented. SQL parsing is not on by default and is set up together with the Dawiso team. Depth depends on the source. The Databricks connector reads column lineage from system.access.column_lineage, the Snowflake connector gets column lineage from SQL parsing, and Power BI lineage connects reports, datasets, data sources and gateways at object level. The Databricks connector also scans Genie spaces. Through the Dawiso MCP server, AI agents can trace upstream or downstream dependencies from a selected object, as in Example 5.
FAQ
What is a data lineage diagram?
How do you document data lineage?
What should a data lineage template include?
What is the difference between table-level and column-level lineage diagrams?
Can I document data lineage in Excel?
How often should data lineage documentation be reviewed?
Sources
- Basel Committee on Banking Supervision - Principles for effective risk data aggregation and risk reporting (BCBS 239), January 2013 (Principle 3)
- European Central Bank - Guide on effective risk data aggregation and risk reporting, May 2024 (Section 3.4)
- Databricks - Lineage in Unity Catalog
- Microsoft Learn - Data lineage in Power BI
- Dawiso Help - Data lineage and Sources of data lineage
- Dawiso Help - Databricks, Snowflake, Power BI and Dawiso Model Context Protocol (MCP)
See it in action
Draw lineage from your own platforms
See how Dawiso Interactive Data Lineage shows system, table and column lineage on the same page as owners and definitions.