Cyclic master dimension, or a variable-driven dimension/measure

Cyclic dimensions and dynamic measures in Power BI

A Qlik cyclic dimension lets the user cycle a chart through several fields. Power BI field parameters do the same: a slicer switches the field (or measure) a visual uses.

Direct equivalent Modeling DAX

Short answer: Modeling → New parameter → Fields, add the columns (or measures) in order, and keep "Add slicer to this page" ticked. Then use the parameter as the visual's axis. For measures with shared logic, a SWITCH on a disconnected table or a calculation group also works.

What it does in Qlik

A cyclic master dimension holds a list of fields. Charts show one at a time and the user cycles through them with a button.

A common hand-built alternative uses a variable or a data island field with $(=...) expansion to swap the dimension or measure.

Qlik example

Qlik expression
// Cyclic master dimension "Geo": Country → Region → City

// Hand-built measure switch driven by a data island field MeasureName
Pick(Match(Only(MeasureName), 'Sales', 'Margin', 'Units'),
     Sum(Sales), Sum(Margin), Sum(Units))

Power BI equivalent

Field parameter (generated by Desktop)

DAX
Geo = {
    ( "Country", NAMEOF ( 'Customer'[Country] ), 0 ),
    ( "Region",  NAMEOF ( 'Customer'[Region] ),  1 ),
    ( "City",    NAMEOF ( 'Customer'[City] ),    2 )
}

Put Geo on the visual's axis and add a single-select slicer on it. The same works with measures: NAMEOF ( [Sales] ) and so on.

Measure switch (works in any visual, including cards)

DAX
Selected measure =
SWITCH (
    SELECTEDVALUE ( 'Measure picker'[Measure], "Sales" ),
    "Sales",  [Sales],
    "Margin", [Margin],
    "Units",  [Units]
)

Gotchas and behaviour differences

  • Field parameters are built in Power BI Desktop (Modeling → New parameter). Check the current docs for preview status and limitations before you rely on them in production.
  • The SWITCH measure returns one format for every branch unless you add a dynamic format string. Field parameters keep each measure's own format.
  • Qlik cycles on a button inside the chart. Power BI needs a slicer or a button with bookmarks.

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.