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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
guiller
Contributor
Contributor

Average of addition without zeros

Hi,

I have two categories: cat1 and cat2

I want to calculate the average of (cat1+cat2), without taking into account the lines in which both cat1 and cat2 are null or zero.

Many thanks!

1 Reply
chris_djih
Creator III
Creator III

have tried something like this: If( cat1+cat <> 0, <your average calculaton>)

If you found help, mark the correct answer and give some likes to ALL contributors, that tried to help.