Skip to main content

5 Data Lineage Diagram Examples and How to Document Data Lineage Step by Step

Samuel Nagy
Samuel Nagy
VP of Strategic Growth

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.

TL;DR

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.

ExampleLevel of detailMain readerQuestion it answers
1. Revenue reportTableReport owners, data engineersWhich tables and systems feed this dashboard?
2. Net revenue fieldColumnAnalysts, controllersHow exactly is this number calculated?
3. Exposure at defaultBusinessRisk, compliance, auditorsWhich regulation does this data element support, and who owns it?
4. SAP to Power BICross-platformPlatform and governance teamsWhere does lineage break between platforms?
5. AI agent answerObject to agentAI and data ownersWhich 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.

Table-level data lineage diagram exampleRevenue report lineage in five layers: sources, staging, warehouse, semantic model and dashboard. EXAMPLE 1 - TABLE-LEVEL LINEAGE Revenue report, from source systems to dashboard SOURCES STAGING WAREHOUSE SEMANTIC MODEL DASHBOARD ERP sales orders Billing invoices CRM accounts stg_orders staging table stg_invoices staging table stg_accounts staging table fct_revenue fact table dim_customer dimension table Revenue model semantic model Revenue dashboard net revenue by region
Click to enlarge

What it shows

Systems and tables behind one report, in the order data flows, with transformations hidden inside each arrow.

Who uses it

Report owners checking what their dashboard depends on, and data engineers planning a change to a staging or warehouse table.

Question it answers

If stg_invoices fails tonight, which reports are wrong tomorrow morning?

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.

Column-level data lineage diagram exampleFour source columns in three tables feed one transformation, which produces the net_revenue_eur column, the Net revenue measure and a report visual. EXAMPLE 2 - COLUMN-LEVEL LINEAGE How the Net revenue field is calculated billing.invoices billing.credit_notes ref.fx_rates amount_gross tax_amount credit_amount rate_to_eur customer_id (not used) TRANSFORMATION (amount_gross - tax_amount - credit_amount) * rate_to_eur in fct_revenue.sql fct_revenue net_revenue_eur measure Net revenue report visual Revenue by region
Click to enlarge

What it shows

The source columns behind one field, the calculation between them, and the measure and visual that display the result.

Who uses it

Analysts and controllers who need to explain a number, and engineers scoping a column rename or type change.

Question it answers

Why does Net revenue on the dashboard differ from the invoice total in billing?

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 diagram exampleA critical data element traced from the business term through the data and the report to the regulation it supports. EXAMPLE 3 - BUSINESS LINEAGE A critical data element traced to the regulation it supports BUSINESS TERM REPORT REGULATION DATA Exposure at default (EAD) risk_dwh.exposures.ead_amount Quarterly credit risk report BCBS 239, Principle 3 Critical data element in the business glossary Owner: Head of Credit Risk, with an approved definition and rule Column in the risk data warehouse Loaded daily from the core banking loan system Credit exposure section, reviewed by the risk committee Each figure links back to the term and the column above Accurate, reliable risk data, aggregated on a largely automated basis The ECB guide expects lineage at data attribute level implemented by feeds evidence for
Click to enlarge

What it shows

Meaning and accountability: the agreed definition, its owner, the data that implements it and the obligation it supports.

Who uses it

Risk and compliance teams, internal audit and supervisors, plus the business owner who signs off the definition.

Question it answers

Can we show where the EAD figure in the risk report comes from, and who is accountable for it?

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.

Cross-platform data lineage diagram exampleRevenue data flows from SAP through Databricks to Power BI. Native lineage covers each platform, with gaps at the hops between them. EXAMPLE 4 - CROSS-PLATFORM LINEAGE Revenue from SAP through Databricks to Power BI SAP ERP source Databricks lakehouse Power BI BI and reports Billing data ERP tables bronze.billing raw copy silver.revenue cleaned gold.revenue by region Revenue model semantic model Revenue report report page Hop 1 Hop 2 Inside SAP only Unity Catalog lineage Power BI lineage view gap gap Cross-platform lineage connects all three, hops included
Click to enlarge

What it shows

The full path across platforms, with the hand-offs between them marked as hops that need their own documentation.

Who uses it

Platform teams, governance leads and anyone deciding whether a platform's built-in lineage is enough.

Question it answers

Which SAP tables does the Power BI revenue report ultimately depend on?

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.

Data lineage example for an AI agent answerAn agent answer traced back through the agent and the semantic view to the source table. EXAMPLE 5 - LINEAGE FOR AN AI AGENT ANSWER Which data stands behind an agent's answer SOURCE SEMANTIC VIEW AI AGENT ANSWER gold.revenue Revenue metrics view Finance assistant Net revenue for Q3, by region Lakehouse table with an owner and a business definition Its own lineage runs back to the sources in Example 4 Defines Net revenue, its filters and the allowed joins The agent queries the view, not the raw tables AI agent that answers finance questions in chat Reads data with the permissions of the user who asks Returned with the source table, the metric definition and the owner, so the answer can be checked modeled in read by answers with
Click to enlarge

What it shows

The chain from a table through a semantic view to the agent and its answer, with owners and definitions along the way.

Who uses it

Owners of AI agents, data owners whose tables agents read, and reviewers checking an answer that looks wrong.

Question it answers

Which data and which definition did the agent use, and who is accountable for them?

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.

