Measure Killer Measure Killer

M Expressions — tenant-wide search

Every M / Power Query expression from every scanned model and dataflow — searchable across data sources, table names, transformations, and connection strings.

Last updated · November 18, 2026

What you get

M Expressions tab, expanded to show the Power Query code of each query, with lineage warnings for appended tables

Every M / Power Query expression from every scanned semantic model and dataflow — browsable and filterable. Search for specific data source references, table names, transformation functions, or connection strings across all models and dataflows in the tenant.

The Warnings column flags queries whose column lineage cannot be traced exactly. One example is an Ambiguity warning: several tables are appended into one result (for example with Table.Combine), so it is impossible to tell which source table each column came from.

M Expressions tab — searching for a specific table or view across all models and dataflows

Run the analysis

  1. Run a tenant-wide scan and complete Phase 2 by selecting items and clicking Analyze.
  2. Switch to the M Expressions tab.
  3. Use the search bar to find specific data sources, table names, or M functions across all Power Query code.

Common workflows

  • Find every model and dataflow that references a data source. Search for a server name, database name, or connection string fragment to find every item that connects to it. This is the fastest way to build a migration or retirement plan for a data source.
  • Audit connection strings. Search for connection patterns (e.g. Server=, Source=, Catalog=) to inventory how models and dataflows connect to backends. Useful for finding hardcoded credentials or non-parameterized connections.
  • Find specific table or view references. Search for a SQL table or view name to find every model and dataflow that queries it — critical before renaming or dropping database objects. See Plan a database schema change.
  • Discover transformation patterns. Search for M functions like Table.TransformColumnTypes, Table.AddColumn, or Table.ExpandRecordColumn to understand how data is shaped across the tenant.
  • Compare M code across models. When multiple models connect to the same source, compare their M code to find inconsistencies — different filters, different column selections, or different transformation logic applied to the same data.

What to do with the findings

  • Export to Excel — click Export in the toolbar to export all M expressions to Excel for offline review or migration planning.
  • Export as JSON — paid editions can also export as raw JSON for downstream analysis, documentation, or migration planning.
  • Share the .measurekiller file — hand the scan to a colleague for review.

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.