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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Filter

Hi, I wonder if someone can help I currently have an expression that sums the weight based on the delivery year which is set in a variable however I want to filter this data to only display anything bigger than 450,000

this is my current expression : sum({$<DYear = {$(#vYear1)}>} Weight)


thanks in advance


J

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

If(Sum({$<DYear = {$(#vYear1)}>} Weight) > 450000, Sum({$<DYear = {$(#vYear1)}>} Weight))

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

May be this:

If(Sum({$<DYear = {$(#vYear1)}>} Weight) > 450000, Sum({$<DYear = {$(#vYear1)}>} Weight))

tresB
Champion III
Champion III

sum({$<DYear = {$(#vYear1)} , Weight={'>450000'}>} Weight)

Anonymous
Not applicable
Author

try if sum should be greater than 450000

if (sum({$<DYear = {$(#vYear1)}>} Weight) >450000, sum({$<DYear = {$(#vYear1)}>} Weight))

or if every weight should be more than 450000

sum({$<DYear = {$(#vYear1)},Weight={'>=450000'}>} Weight)