Sum({<Field={value}>} Sales)

Set Analysis basics in Power BI

How a basic Qlik set expression such as Sum({<Year={2024}>} Sales) maps to CALCULATE with filter arguments in DAX, and where the two engines behave differently.

Direct equivalent DAX

Short answer: A set modifier like <Year={2024}> becomes a filter argument inside CALCULATE. Both replace the current selection on that one field and keep every other selection.

What it does in Qlik

A set expression changes the set of records an aggregation runs on, independently of what the user has selected. The default set is $ (the current selections). A modifier such as <Year={2024}, Region={'North'}> replaces the selection in the listed fields and leaves selections in all other fields untouched.

The set is computed once for the whole chart, before the chart dimensions split the data.

Qlik example

Qlik chart expression
Sum({<Year={2024}, Region={'North'}>} Sales)

Equivalent to Sum({$<Year={2024}, Region={'North'}>} Sales); the $ is implied.

Power BI equivalent

DAX measure

Create one base measure and reuse it. Each condition becomes a filter argument of CALCULATE. A filter on a column replaces any existing filter on that same column, just like a set modifier.

DAX
Sales = SUM ( Sales[Amount] )

Sales 2024 North =
CALCULATE (
    [Sales],
    'Date'[Year] = 2024,
    Customer[Region] = "North"
)

Multiple filter arguments are combined with AND, the same as multiple fields inside one Qlik modifier.

Gotchas and behaviour differences

  • Marked date tables. If 'Date' is marked as a date table and you filter its date column (for example 'Date'[Date] >= ...), DAX also removes every other filter on the date table, so a Month slicer is ignored. Qlik never does this implicitly.
  • Text vs typed values. Qlik matches the field's values as they are formatted ({'Jan'} on a dual month field works). DAX compares typed values, so filter on 'Date'[Month Number] = 1 or on the exact text column.
  • Per-chart vs per-cell. Qlik builds the set once per chart. A DAX filter argument with a constant behaves the same way. A filter that references another measure or MAX(...) is evaluated per cell; see dollar-sign expansion.
  • Relationship direction. A filter on a dimension reaches the fact table only through an active relationship in the right direction. Qlik associations work both ways, so a filter on a table "upstream" of a single-direction relationship may do nothing in Power BI.

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.