Measure Killer Measure Killer

How do I find everything downstream of a data source from the command line?

Run measurekiller-cli.exe service datasource. It starts at one data source and pulls everything downstream of it that you have access to: the dataflows, semantic models and reports that read from it, who reads which column, and whether that column is still used.

Last updated · December 3, 2026

Steps

  1. Name the source with --kind: sql_server, postgresql, mysql, oracle, bigquery, snowflake, databricks, excel, csv or analysis_services. An Azure Synapse SQL pool is a sql_server source: <workspace>.sql.azuresynapse.net for a dedicated pool, <workspace>-ondemand.sql.azuresynapse.net for the serverless pool. Add --server (for Excel and CSV, the path of the file) and, for SQL Server, PostgreSQL, MySQL, Snowflake (the warehouse) and Analysis Services, --database. BigQuery needs neither: --kind bigquery alone covers every project the items read (details).

  2. Name the workspaces to scan with --workspace, repeated for each one. Without it, every workspace you can open is scanned, which can take very long. Write the server as the Power Query code of your models writes it.

  3. Save the result with --out and a full path, as .csv, .xlsx or .json. Every column read from the source is listed with what reads it and whether it is still used:

    $mk = "C:\Program Files (x86)\Measure Killer\measurekiller-cli.exe"
    & $mk service datasource --kind oracle --server "dbhost:1521/SALES" `
          --workspace "Sales" --workspace "Finance" --out "C:\Users\me\Documents\mk\oracle.json"
  4. To look at one item instead, run service lineage for it. Add --html FILE to save the lineage graph as a page you can open offline.

  5. Read the list named “Missing from the result” at the end of the run. It names the reports or models that could not be loaded (details).

The result only covers the workspaces you scanned and what your account can open. A table or column of the source that no item reads is not in the result. For the whole tenant, start Tenant Analysis from the data source in the desktop app.

Go deeper

Something wrong or out of date on this page?

Report an issue with this page

Tell us what is wrong or out of date. No email needed.