Skip to main content

Power Query lineage

PQ-map

See through your Power Query models

A deterministic static analysis tool for Power Query M — it reconstructs output schemas, query dependencies and column-level lineage behind Power BI models.

About the project

Context and approach

Power BI models accrete: queries reference queries, columns get renamed mid-stream and the schema of a step is a guess unless someone verifies it by hand. PQ-map replaces guessing with computation — a deterministic, rule-based analysis that reconstructs every output schema, every dependency and the column-level lineage connecting them.

The tool is built on the official Microsoft Power Query parser and a transformation registry covering the common table functions. Uncertainty is never fabricated: where a schema cannot be derived, the analysis marks it as partial rather than inventing columns — and credential and URL parameters are redacted before analysis.

What I built

03
  1. Schemas, not guesses

    Every step produces a schema snapshot with conservative certainty semantics — unknown inputs yield open schemas, never fabricated columns.

  2. Column-level lineage

    Value, condition, join-key, filter and aggregate edges connect sources to results — traversable upstream and downstream in the interactive graph.

  3. Private by architecture

    Analysis runs in a browser worker: nothing is executed, nothing is sent anywhere, and sensitive URL parameters are redacted automatically.

Rafał Maculewicz

People, business and technology

© 2026 Rafał Maculewicz