audit_robustness
Test slicer-style columns for Power BI visual-breaking errors and blank results, pinpointing exact failure values before shipping.
Instructions
The complete 'select a value and the visuals fall over' detector - the pre-delivery reliability gate. For every low-cardinality slicer-style column it catches BOTH failure modes: (1) ERROR-on-select - a measure throws in that filter context, breaking the canvas (e.g. 'Brand=a given brand breaks [Margin %]'); and (2) BLANK-on-select - a value that empties every visual because it has no underlying data (the empty-brand class - a member with no rows). Pinpoints the offending values. Run before shipping. Tune with maxColumns/maxValuesPerColumn/maxMeasures; set anchorMeasure to choose the measure used for the blank test (defaults to the first model measure).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| maxColumns | No | max slicer-style columns to test (default 20) | |
| maxMeasures | No | max measures to test (default 40) | |
| anchorMeasure | No | measure name used for the blank-on-select test (default: first model measure, e.g. a primary sales measure) | |
| maxValuesPerColumn | No | only test columns with at most this many distinct values (default 200) |