Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
jaswanth222
Contributor II
Contributor II

Include NULL Values Handling in KPI charts in Qlik sense

Hello Everyone,

I have an issue with the Set expression in KPI chart. i'm calculating the percentage in my expression i'm using Parent incident id for this column is having Null values i want to calculate the Null values. but while calculating the t column not considering. please find the below expression

Num(sum({<Goal={'Cpi - Critical - Restore'},ID={'365'},Reported_13Month={1},[Status]={0},[Parent Incident ID]={'Null'}>}[Ticket Count])/sum({<Goal={'Cpi - Critical - Restore'},ID={'365'},Reported_13Month={1},[Parent Incident ID]={'Null()'}>}[Ticket Count]),'##.##%')

please anyone can help me on this.

Labels (5)
9 Replies
BrunPierre
Partner - Master
Partner - Master

Hi, I'd do this to assign null a selectable value and apply them in expressions.

If(Len(Trim([Parent Incident ID])), [Parent Incident ID], 'NULL') as [Parent Incident ID]

... [Parent Incident ID]={"NULL"} ...

jaswanth222
Contributor II
Contributor II
Author

For data load editor not having access how can we do in expression.

BrunPierre
Partner - Master
Partner - Master

[Parent Incident ID]={"=IsNull([Parent Incident ID])"}

or

[Parent Incident ID]={"=Len(Trim([Parent Incident ID]))=0"}

Syed_M0
Partner - Contributor II
Partner - Contributor II

Mayebe this may work,

Num(sum({<Goal={'Cpi - Critical - Restore'},ID={'365'},Reported_13Month={1},[Status]={0},[Parent Incident ID]={'$(=Null())'}>}[Ticket Count])/sum({<Goal={'Cpi - Critical - Restore'},ID={'365'},Reported_13Month={1},[Parent Incident ID]={'$(=Null()'}>}[Ticket Count]),'##.##%')

jaswanth222
Contributor II
Contributor II
Author

i have applied same expression and tried this is not working zero count showing but for that field has data.

Syed_M0
Partner - Contributor II
Partner - Contributor II

Try this

IF(Isnull(Field),Count(distinct Field))

 

 

BrunPierre
Partner - Master
Partner - Master


@BrunPierre wrote:

[Parent Incident ID]={"=IsNull([Parent Incident ID])"}

or

[Parent Incident ID]={"=Len(Trim([Parent Incident ID]))=0"}


@jaswanth222 have you tried these already?

jaswanth222
Contributor II
Contributor II
Author

yes

BrunPierre
Partner - Master
Partner - Master

Try

[Parent Incident ID]= E({<[Parent Incident ID]={"*"}>})