Repair category shares within the selected population

Try this labAll PL-300 practice

Certification
PL-300
Format
Artifact workspace
Difficulty
medium
Estimated time
30 min
Automated checks
9

SCENARIO

A category revenue visual shows incorrect shares after category, region or year selections. The supplied model, example observations and visual filter inputs are recorded as read-only comments in category-share.dax.

TASK

Repair CategoryShare so each category row divides its revenue by revenue across the externally selected categories under the same region and year filters.

  • Include each matching Sales observation once.
  • Subtotals use the selected population.
  • Return 0 for a blank or zero denominator; retain BLANK for an absent numerator when the denominator is nonzero.
  • The measure must also work when data and labels change.

Part of PL-300 preparation