AspectTable-level diagramColumn-level diagramWhat it means for you
Unit drawnSystems, tables, models, reportsIndividual columns, measures and fieldsStart table-level everywhere, go column-level where a number must be explained
TransformationsHidden inside the arrowsShown as the calculation between columnsOnly column-level answers "how is this calculated?"
Impact analysisEverything downstream of a tableOnly what reads the changed columnColumn-level narrows a schema change to what it actually touches
Effort to captureLow, from job and query metadataHigher, needs SQL parsing or platform supportCheck which of your platforms provide column lineage before you promise it
Typical readerOwners, engineers, managersAnalysts, controllers, auditorsShow 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.

1

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.

2

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.

3

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.

4

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.

5

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.

6

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.

FieldWhat to recordExample
hop_idA stable identifier for the hopREV-03
sourceSystem and object the data comes frombilling.invoices.amount_gross
targetSystem and object the data goes tofct_revenue.net_revenue_eur
transformationWhat happens on the way, in plain words or as the expressionGross minus tax and credit notes, converted to EUR
granularitySystem, table or columnColumn
methodAutomated (read by a tool) or manual (documented by a person)Automated
evidenceWhere the logic livesfct_revenue.sql, job name, script path
ownerPerson accountable for the hopFinance data owner
last_verifiedDate someone last confirmed the entry2026-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.

AspectManual documentationAutomated extractionWhat it means for you
CoverageAnything a person knows about, including spreadsheets and emailsPlatforms and frameworks a connector can readUse automation for the bulk, manual entries for the gaps
FreshnessAs current as the last reviewUpdated with every scanManual entries need an owner and a last-verified date
GranularityUsually table level; column level is slow by handDown to column level where the source supports itDo not promise column lineage by hand at scale
EffortGrows with every pipelineMostly setup, then maintenance of connectorsManual-only lineage is the first to fall out of date
Business meaningEasy to add the why and the ownerCaptures the what; meaning must be addedLink automated lineage to glossary terms and owners
Best forExtract jobs, files, scripts, one-off processesWarehouses, transformation code, BI toolsPlan 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.

Table-level data lineage in Dawiso: tables in the L1 Storage Layer and L2 Sales Datamart of a data warehouse feed the Sales_Overview view, which feeds the Sales Overview report in Sales Reporting
Click to enlarge

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.

Column-level data lineage in Dawiso: the Transaction_Instance table expanded into its columns, each with its upstream links and a GDPR classification label
Click to enlarge

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.

Attributes such as owner, steward or GDPR classification can be shown on every object in the lineage diagram, so you can see where classified data flows.

FAQ

What is a data lineage diagram?
A data lineage diagram is a picture of how data moves: boxes for systems, tables, columns, reports or AI agents, and arrows for the flows and transformations between them. The same flow can be drawn at different levels, from a table-level overview of a report to the column-level calculation behind one field, or as business lineage that links a glossary term to the reports and regulations it feeds.
How do you document data lineage?
Start with the critical data elements behind your most important reports, choose the level of detail each one needs, extract lineage automatically where a connector or framework such as dbt provides it, and record the remaining hops by hand, including spreadsheets, scripts and emailed files. Attach owners and business definitions, then keep the documentation current with a review on every pipeline change and on a regular cycle.
What should a data lineage template include?
At minimum, one row per hop with the source, the target, the transformation, the granularity (system, table or column), whether the hop was captured automatically or documented manually, where the evidence lives, the owner and the date it was last verified. The template in this article has those fields and a CSV version you can copy.
What is the difference between table-level and column-level lineage diagrams?
A table-level diagram shows which tables and reports feed each other and is the right overview for owners and for impact checks across a pipeline. A column-level diagram shows which source columns feed one target field and through which calculation, which is what you need to explain a number, scope a schema change precisely or answer a regulator at data attribute level.
Can I document data lineage in Excel?
Yes, and many teams start that way, for example with the template in this article. A spreadsheet works for a small scope such as one regulatory report. It goes out of date as soon as pipelines change, so move the automated parts into a catalog that reads lineage from your platforms and keep manual entries only for the hops no connector can see.
How often should data lineage documentation be reviewed?
Review a lineage entry whenever the pipeline, the report or the source behind it changes, and on a fixed cycle for critical data elements, for example before each regulatory reporting period. Automated lineage refreshes with every scan; manually documented hops need an owner and a last-verified date so reviewers can see which entries are stale.

Sources

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.

A cookie a day keeps bad UX away.

We use cookies to personalize content, ads and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. By clicking "Accept All", you allow us to use cookies for analytics and ads via Google Tag Manager. You can also customize cookies.

Customize Consent Preferences

We use cookies to personalize content, ads and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners. Privacy Policy

Necessary cookies allow core website functionality such as user login and account management. The website cannot be used properly without strictly necessary cookies.

Functionality cookies are used to remember visitor information on the website, eg. language, timezone, enhanced content.

Analytics cookies are used to see how visitors use the website, eg. analytics cookies. Those cookies cannot be used to directly identify a certain visitor.

We use Microsoft Clarity to see how you use our website (including heatmaps and session replays) so we can improve it. By using our site, you agree that we and Microsoft can collect and use this data. See our Privacy Policy for details.

Advertisement cookies are used to identify visitors between different websites, eg. content partners, banner networks. Those cookies may be used by companies to build a profile of visitor interests or show relevant ads on other websites.