Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Pulkit_Thukral
Partner - Creator II
Partner - Creator II

Inclding spaces also in set analysis

Issue is as followed:

i am writing a set analysis statement for counting tickets sla_value is not eual to detached ( SLA_Value-={'Detached'}).

But it is also excluding tickets where Sla_Value is blank(' '). I need those values to be included in the count and only the tickets with sla_value as Detached to be excluded.

Labels (1)
2 Replies
sunny_talwar
MVP
MVP

May be this:

{<SLA_Value -= {'Detached'}>+<SLA_Value = {"=Len(Trim(SLA_Value)) = 0"}>}

avinashelite
MVP
MVP

one more approach would be is to add a flag for the null SLA_Value in the script and you could use the same in the set analysis

{<SLA_Value -= {'Detached'}>+<SLA_Value_Flag = {1}>}