
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
03Schemas, not guesses
Every step produces a schema snapshot with conservative certainty semantics — unknown inputs yield open schemas, never fabricated columns.
Column-level lineage
Value, condition, join-key, filter and aggregate edges connect sources to results — traversable upstream and downstream in the interactive graph.
Private by architecture
Analysis runs in a browser worker: nothing is executed, nothing is sent anywhere, and sensitive URL parameters are redacted automatically.