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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Syntax for Sum statement

Hi,

I'm struggeling with the folowing:

What is the correct syntax for replacing value 3 with $(variable) in the line below?

Sum( {<Year={2009}, Month={"<=3"}>}LINEAMOUNTMST)

Thanks in advance!

1 Solution

Accepted Solutions
sridhar240784
Creator III
Creator III

Try this below expression

Sum( {<Year={2009}, Month={"<=$(variable)"}>}LINEAMOUNTMST)

-Sridhar

View solution in original post

1 Reply
sridhar240784
Creator III
Creator III

Try this below expression

Sum( {<Year={2009}, Month={"<=$(variable)"}>}LINEAMOUNTMST)

-Sridhar