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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to calculate the sum including null values

suppose  I calculating the  sum of sales. in that sales have some null values means in that format(-) are their . so how to calculate the sum of sales in that example any one plz tell me...... urgent 

5 Replies
ashfaq_haseeb
Champion III
Champion III

Simply write

=sum(sales) as your expression.

regards

ASHFAQ

Not applicable
Author

For clarity sake you could also exclude dimensions with value Null (Suppress when value is null)

jagan
Partner - Champion III
Partner - Champion III

Hi,

Just use

=Sum(MeasureName)


It will work.


Regards,

Jagan.

er_mohit
Master II
Master II

Try this expression

sum(Sale)

Make sure in presentation tab you uncheck the suppress zero value  to see the null values

Not applicable
Author

Hi,

You can add this in your script

sum(sales)

Regards

Charitha