Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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