Sum({StateName} Sales)

Alternate states (comparative analysis) in Power BI

Alternate states give objects independent selection sets, for example comparing two groups of regions side by side. Power BI has one filter context per visual, plus disconnected tables and measures that apply them with TREATAS. There is no built-in "state" concept.

Partial / different approach Modeling DAX Report

Short answer: Add a disconnected copy of the dimension (Compare Region) and a slicer on it. Write CALCULATE([Sales], TREATAS(VALUES('Compare Region'[Region]), Geo[Region])). Use Edit interactions so the main slicer doesn't affect the comparison visual.

What it does in Qlik

In Qlik you define states (for example Comparison) and assign objects to them. Each state has its own selections. Set analysis can read from a state ({Comparison}) or combine states ({$<Year = Comparison::Year>}).

Qlik example

Qlik chart expression
// object in state "Comparison", or:
Sum({Comparison} Sales)

// default selections, but Region taken from the Comparison state
Sum({$<Region = Comparison::Region>} Sales)

Power BI equivalent

Disconnected table + TREATAS

DAX
Compare Region = DISTINCT ( Geo[Region] )     -- calculated table, no relationship

Sales (comparison) =
CALCULATE (
    [Sales],
    REMOVEFILTERS ( Geo[Region] ),
    TREATAS ( VALUES ( 'Compare Region'[Region] ), Geo[Region] )
)

Put a slicer on 'Compare Region'[Region]. Visuals using [Sales (comparison)] follow both slicers: the main slicer for everything except Region, and the compare slicer for Region.

Gotchas and behaviour differences

  • Each comparison needs its own disconnected table and measure variants. Calculation groups can reduce the number of measures.
  • Edit interactions (Format > Edit interactions) decides which slicers filter which visuals. It's the closest report-level match to assigning objects to states.
  • Bookmarks can store slicer states, but they are snapshots, not live parallel states.

Official documentation

Related pages

Spotted an error or a better pattern? QlikToDax is maintained by a working BI consultant; corrections are welcome via the About page. Last reviewed 2026-10-25.