> For the complete documentation index, see [llms.txt](https://docs.ovaledge.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ovaledge.com/connectors/connector-repositories/reporting-tool/power-bi/power-bi-on-prem/power-bi-on-prem-lineage.md). Agents can also search and read this documentation through its [MCP server](https://docs.ovaledge.com/~gitbook/mcp).

# Power BI (On-Prem) - Lineage

This article outlines the lineage coverage, configuration requirements, metadata handling, supported scenarios, component behavior, transformation coverage, and known limitations for lineage extraction in Power BI (On-premises). The Power BI connector captures technical lineage across Power BI reports, report visuals, datasets, queries, and underlying data sources. It provides visibility into data dependencies from report-level elements to their associated dataset fields and source objects, supporting data flow analysis and impact assessment.

## **Lineage Configuration Requirements**

Accurate lineage extraction depends on access to the Power BI Report Server, report catalog, report definitions, dataset metadata, and associated data source information. Report Server REST API access is required to retrieve report catalog metadata and supported objects. M-Code and DAX parsing support lineage resolution across dataset queries, calculated columns, measures, and source objects.

### **Configuration Requirements Table**

<table data-search="false"><thead><tr><th width="201.17578125">Configuration</th><th width="567.625">Required Detail</th></tr></thead><tbody><tr><td>Report Server Access</td><td>Access to the Power BI Report Server is required for metadata extraction</td></tr><tr><td>REST API Access</td><td>Access to the Power BI Report Server REST APIs is required to retrieve catalog objects and report metadata</td></tr><tr><td>Report Catalog Access</td><td>Read access to target folders and Power BI reports is required</td></tr><tr><td>Report Definitions</td><td>Access to Power BI report definitions is required for metadata and lineage extraction</td></tr><tr><td>Dataset Metadata</td><td>Dataset and associated data source metadata must be available for lineage resolution</td></tr><tr><td>M-Code Parsing</td><td>Enable M-Code parsing for query and source dependency resolution</td></tr><tr><td>DAX Parsing</td><td>Enable DAX parsing for measures and calculated columns</td></tr><tr><td>Data Source Metadata</td><td>Required connection and source metadata must be available for source resolution</td></tr></tbody></table>

{% hint style="info" %}
Missing Report Server access, inaccessible report definitions, unavailable dataset metadata, or incomplete data source information may result in incomplete lineage generation or source-to-target resolution.
{% endhint %}

## **Lineage Components**

The Power BI connector supports lineage extraction across Power BI reports, report visuals, dataset components, queries, and supported transformation types.

### **Component Support Matrix**

<table data-search="false"><thead><tr><th>Component / Feature</th><th align="center">Availability</th></tr></thead><tbody><tr><td>Power BI Reports (.pbix)</td><td align="center">✅</td></tr><tr><td>Report Visuals and Fields</td><td align="center">✅</td></tr><tr><td>Dataset Tables</td><td align="center">✅</td></tr><tr><td>Dataset Columns</td><td align="center">✅</td></tr><tr><td>Measures (DAX)</td><td align="center">✅</td></tr><tr><td>Calculated Columns</td><td align="center">✅</td></tr><tr><td>M Queries</td><td align="center">✅</td></tr><tr><td>Data Sources</td><td align="center">✅</td></tr><tr><td>Paginated Reports (.rdl)</td><td align="center">⚠️</td></tr><tr><td>Custom Visuals</td><td align="center">❌</td></tr><tr><td>R/Python Scripts</td><td align="center">❌</td></tr><tr><td>Dashboards and Dashboard Tiles</td><td align="center">❌</td></tr><tr><td>Shared Semantic Models</td><td align="center">❌</td></tr><tr><td>Composite Models</td><td align="center">❌</td></tr><tr><td>Dataflows</td><td align="center">❌</td></tr><tr><td>Microsoft Fabric Objects (Direct Lake / Warehouse)</td><td align="center">❌</td></tr></tbody></table>

{% hint style="info" %}
The ⚠️ icon indicates partially supported functionality with limited lineage coverage in applicable scenarios. Power BI Report Server does not support certain Power BI Service capabilities, including dashboards, composite models, and cloud dataflows.
{% endhint %}

### **Column Creation Support**

The Power BI connector supports column-level lineage from report visuals to dataset columns and measures, and further to source tables and columns through M-Code and DAX parsing. Calculated columns and measures are mapped when the associated DAX expressions can be parsed. When expressions are too complex to resolve, lineage falls back to the dataset level.

#### **Column Creation from Lineage**

<table data-search="false"><thead><tr><th>Transformation Type</th><th align="center">Supported</th></tr></thead><tbody><tr><td>Visual Field Mapping</td><td align="center">✅</td></tr><tr><td>Dataset Column Mapping</td><td align="center">✅</td></tr><tr><td>Measure Mapping (DAX)</td><td align="center">⚠️</td></tr><tr><td>Calculated Column Mapping</td><td align="center">⚠️</td></tr><tr><td>M-Code-Based Source Mapping</td><td align="center">⚠️</td></tr><tr><td>Complex DAX Expression Mapping</td><td align="center">⚠️</td></tr><tr><td>Dataset-Level Lineage Fallback</td><td align="center">✅</td></tr></tbody></table>

{% hint style="info" %}
The ⚠️ icon indicates partially supported functionality with limited lineage coverage in applicable scenarios.
{% endhint %}

## **Supported Use Cases**

The Power BI connector supports lineage extraction across standard Power BI reports, report visuals, dataset components, query definitions, and supported data source dependencies.

### **Supported Lineage Scenarios**

<table data-search="false"><thead><tr><th width="225.12109375">Supported Scenario</th><th width="540.3203125">Details</th></tr></thead><tbody><tr><td>Import Reports</td><td>Lineage extraction across supported Power BI Import reports</td></tr><tr><td>DirectQuery Reports</td><td>Lineage extraction across supported DirectQuery reports and underlying data sources</td></tr><tr><td>Report Visuals → Dataset Columns</td><td>Lineage tracking from report visuals to associated dataset columns</td></tr><tr><td>DAX Measures → Source Columns</td><td>Lineage extraction for supported DAX measures and their underlying column dependencies</td></tr><tr><td>Calculated Columns → Source Columns</td><td>Lineage extraction for calculated columns when the associated DAX expressions are parsable</td></tr><tr><td>M-Code → Source Objects</td><td>Lineage extraction across supported M-Code queries and underlying source objects</td></tr><tr><td>Dataset → Report Lineage</td><td>Lineage tracking between report datasets and associated reports</td></tr><tr><td>Paginated Reports</td><td>Lineage extraction across supported paginated report dependencies, subject to available metadata and parsing support</td></tr><tr><td>Source-to-Report Lineage</td><td>Lineage tracking from supported source tables and columns to report fields and visuals</td></tr></tbody></table>

{% hint style="info" %}
Lineage extraction depends on accessible report definitions, dataset metadata, source connection information, and supported M-Code and DAX expressions.
{% endhint %}

## **Partial or Limited Coverage**

Certain Power BI report components and query patterns provide partial lineage coverage. Limitations primarily apply to complex DAX expressions, nested M queries, aggregations, and source-to-target back-mapping logic.

### **Scenarios**

<table data-search="false"><thead><tr><th width="254.70703125">Scenario</th><th width="510.66796875">Limitation Description</th></tr></thead><tbody><tr><td>Complex DAX Expressions</td><td>Complex DAX expressions may result in limited attribution accuracy</td></tr><tr><td>Nested M Queries</td><td>Nested M queries may not be fully parsed</td></tr><tr><td>Aggregations</td><td>Aggregation logic provides approximate lineage only</td></tr><tr><td>Back-Mapping Logic</td><td>Source-to-target back-mapping may provide approximate lineage only</td></tr><tr><td>Highly Parameterized M-Code</td><td>Highly parameterized M-Code is not fully parsed</td></tr><tr><td>Multi-Connector Query Folding</td><td>Query folding across multiple connectors is not fully resolved</td></tr><tr><td>Complex Measures and Calculated Columns</td><td>Detailed lineage mapping depends on the ability to parse the associated DAX expressions</td></tr><tr><td>Paginated Report Dependencies</td><td>Detailed lineage coverage depends on the availability of report definitions and associated dataset metadata</td></tr></tbody></table>

{% hint style="warning" %}
Complex DAX expressions, nested M queries, aggregations, and back-mapping logic may result in incomplete lineage paths or reduced column-level lineage accuracy.
{% endhint %}

## **Unsupported Scenarios**

The Power BI connector does not provide complete lineage coverage for certain custom visualizations, external scripting components, and Power BI Service-specific features that are unavailable in Power BI Report Server.

### **Unsupported Lineage**

<table data-search="false"><thead><tr><th width="152.7265625">Not Supported</th><th width="367.30859375">Impact</th><th width="242.2109375">Workaround</th></tr></thead><tbody><tr><td>Custom Visuals</td><td>Lineage extraction is not supported for custom visuals</td><td>Document associated dependencies separately</td></tr><tr><td>R Scripts</td><td>Lineage extraction is not supported for R scripts</td><td>Document associated dependencies separately</td></tr><tr><td>Python Scripts</td><td>Lineage extraction is not supported for Python scripts</td><td>Document associated dependencies separately</td></tr><tr><td>Dashboards and Dashboard Tiles</td><td>Power BI Report Server does not support Power BI Service dashboards and dashboard tiles</td><td>Use report-level lineage</td></tr><tr><td>Shared Semantic Models</td><td>Power BI Service shared semantic models are not available in Power BI Report Server</td><td>Use supported report dataset dependencies</td></tr><tr><td>Composite Models</td><td>Composite models are not supported in Power BI Report Server</td><td>Use supported Import or DirectQuery models</td></tr><tr><td>Dataflows</td><td>Power BI Service dataflows are not available as Power BI Report Server catalog objects</td><td>Document external data preparation dependencies separately</td></tr><tr><td>Microsoft Fabric Objects</td><td>Fabric-specific components, including Direct Lake and Fabric Warehouse integration, are outside the Power BI Report Server scope</td><td>Document external source dependencies separately</td></tr></tbody></table>

{% hint style="warning" %}
Unsupported components and Power BI Service-specific features do not provide lineage coverage in Power BI Report Server and may result in incomplete or disconnected lineage paths.
{% endhint %}

## **Current Functional Status**

The Power BI connector provides intermediate lineage coverage across standard Power BI reports, report visuals, dataset components, queries, and supported data sources in Power BI Report Server. It supports report-level and column-level lineage through supported M-Code and DAX parsing.

Complex DAX expressions, nested M queries, aggregations, and multi-connector query folding have partial coverage. Custom visuals and Python scripts are not supported. Power BI Service-specific capabilities, including dashboards, shared semantic models, composite models, dataflows, and Fabric integration, are outside the Power BI Report Server scope.

<table data-search="false"><thead><tr><th width="171.28125">Status Area</th><th>Details</th></tr></thead><tbody><tr><td>Overall Coverage</td><td>Intermediate coverage across Power BI reports, report visuals, datasets, queries, and supported data sources</td></tr><tr><td>Lineage Depth</td><td>Report-level and column-level lineage across supported report visuals, dataset fields, and source objects</td></tr><tr><td>Supported Inputs</td><td>Power BI reports (.pbix), supported paginated reports (.rdl), dataset components, M-Code, DAX queries/formulas, and data sources</td></tr><tr><td>Functional Scope</td><td>Lineage extraction across supported reporting, dataset, query, and transformation dependencies</td></tr><tr><td>Column-Level Coverage</td><td>Visual field mapping, dataset columns, measures, calculated columns, and source-level mapping through supported M-Code and DAX parsing</td></tr><tr><td>Limitation Areas</td><td>Complex DAX expressions, nested M queries, aggregations, back-mapping logic, highly parameterized M-Code, and multi-connector query folding</td></tr><tr><td>Unsupported Areas</td><td>Custom visuals, R/Python scripts, dashboards, shared semantic models, composite models, dataflows, and Microsoft Fabric-specific components</td></tr><tr><td>Resulting Output</td><td>Intermediate lineage coverage across supported Power BI Report Server reports and data sources, with partial coverage for complex M-Code, DAX, and advanced transformation scenarios</td></tr></tbody></table>

{% hint style="warning" %}
The Power BI connector provides lineage across supported Power BI Report Server reports, dataset components, and underlying data sources. Coverage remains partial for complex M-Code and DAX expressions, aggregations, and multi-connector query folding. Custom visuals and R/Python scripts are not supported.
{% endhint %}

***

Copyright © 2026, OvalEdge LLC, Peachtree Corners GA USA


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ovaledge.com/connectors/connector-repositories/reporting-tool/power-bi/power-bi-on-prem/power-bi-on-prem-lineage.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
