Qlik Sense set analysis: clear one field selection while keeping the rest
Use `{$<Year = >}` to remove Year from a measure while keeping Region and other selections. `$` means current selections; `{1}` means all records.
Qlik Sense set analysis: clear one field selection while keeping the rest
Use {$<Year = >} to remove Year from a measure while keeping Region and other selections. $ means current selections; {1} means all records.
Scope comparison
| Expression | Meaning |
|---|---|
Sum(Sales) or Sum({$} Sales) | Current selection |
Sum({$<Year = >} Sales) | Current selection except Year |
Sum({1} Sales) | All records; chart dimensions remain |
Example and verification
With Year=2025 and Region=East selected, Sum(Sales) by Product gives A=120, B=50. Sum({$<Year = >} Sales) clears Year but retains East: A=220, B=80. Sum({1} Sales) ignores both: A=390, B=180. These values are hand-calculated from the illustrative table, not a Qlik test.
| Year | Region | Product | Sales |
|---|---|---|---|
| 2024 | East | A | 100 |
| 2025 | East | A | 120 |
| 2024 | West | A | 80 |
| 2025 | West | A | 90 |
| 2024 | East | B | 30 |
| 2025 | East | B | 50 |
| 2024 | West | B | 40 |
| 2025 | West | B | 60 |
Use exact field names. Add Sum({$<Year = >} Sales) as a chart measure, select Year=2025 and Region=East, then compare with Sum(Sales). Clear only Year; Region should still constrain the result. A chart dimension such as Product still groups results, even with {1}.
Caveat
<Year = > clears that field selection. <Year = {2025}> assigns Year to 2025; it does not intersect with the existing selection. Check field names and chart dimensions if results surprise you. No Qlik app was operated.
Sources
[Qlik Sense: Set analysis](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm)
[Qlik Cloud: Set identifiers](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-identifiers.htm)
[Qlik Sense: Set modifiers](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers.htm)
[Qlik Sense: Implicit set operators](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers-using-assignments-implicit-set-operators.htm)