A business analyst from the APAC region is creating a single KPI object for that region.
The analyst must meet the following requirements:
* The KPI should show a total of sales
* The business wants to compare current year (CY) vs last year (LY) sales
* The KPI should not change if the user makes selections
Which measure(s) will allow the KPI object to fulfill this requirement?
A)
B)
C)
D)
For the KPI object that meets the requirements of comparing Current Year (CY) sales against Last Year (LY) sales, while ensuring the KPI remains static regardless of selections, we need to leverage Set Analysis with the 1 identifier. This ensures the KPI ignores any selections made by the user.
Option A uses the correct structure of Set Analysis that compares CY sales to LY sales within the APAC region, and the 1 set identifier ensures the KPI does not change based on selections. The logic is structured as follows:
Sum({1 <region={'apac'}, year={$(=max(year))}>} Sales) computes the sales for the APAC region for the current year (CY).
Sum({1 <region={'apac'}, year={$(=max(year)-1)}>} Sales) computes the sales for the APAC region for the previous year (LY).
This expression will ensure that the comparison of sales between CY and LY is made, without being affected by user selections.
Key Concepts:
Set Analysis with 1: The 1 set identifier ensures that selections made by users do not affect the result, making the KPI static.
Comparison of CY vs. LY: The use of $(=max(year)) and $(=max(year)-1) ensures that the current and previous years are dynamically compared.
Why the Other Options Are Less Suitable:
B, C, and D: While these options use a similar structure, they do not correctly handle the measure structure or have syntactical issues. Only Option A properly utilizes the 1 set identifier and dynamic year comparison for the APAC region.
References for Qlik Sense Business Analyst:
Set Analysis for Static KPIs: Using the 1 set identifier in Qlik Sense ensures that a KPI remains static and unaffected by user selections, which is essential for business requirements like this.
Thus, A is the correct choice because it correctly computes the required static KPI for the APAC region, making it the verified answer.
Leoma
6 days agoRamonita
11 days agoAnnamae
15 days agoRebbecca
20 days ago