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: 
Woojtek_96
Contributor III
Contributor III

Sum values only if value in other column is below.

Hello, 

I want to sum Price only if agency number is lower than 70000. Now I make something like that:

sum({$<[Agency number]={"*"}>} Price) * 0.0407

I know this will sum all values coz of "*", but could anyone tell me how to modify this? to make a solution which i want.

i have to make a variable? I tried <, >, =<, >=, instead of = but i didn't work.

Thanks for all help

Greetings

1 Solution

Accepted Solutions
sunny_talwar

This

Sum({$<[Agency number]={"<70000"}>} Price) * 0.0407

View solution in original post

2 Replies
sunny_talwar

This

Sum({$<[Agency number]={"<70000"}>} Price) * 0.0407
Woojtek_96
Contributor III
Contributor III
Author

It works

Thank you very much!