26 april 2022 Splitting strings with the Qlik SubField() function 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 the Qlik SubField() function used to split strings based on a common delimiter: The correct answer is C: SubField() Without going in too to much depth of whether #HoursWorked is a measure we should be scared of or not, we guess this question hasn’t taken too much of your time this week, seeing how unanimously this has been answered. A transformation which is pretty commonly encountered is separating values from a single field. Whether it is a comma separated value, a composed field or retrieving information from a file location, it is often necessary to extract only part of a field value. For this question SubField() would be the syntax of choice. The power of SubField() lays in the fact that we separate the values based on a given delimiter, rather then a length. While in this case we could have simply said Right(‘$(vField’), 4) to retrieve the right four characters, this wasn’t part of the options, nor is it the most elegant. In many cases this won’t suffice, because the field we are trying to separate has a variable length or the whole string consists of more than two words. Qlik SubField() syntax The SubField() function has the following syntax: SubField(text, delimiter[, field_no ]) Reviewing the answer; our text is the variable vField which is split by a single space as the delimiter and we would like to return the second field number to retrieve only the year number from the string. Another thing to know about SubField() is that the field number we would like to return can be either a positive or a negative number. If we use a positive number, the return value would be the first field before the set delimiter and work its way subsequently backwards. If we use a negative number, the field value after the last delimiter would be returned and works its way subsequently forwards. To visualize: SubField(‘This is a test’, ‘ ‘, 3) returns ‘a’ SubField(‘This is a test’, ‘ ‘,-1) returns ‘test’ That’s it for this week. See you next Friday? More from the Bitmetric team Bitmetric Qlik Support Keep your Qlik environment running smoothly with proactive support that prevents issues before they appear. Available on flexible monthly plans. Learn more. Qlik vs Power BI Series See how Qlik and Power BI perform when theory meets reality. Three apps rebuilt, every step examined. Learn more. Qlik examentraining Functies Qlik Oplossing 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 6 november 2026 Qlik Cloud overage: wie bepaalt hoeveel risico je loopt? Een kleine fout in Qlik Cloud kan al tot onverwachte overagekosten leiden. Maar hoe groot kan dat financiële risico worden? We delen onze eigen ervaring, leggen uit hoe Data for Analysis-overage werkt en bespreken waarom klanten zelf zouden moeten kunnen bepalen hoeveel extra capaciteit ze willen toestaan. Ook kijken we naar de mogelijkheden om overschrijdingen te voorkomen en naar de ontwikkelingen rondom Usage Bank. Data-analyse Governance Qlik 6 november 2026 Microsoft Fabric en Power BI: de belangrijkste updates van oktober 2026 AI-agents die Power BI-rapporten bouwen, zelfstandig data engineering uitvoeren en steeds beter vragen over bedrijfsdata beantwoorden. Microsoft zette in oktober opnieuw flinke stappen met Fabric en Power BI. Maar wat betekenen deze ontwikkelingen in de praktijk? We bespreken de belangrijkste updates en delen onze ervaringen en inzichten. Agentic development: sneller bouwen, maar niet zonder ontwikkelaar […] Microsoft Fabric Nieuwe release Power BI 4 november 2026 Qlik Cloud Update oktober 2026: Semantic Models, AI en moderne ontwikkeling Oktober bracht 24 updates voor Qlik Cloud. Vooral de introductie van Semantic Models in Data Products springt eruit. Ook Qlik Code voor VS Code, AI-ondersteunde ontwikkeling en verbeteringen aan de Direct Access gateway verdienen aandacht. Onze consultants bespreken wat deze ontwikkelingen in de praktijk betekenen. Nieuwe release Qlik
6 november 2026 Qlik Cloud overage: wie bepaalt hoeveel risico je loopt? Een kleine fout in Qlik Cloud kan al tot onverwachte overagekosten leiden. Maar hoe groot kan dat financiële risico worden? We delen onze eigen ervaring, leggen uit hoe Data for Analysis-overage werkt en bespreken waarom klanten zelf zouden moeten kunnen bepalen hoeveel extra capaciteit ze willen toestaan. Ook kijken we naar de mogelijkheden om overschrijdingen te voorkomen en naar de ontwikkelingen rondom Usage Bank. Data-analyse Governance Qlik
6 november 2026 Microsoft Fabric en Power BI: de belangrijkste updates van oktober 2026 AI-agents die Power BI-rapporten bouwen, zelfstandig data engineering uitvoeren en steeds beter vragen over bedrijfsdata beantwoorden. Microsoft zette in oktober opnieuw flinke stappen met Fabric en Power BI. Maar wat betekenen deze ontwikkelingen in de praktijk? We bespreken de belangrijkste updates en delen onze ervaringen en inzichten. Agentic development: sneller bouwen, maar niet zonder ontwikkelaar […] Microsoft Fabric Nieuwe release Power BI
4 november 2026 Qlik Cloud Update oktober 2026: Semantic Models, AI en moderne ontwikkeling Oktober bracht 24 updates voor Qlik Cloud. Vooral de introductie van Semantic Models in Data Products springt eruit. Ook Qlik Code voor VS Code, AI-ondersteunde ontwikkeling en verbeteringen aan de Direct Access gateway verdienen aandacht. Onze consultants bespreken wat deze ontwikkelingen in de praktijk betekenen. Nieuwe release Qlik