Power BI - Automatic Data Lineage
What to Expect
Dataedo imports automatically:
- Reports, visualizations, and fields
- Data sets, tables, and columns
- Column-level lineage from datasets to reports
- Column-level lineage from source database tables to data sets
- Microsoft Fabric Dataflow Gen2 tables, columns, and their lineage from source tables, to semantic models, and to the Lakehouse or Warehouse tables the dataflow writes to
Starting with version 26.4, Dataedo reads Power Query (M) queries with its own parser and follows each column through the steps of a query, in Gen2 dataflows and semantic models alike. Lineage is also more precise across the whole connector: model tables point to the exact source table their query reads, every report field points to the exact model column it uses, columns renamed in the model keep their source, and paginated report fields, calculated fields included, are traced back to source tables. See Lineage through Power Query (M) steps and How Dataedo matches tables and fields.
SQL Server → Power BI
Lineage is created from Tables, Views and Procedures in SQL Server to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Direct Query
The following diagram shows lineage when the source is a table or view:

The following diagram shows lineage when the source is a stored procedure:

Microsoft Fabric Data Lakehouse → Power BI
Lineage is created from Tables in Microsoft Fabric Data Lakehouse to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: OneLake, Import, and Direct Query.

Limitation: If the Dataset uses MS Fabric Data Warehouse and MS Fabric Data Lakehouse at the same time, the lineage of only one of these two will be adjusted. Manually correcting Linked Source will solve the problem.
Microsoft Fabric Data Warehouse → Power BI
Lineage is created from Tables in Microsoft Fabric Data Lakehouse to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: OneLake, Import, and Direct Query.

Limitation: If the Dataset uses MS Fabric Data Warehouse and MS Fabric Data Lakehouse at the same time, the lineage of only one of these two will be adjusted. Manually correcting Linked Source will solve the problem.
PostgreSQL → Power BI
Lineage is created from Tables and Views in PostgreSQL to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Direct Query.

MySQL → Power BI
Lineage is created from Tables and Views in MySQL to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Direct Query.

Oracle → Power BI
Lineage is created from Tables and Views in Oracle to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Direct Query.
SQL Server Analysis Services Tabular - import mode → Power BI
Lineage is created from Tables in SQL Server Analysis Services Tabular to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Live Connection

SQL Server Analysis Services Tabular - live connection mode → Power BI

SQL Server Analysis Services Multidimensional → Power BI
Lineage is created from Cubes and Dimensions in SQL Server Analysis Services Multidimensional to Dataset Tables in Power BI (only for cubes measures) and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Live Connection

Snowflake → Power BI
Lineage is created from Tables in Snowflake to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Direct Query.

Databricks Unity Catalog → Power BI
Lineage is created from Tables in Databricks to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.
Supported Data Connectivity modes: Import and Direct Query.

File → Power BI
Lineage is created from File (csv, xlsx) to Dataset Tables in Power BI and from Dataset Tables to Power BI Reports. It is created at the column level.

SQL Server → Power BI Paginated Report
Lineage is created from Tables and Views in SQL Server to Paginated Reports Datasets in Power BI and from Paginated Reports Datasets to Paginated Reports. It is created at the column level.

There are certain rules in place:
- A report column gets lineage from the dataset fields its expression reads, also inside aggregations such as
=Sum(Fields!Amount.Value), gauge values and chart labels. Static text, such as table headers, has no lineage. - A dataset takes its data source only from its own report, so two reports with data sources of the same name (for example the default
DataSource1) pointing to different databases don't get lineage from both databases. - Calculated fields of a dataset (for example
Grosswith the expression=Fields!Total_Amount.Value * 1.23) get lineage from the fields their expression reads, with the expression shown as the transformation. A calculated field that reads another calculated field continues the chain, so the whole path from the source table, through the dataset field and the calculated field, to the report field is visible. This lineage is created even if the source of the dataset is not documented in Dataedo.
The same rules apply to the SSRS connector.
Power BI Dataset → Power BI Paginated Report Dataset → Power BI Paginated Report
Lineage is created from Datasets in Power BI to Paginated Reports Datasets in Power BI and from Paginated Reports Datasets to Paginated Reports. It is created at the object level.

Lineage in measures
The lineage view shows the lineage from columns to measures in Dataset Tables and from measures to visualizations in the Reports.

Lineage in dataflows
Lineage is created from data sources to Dataflow Tables in Power BI, and then from Dataflow Tables to Datasets, followed by the flow from Datasets to Reports.
Limitation: The building of this lineage only works when using Service Principal authentication.

Lineage in Dataflow Gen2
Dataedo creates lineage for Microsoft Fabric Dataflow Gen2. Lineage shows the whole path of the data.

