Skip to content

Troubleshooting

Reproduce a small query with explicit filters before changing several measures or relationships at once.

Symptom Likely investigation Evidence to collect
Table/column cannot be found Exact import/table names; source kind; query DEFINE block Model fields and the full query
Scalar/table error EVALUATE needs a table; measure expression needs a scalar Smallest failing expression
Same total repeats for every month Active date relationship, actual date field, type Relationship diagram and period query
Unexpected BLANK No eligible rows, missing prior period, zero denominator, orphan key Row counts, keys, numerator/denominator
Total percentage looks wrong Non-additive measure evaluated at total grain Reconcile aggregate profit and revenue
All-products denominator stays at row value Scalar variable captured before CALCULATE; too-narrow removal Direct measure versus variable comparison
Rank appears on total Scope/entity and ISINSCOPE guard Grouped row versus total context
Ship-date result repeats order-date result Inactive relationship missing/wrong or wrong measure USERELATIONSHIP endpoints and crossing rows
Generated query cannot find a measure Download complete file; do not copy only the EVALUATE suffix DEFINE block and catalog definitions
RLS test disagrees with service Role assignment, actual identity, permissions, relationship paths Authorized non-sensitive reproduction

Locale and numeric types

The sources use comma argument separators and decimal-dot literals. Client locale/settings may use different localized separators. Follow the client's documented DAX separator setting; do not change CSV delimiters blindly to repair a formula error.

Verify ISO dates imported as Date, not text. Fixed decimal monetary types avoid unnecessary floating-point surprises, but every calculation still needs its intended rounding/business rule.

Separate three layers

  1. Data: key integrity, arithmetic, types, and coverage.
  2. Model/DAX: relationships, context, actual formula execution.
  3. Client/report: formatting, visual filters, sorting, permissions.

Python CI validates layer 1 and packaging/documentation. It is not a DAX parser, model installer, or proof that a service security role works.

For an issue include the tool/engine version, storage mode, synthetic reproduction, source file, filters, expected value, actual value/error, and relationship state. Do not upload confidential PBIX files, credentials, customer records, or production audit logs.

References: DAX overview and Power BI relationship guidance.