dependency_graph
Trace Power Query (M) query lineage to identify upstream and downstream dependencies, plus roots, leaves, orphans, and cyclic references. Output as JSON or Mermaid diagrams.
Instructions
Query-to-query lineage. With query, only its upstream and downstream. format: 'json' or 'mermaid'.
Also reports roots (read external data), leaves (final outputs), orphans and cyclic references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| format | No | json | |
| source | Yes |