23 november 2022 How to exclude values in Set Analysis Deel dit bericht Every Friday at Bitmetric we’re posting a new Qlik certification practice question to our LinkedIn company page. Last Friday we asked the following Qlik Data Architect certification practice question about excluding values in Set Analysis: Quite an impressive amount of answers this time around. And that is certainly not to our surprise since set analysis is the staple (and maybe the bane) of most Qlik developers. The correct answer is C. The trick in this question is the fact that the end user still wants to make selections. As we all know, set analysis works by sort of making selections within the aggregation itself. Based on the values in the set condition, Qlik evaluates this as a selection on chart level. As in the question, we tell Qlik to make a selection in the Country field. Keeping that in mind and lets evaluate what both statements do. The difference lies in the placement of the ‘-‘ minus sign. We should view the ‘=’ sign as an operator which selects or actually replaces current selections. For example the expression Sum(<Country = {Belgium}>} Sales) will select only Belgium in the country field. Whatever other selection you will make, it will still only show the Sales for that condition. Now let’s place a minus in front of that to make the expression Sum(<Country -= {Belgium}>} Sales). This will make Qlik exclude Belgium from your selections. By effect, this will show all possible selections in the country field, except Belgium. Therefor it is still possible to make selections, however, Belgium will never show up in the result of the expression. Referring to the example above we see that Belgium and Denmark are both selection. We see that the total result should be 180. However in the ‘-=’ set analysis we will only see the 80 of Denmark. Belgium is excluded. But what happens with ‘=-‘? In that case we tell Qlik to make selections in the Country field, for everything except Belgium. This means that however we make selections, we will always see all sales, expect for Belgium. This is proven by the fact that the minus and equal sign are not needed to be written together; ‘-=’ is a single operator, where ‘=-‘ are in fact two, the equal sign telling Qlik to make selections and the – sign to select everything except Belgium. That’s it for this week! And remember. If you would like to know more about set analysis? Have a look at Outer Sets or Literal vs Search Strings. More from the Bitmetric team Qlik Cloud Backup Protect your investment in Qlik with daily incremental backups stored in an encrypted environment with redundant storage. Available for as little as 2 Euro per day. Learn more. Join the team! Do you want to work within a highly-skilled, informal team where craftsmanship, ingenuity, knowledge sharing and personal development are valued and encouraged? Check out our job openings. Friday Qlik Test Prep Solution Hoe kunnen we je ondersteunen? Barry beschikt over meer dan 20 jaar ervaring als architect, developer, trainer en auteur op het gebied van Data & Analytics. Hij is bereid om je te helpen met al je vragen. Bel ons Mail ons 10 maart 2025 Qlik Data Flow: Simplifying Data Transformation Without Code Qlik Data Flow simplifies data transformation with a visual editor. Clean, join, and reshape data using drag and drop, no coding needed. Automatically generate Qlik script as you build. Learn how it works, see a step-by-step example, and compare it to Qlik Data Manager and Qlik Script. ETL No-Code Qlik Script 6 maart 2025 Just because your data is in the cloud does not make it safe. Qlik Cloud does not automatically back up your data, leaving your apps vulnerable to loss, corruption, or accidental deletion. Learn why a backup solution is essential and how Bitmetric’s Qlik Cloud Backup keeps your data safe. Take action now to protect your analytics Governance Qlik Security Support 24 februari 2025 Update: Qlik Cloud icons collection Discover our updated collection of 239 Qlik Cloud icons on GitHub. Featuring new Data Flow icons in SVG and PNG formats, perfect for enhancing your Qlik schematics and documentation. Qlik Visualization
10 maart 2025 Qlik Data Flow: Simplifying Data Transformation Without Code Qlik Data Flow simplifies data transformation with a visual editor. Clean, join, and reshape data using drag and drop, no coding needed. Automatically generate Qlik script as you build. Learn how it works, see a step-by-step example, and compare it to Qlik Data Manager and Qlik Script. ETL No-Code Qlik Script
6 maart 2025 Just because your data is in the cloud does not make it safe. Qlik Cloud does not automatically back up your data, leaving your apps vulnerable to loss, corruption, or accidental deletion. Learn why a backup solution is essential and how Bitmetric’s Qlik Cloud Backup keeps your data safe. Take action now to protect your analytics Governance Qlik Security Support
24 februari 2025 Update: Qlik Cloud icons collection Discover our updated collection of 239 Qlik Cloud icons on GitHub. Featuring new Data Flow icons in SVG and PNG formats, perfect for enhancing your Qlik schematics and documentation. Qlik Visualization