- Source → dataflow table - lineage starts from what the table's own query reads. Each source gets its own flow and is looked up only in the documentation matched to its linked source, either by address (with port) or mapped manually. Supported sources: SQL Server (and other
Sql.Databasesources), PostgreSQL, MySQL, Oracle, Snowflake, Databricks, Microsoft Fabric Lakehouse, Microsoft Fabric Warehouse, Microsoft Fabric SQL database, and OneLake paths. - Dataflow table → dataflow table - a table built on another table of the same dataflow gets lineage from that table.
- Dataflow → semantic model - Power BI doesn't return links between Gen2 dataflows and semantic models, so Dataedo rebuilds them from the dataflow that the model's queries read. Column lineage follows the model's query steps from the columns of the dataflow table.
- Dataflow → data destination - a Data destination process leads from a dataflow table to the Lakehouse or Warehouse table the dataflow writes to. Columns are matched by name.
Lineage through Power Query (M) steps
Dataedo reads the Power Query (M) queries of semantic models and Gen2 dataflows with its own parser. It follows each column through the steps of a query, such as:
- renamed, removed, selected, and added columns,
- calculated columns,
- merges (joins) and expanded columns,
- grouping,
- pivot and unpivot,
- splitting columns,
- type changes.
Each column gets lineage from the source columns its values come from.
For example, the TerritorySummary query below groups the Orders_Stg table and calculates Revenue as List.Sum([TotalDue]). In Dataedo, Revenue has a flow from TotalDue. When you click this flow, Column Flow Details shows the code of the grouping step under Transformation and highlights the same step in the whole query under Script.

If a column cannot be traced through the parser's step, is matched by name. If a query uses a native SQL query (for example Value.NativeQuery), the query goes to the SQL Parser.
How Dataedo matches tables and fields
- Source table of a model table - the table named in the Power Query (M) query is matched by schema and name separately. If the table named in the query is not in the documentation (for example, it was excluded from the import of the source), the model table gets no lineage.
- Report field - a report field is matched to the model column it uses by its table and column, not by the name shown in the visual. A field renamed in a visual keeps its lineage.
- Column renamed in the model view - a column renamed in the model view (not in Power Query) gets lineage from the query column it loads, for example
CustomerfromCustomerID. This works when Dataedo reads the model definition from Fabric. - Paginated report fields - see SQL Server → Power BI Paginated Report.
Lineage when dataset is created by a SQL Query
Dataedo creates a lineage when a Dataset is created by a SQL query. We use an advanced SQL Parser for this. More about our Parser here.
Parser finds column source even if query uses Common Table Expressions.

Lineage when dataset is created from Multiple Sources
Dataedo traces lineage effectively, even when data is pulled from various sources. It identifies the origin of each table within a dataset, ensuring thorough Linked Sources alignment. Each table is individually mapped to its respective source, providing detailed tracking for datasets with multiple origins.
Example:

This is what the same flow looks like in Dataedo:

Data Connectivity mode
Data Connectivity mode is a way of storing tables in datasets. It is determined when creating a dataset in Power BI.

Dataedo creates lineage in the above cases for these data connectivity modes:
- Import
- DirectQuery
- Live Connection
Summary
Dataedo provides insight into data lineage from the source to the final destination. In the example shown below, a column originates from a file, passes through SSIS (SQL Server Integration Services), is loaded into SQL Server, and from there is used in a Power BI report.
This flow illustrates the end-to-end data movement, allowing users to trace the data's journey from its original source to its ultimate usage in reporting, ensuring transparency and facilitating debugging or optimization efforts.

Known Limitations
- For Power BI on-prem (Power BI Report Server) we do not create a lineage.
- Very complex transformations in the script (for example in Power Query / dataset creation logic) may not be fully recognized by Dataedo, which can result in missing or incomplete lineage.
- Upstream lineage to Power BI datasets depends on correct Linked Source matching. If the linked source is not matched, lineage may be missing even when the source is documented.
- Upstream lineage is created only when the source documentation exists in the same Dataedo repository as the Power BI documentation.
- Datasets built from multiple sources may require additional verification of linked source mapping, and some source-to-table mappings may be incomplete if source identification is ambiguous.
- Dynamic or highly customized query patterns (including generated queries and some custom connector behaviors) may result in partial lineage recognition.
- Power Query (M) steps that Dataedo doesn't know yet (for example
Table.AddFuzzyClusterColumn, or a pivot saved by the editor withList.Distinct) are not traced. The table keeps the columns from its definition and the step is listed in the import summary. - Lineage from Power Query (M) queries is not created for:
- connectors other than the ones listed in Lineage in Dataflow Gen2, for example Amazon Redshift, Google BigQuery, files, or Web,
- OneLake paths that use item names instead of IDs,
OneLake.SqlAnalytics(),- Microsoft Fabric items in workspaces the import account can't access,
- tables calculated with DAX.
- Dataflows Gen1 are documented as Datasets, not as Dataflows.
Troubleshooting
Lineage is created based on a matched Linked Source, check the Dataedo desktop to make sure it is matched properly. For background on how matching works, see Linked Sources. If columns/fields are not visible in Power BI reports during import, the access level may be too low (for example Viewer), which can also result in missing lineage.
How to verify Linked Source mapping
Dataedo Portal
- During import, review Step 6. Linked sources.
- Confirm each linked source points to the correct upstream documented source (database/system).
- If the dataset uses multiple sources, verify mappings for each dataset table/source combination.
- Confirm the upstream sources are documented in the same Dataedo repository as the Power BI documentation.
- After correcting mappings, run import (or import changes) again to rebuild lineage.
- If report columns/fields are missing, verify the account/service principal has sufficient workspace access (not only Viewer).
Dataedo Desktop
- Open the imported Power BI source in Dataedo Desktop.
- Go to the Linked Source mapping used for the Power BI dataset/table.
- Confirm the linked source points to the correct upstream documented source (database/system) and object.
- Confirm the upstream source is documented in the same Dataedo repository as the Power BI documentation.
- If the dataset uses multiple sources, verify mappings for each dataset table/source combination.
- Re-import changes after correcting the mapping to rebuild lineage.
- If report columns/fields are missing, verify the account/service principal has sufficient workspace access (not only Viewer).
