Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
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