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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

max function

Hi

I have written following expression which does not return any value. Have I made any error in it.

SUM({<MONTH={'$(<=max(MONTH)'}>}ACTUAL)

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

In addition, it should look like

SUM({<MONTH={"<=$(=Max(MONTH))"}>}ACTUAL)

View solution in original post

5 Replies
swuehl
Champion III
Champion III

Is MONTH a field with numeric values?

What does

=Max(MONTH)

return in a text box?

swuehl
Champion III
Champion III

In addition, it should look like

SUM({<MONTH={"<=$(=Max(MONTH))"}>}ACTUAL)

upaliwije
Creator II
Creator II
Author

This is how I extract Month

Month(TRN_DATE) As MONTH,

sibusiso90
Creator III
Creator III

=SUM({<MONTH={"<=$(=max(MONTH))"}>}ACTUAL)

sibusiso90
Creator III
Creator III

Try the above and let's see how it goes.