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: 
bhavvibudagam
Creator II
Creator II

=Max(Month) is not working

Hi Experts,

In the below attached app I have loaded Month Field. In the filter pane I am able to see Month. But when i have tried to take

=Max(Month) then I am not able to get Dec on Text object.


In the set analysis also Its not working

Sum({<Month={"$(=Max(Month))"},[Media Type]={'PAID MEDIA'}>}Visits)

Please help me on this

Thanks in advance.

1 Solution

Accepted Solutions
stabben23
Partner - Master
Partner - Master

Hi,

I'll think Maxstring maybe helps

Sum({<Month={"$(=Maxstring(Month))"},[Media Type]={'PAID MEDIA'}>}Visits)

View solution in original post

4 Replies
kenphamvn
Creator III
Creator III

Hi

your Month field is text data type, not Date type

Please convert to Date type before using


Regards

An Pham



big_dreams
Creator III
Creator III

try maxString()

Regards

stabben23
Partner - Master
Partner - Master

Hi,

I'll think Maxstring maybe helps

Sum({<Month={"$(=Maxstring(Month))"},[Media Type]={'PAID MEDIA'}>}Visits)

bhavvibudagam
Creator II
Creator II
Author

Hi ,

Max string is working.


I have used below one in the back end it is also working

Date( Date# ( "Month",'MMM'),'MMM') as Month,

Thanks