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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dominicanlauf
Contributor III
Contributor III

sum up different values

Hello everybody,

I have a table that should sum up the pieces produced. There is a product A and a product B, which differ by the property "cylinder = 0 or> 0".

I would like to look at the number of produced pieces  of both products separately.

My idea was: if (cylinder = 0, sum (productionstatistic.produced))

if (cylinder> 0, sum (productionstatistic.produced)

This does not work.

Does anyone know how to solve the problem?

Thanks!

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: sum ({<cylinder={0}>}productionstatistic.produced)

Make sure to use the correct case sensitive field names.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: sum ({<cylinder={0}>}productionstatistic.produced)

Make sure to use the correct case sensitive field names.


talk is cheap, supply exceeds demand