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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
dradoikov
Partner - Contributor III
Partner - Contributor III

Set Analysis

Hello,

I have a problem with following script

=Sum ({$< TXT = {"Sales"}, AccMonth={$(Month1)} > } AccRowsDebitRowSum)


I want to sum all the values that are less than or equal to the variable $ (Month1)



How to do it

Labels (1)
1 Solution

Accepted Solutions
Not applicable

Hi,

try something like this:

=Sum ({$< TXT = {"Sales"}, AccMonth={"<=$(Month1)"} > } AccRowsDebitRowSum)

If it not work upload an example please.

Good luck!

Rainer

View solution in original post

2 Replies
Not applicable

Hi,

try something like this:

=Sum ({$< TXT = {"Sales"}, AccMonth={"<=$(Month1)"} > } AccRowsDebitRowSum)

If it not work upload an example please.

Good luck!

Rainer

dradoikov
Partner - Contributor III
Partner - Contributor III
Author

Works!

Thank you very much

Daniel