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: 
Not applicable

Help with expression

Hi All,

I have an expression that adds Commissions when all three fees are greater than zero. Can somebody help me adjust it so that it adds Commissions when any of the three fees are greater than zero? Thanks!!

Sum({<FeeOne = {">0"},FeeTwo = {">0"},FeeThree = {">0"}>} Commissions)

10 Replies
whiteline
Master II
Master II

In this case I think you will need the brackets:

=Sum({(<FeeOne = {">0"}>+<FeeTwo = {">0"}>+<FeeThree = {">0"}>)*<Year={"2011"}>} Commissions)