Finding columns and measures used in a visual or page in Power BI
Tracking which columns and measures sustain a specific visual or page in Power BI is complex. Here's how to do it manually and with Measure Killer's What If Analysis.
Introduction
Once Power BI reports are completed and deployed, they contain accumulated knowledge about data model usage and DAX measure definitions. Over time, this understanding deteriorates, particularly with complex reports where it’s challenging to track all functioning elements from the start.
When revisiting a complex report or one untouched for extended periods, determining which artifacts (columns and measures) sustain or build specific visuals or entire pages becomes necessary.
This complexity arises from multiple dependencies:
- Measures and column dependencies (measure X references measure Y which sums column Z with filters on table XY)
- Power Query (columns used in joins)
- Visuals (elements in axes, values fields, tooltips, etc.)
- Filters (visual or page-level)
- Conditional formatting (font colors, backgrounds, dynamic titles)
- Relationships (active or inactive, potentially activated through DAX)
- Key columns, column sorting, and other model-specific attributes
Manual Approaches
Option 1
The simplest verification method involves deletion testing — removing elements and observing consequences. However, this approach proves ineffective for conditional formatting and represents a time-consuming testing methodology.
Option 2
Alternatively, manually documenting visual elements or creating scripts using .pbix or .pbip file structures that Power BI exposes provides another manual route.
Automated Checks
As of July 2024, Measure Killer’s “What If Analysis” represents the sole known tool capable of identifying artifacts used in specific visuals or pages. A free trial is available.
Upon downloading, installing, and running Measure Killer to analyze reports, initiating “What If Analysis” presents two options: selecting “visual” to examine individual visual requirements.


A comprehensive list of all report visuals appears, in this example showing 69 visuals total.

Examining individual visual output:

All listed columns contribute directly or indirectly to maintaining visual functionality. Direct usage differs from indirect usage in meaningful ways.

Calendar Year and Month Name (renamed Month) appear directly in the visual’s X-axis. The dCalendar[Month] column sorts dCalendar[Month Name] as shown in the hierarchy above — a relationship difficult to identify through manual examination.
Regarding remaining columns — Dates, CustomerKey (dimension table), OrderDate, and CustomerKey (fact table) — their usage requires individual investigation:
dCalendar[Dates] appears unused initially until examining measures.

The “Customers (New)” measure references columns, tables, and measures internally, including [Dates]. Examining the DAX expression reveals usage:


Two explicit references to dCalendar[Dates] appear within the measure expression. The measure also references CustomerKey (dimension table).
Verifying remaining column usage:

OrderDate appears within the calendar table construction. Right-clicking dCalendar reveals its M expression:

A List.Max operation retrieves the latest OrderDate value, demonstrating how the calendar table construction incorporates this column.
The final column — CustomerKey from the fact table — appears referenced in the second measure used within the visual (Customers (Active)):

Confirming accuracy requires checking the DAX expression by right-clicking the measure and selecting “View DAX expression”:

Identifying all columns and measures used across even a single visual represents significant complexity.
Examining Pages
Returning to Measure Killer’s “What If Analysis” selection window and choosing “page” instead of “visual” enables page-level analysis.
Rather than detailing individual artifact usage as demonstrated above, the output can be accepted as complete:

All listed columns maintain functionality on that page through direct or indirect usage — whether through the data model, Power Query, or DAX expressions, as described in the introduction.
This output enables verification of all artifacts required to construct the page or maintain its functionality.
A free trial for Measure Killer is available here.