Qlik Senseのset analysis:他の選択を保ちながら1つのフィールドだけ無視する
`{$<Year = >}`を使うと、測定値からYearの選択だけを外し、Regionなどは維持できます。`$`は現在の選択、`{1}`は全レコードです。
Qlik Senseのset analysis:他の選択を保ちながら1つのフィールドだけ無視する
{$<Year = >}を使うと、測定値からYearの選択だけを外し、Regionなどは維持できます。$は現在の選択、{1}は全レコードです。
Scope comparison
| Expression | Meaning |
|---|---|
Sum(Sales) / Sum({$} Sales) | Current selection |
Sum({$<Year = >} Sales) | Current selection except Year |
Sum({1} Sales) | All records; chart dimensions remain |
Worked example and verification
Year=2025、Region=Eastを選ぶと、Product別のSum(Sales)はA=120、B=50です。Sum({$<Year = >} Sales)はYearだけを解除しEastを保つためA=220、B=80です。Sum({1} Sales)は両方を無視してA=390、B=180です。例の表から手計算した値で、Qlikのテストではありません。
| 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 |
アプリの正確なフィールド名を使用します。Sum({$<Year = >} Sales)を測定値に追加し、Year=2025とRegion=Eastを選んでSum(Sales)と比較します。Yearだけ解除してもRegionが結果を絞ることを確認します。{1}でもProductの次元は結果をグループ化します。
Caveat
<Year = >はそのフィールドの選択を解除します。<Year = {2025}>はYearを2025に指定し、既存選択との積集合ではありません。結果が異なる場合はフィールド名とチャート次元を確認してください。Qlikアプリは実行していません。
Sources
[Qlik: 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: Set modifiers](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers.htm)
[Qlik: 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)