Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

1 Solution

Accepted Solutions
sunny_talwar

May be this:

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

View solution in original post

3 Replies
sunny_talwar

May be this:

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

tresesco
MVP
MVP

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)