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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis

I am trying to calculate the set based on the month and sum the accounts.

Sum{<Month = {"=>$(Month(today()))<=$(MaxString(Month)) "}>} accounts .The value should be pretty much from the present month and to end of the year.

But the set analysis is not working properly. Please advise.

2 Replies
maxgro
MVP
MVP

sum({$<Month ={">=$(=max(Month(Today())))<=$(=max(Month))"}>} account)

or

sum({$<Month ={">=$(=max(Month(Today())))<=12"}>} account)

Vegar
MVP
MVP

Set with month() can be tricky. Month is a dual value and can be string and number. Make sure that you don't compare a digit with a string.

-Vegar