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

Syntax for “greater than or equal to” when defining a set?

Hi everyone,

I’m new to Qlik and working on a report for which I need to limit a chart to only display information regarding pledges in or after 2007.  I’m able to limit to just pledges in 2007 using this:

=Sum({$<[Gift or Payment Flag] ={'Payment'}, [Pledge Year] = {'2007'} >}  [Payment Amount])

But I get an error is I use this:

=Sum({$<[Gift or Payment Flag] ={'Payment'}, [Pledge Year] >= {'2007'} >}  [Payment Amount])

What is the correct syntax for “greater than or equal to” when defining a set?

Thanks!

Grace

1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

Try this:

=Sum({$<[Gift or Payment Flag] ={'Payment'}, [Pledge Year] = {'>=2007'} >}  [Payment Amount])


Hope this helps!

View solution in original post

3 Replies
jerem1234
Specialist II
Specialist II

Try this:

=Sum({$<[Gift or Payment Flag] ={'Payment'}, [Pledge Year] = {'>=2007'} >}  [Payment Amount])


Hope this helps!

Not applicable
Author

Hi Grace,

This should work

=Sum({$<[Gift or Payment Flag] ={'Payment'}, [Pledge Year] = {">=2007"} >}  [Payment Amount])

Not applicable
Author

Success!  Thanks for the help!