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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Null() function

I have source application and target appliaction.while testing two applications the avg(Sal) is not coming correctly.

assume that in target some null values added extra compare to source.

so it will take avg means all the count of null values right?

how can i achieve it?

both sum(sal) is same value in source app and target app.

but Avg(sal) is not correct.

Labels (1)
3 Replies
sunny_talwar
MVP
MVP

May be this

Sum(sal)/Count(sal)

sunny_talwar
MVP
MVP

Or

Sum(sal)/Count(DISTINCT Dimension)

Where Dimension is the field you are trying to average sal

BalaBhaskar_Qlik
Master
Master

Try like:

Sum(Sales)/(Count({<Date={'<=$(vMaxDate)'},Sales-={""}>}  Sales))

Check the dates also.