15 February 2024 Dealing with empty and null values in Qlik Sense Share this message At Bitmetric we continuously hone our skills, and we like to help you do the same. That’s why we regularly post a new Qlik certification practice question to our LinkedIn company page. Last Friday we asked the following Qlik Data Architect certification practice question about handling null values when loading a CSV file into Qlik Sense. Do you know the answer? The answers were varied, but overall most people picked (or guessed) the correct answer: The correct answer is C: EmptyIsNull() The EmptyIsNull() function yields a null value when given an empty string as input. This functionality proves particularly beneficial when handling CSV files, like we do in this question, where empty fields are read as empty strings instead of null values. Let’s review the other answers, and why they’re not correct in this context: Answer A – Do nothing. This doesn’t work, as empty values in CSV files are not automatically converted to null values when loading data into Qlik. Answer B – NullValue. This does the exact opposite of what we’re trying to achieve. The NullValue statement converts null values into a value. In this case an empty string. This can be very useful when profiling data, as it makes null values selectable, but doesn’t help us here. Answer D – NullInterpret. This is the “gotcha” option. The NullInterpret statement is designed to treat the given value as null. While this solution might also be effective, it applies universally. In the context of this question, it implies that empty values in the Amount column would be transformed into nulls. This might be desirable in a practical situation, but it’s not the optimal choice for this particular question. Another great solution was provided by Daniel Pilla, who suggests using the Num() function. This will convert any non-numeric values into null. In a practical sense, this is probably the best way to handle this. Of course, there’s much more to tell about null values in Qlik, but we’ll save that for another post. We’ll conclude this post with an excellent visual illustration of the difference between empty and null: The difference between empty and null Original image by R. Sato (@raysato) See you next time! 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. Masters Summit for Qlik The Masters Summit for Qlik provides the next step in your path to becoming a Qlik specialist. As an extra perk, Bitmetric has secured an over $450 discount just for you! Use code BITMETRIC at checkout. Read more here. Friday Qlik Test Prep Functions Qlik Script How can we help? Barry has over 20 years experience as a Data & Analytics architect, developer, trainer and author. He will gladly help you with any questions you may have. Call us Mail us 30 October 2025 Provisioning 100+ Qlik Cloud tenants on an OEM subscription Automating the provisioning of 100+ Qlik Cloud tenants using Qlik CLI and an OEM subscription. Lessons learned, practical tips, and reflections from the Masters Summit for Qlik. Automation Governance Masters Summit No-Code Qlik Training 6 October 2025 Waarom een externe consultant vaak de betere keuze is Je project groeit lekker door, maar je dashboards lopen achter. Of misschien kan je BI-omgeving wel wat vernieuwing gebruiken. Waarom dan niet een externe consultant inschakelen? Bitmetric Consulting 1 October 2025 New critical security patches for Qlik Sense Enterprise for Windows A new security vulnerability in Qlik Sense Enterprise for Windows has been disclosed, affecting versions from May 2025 Patch 5, November 2024 Patch 17, May 2024 Patch 23 and before. New Release Qlik Vulnerability
30 October 2025 Provisioning 100+ Qlik Cloud tenants on an OEM subscription Automating the provisioning of 100+ Qlik Cloud tenants using Qlik CLI and an OEM subscription. Lessons learned, practical tips, and reflections from the Masters Summit for Qlik. Automation Governance Masters Summit No-Code Qlik Training
6 October 2025 Waarom een externe consultant vaak de betere keuze is Je project groeit lekker door, maar je dashboards lopen achter. Of misschien kan je BI-omgeving wel wat vernieuwing gebruiken. Waarom dan niet een externe consultant inschakelen? Bitmetric Consulting
1 October 2025 New critical security patches for Qlik Sense Enterprise for Windows A new security vulnerability in Qlik Sense Enterprise for Windows has been disclosed, affecting versions from May 2025 Patch 5, November 2024 Patch 17, May 2024 Patch 23 and before. New Release Qlik Vulnerability