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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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)

1 Solution

Accepted Solutions
swuehl
MVP
MVP

In addition, it should look like

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

View solution in original post

5 Replies
swuehl
MVP
MVP

Is MONTH a field with numeric values?

What does

=Max(MONTH)

return in a text box?

swuehl
MVP
MVP

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.