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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

null values

hi experts,

i have the following set analysis expression for calculating a field in a pivot table.

Expression:

=Num(Avg(Aggr(

Count({<CalendarDate=, CalendarMonthYear= {">=$(=date(MonthStart(Max(CalendarDate))))<=$(=date(Max(CalendarDate)))"}>} Unanswered)

/

(Sum({<CalendarDate=, CalendarMonthYear= {">=$(=date(MonthStart(Max(CalendarDate))))<=$(=date(Max(CalendarDate)))"}>} Answered)

+

Sum({<CalendarDate=, CalendarMonthYear= {">=$(=date(MonthStart(Max(CalendarDate))))<=$(=date(Max(CalendarDate)))"}>} Unanswered))

,branchname)))



i m getting some null values in some rows. because of this null value, the next field which depends on this field also gets null value.

so, i want to show the null values as zero value.

How can i do that.

please give me suggestions.

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

maybe wrap your expression in a rangemax() function. That will ensure you have a value.

Rangemax(myexpressionhere,0)

hope that helps

Joe

View solution in original post

6 Replies
buzzy996
Master II
Master II

select ur expression and try thisnull.PNG

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

I would just wrap all the expression inside IF(ISNULL())


Not applicable
Author

hi Gabriel,

thanks for the reply.

i tried this, but its not working.

can u please help me with the complete expression?

Not applicable
Author

Hi,

maybe wrap your expression in a rangemax() function. That will ensure you have a value.

Rangemax(myexpressionhere,0)

hope that helps

Joe

Not applicable
Author

thanks a lot joe

Not applicable
Author

no problem glad to help