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) not working

Hi Experts,

Can any one please help me on below issue.

I have date field like below.

I have extracted Month as

Month(CreateDate) as Month;

when I have taken Max(Month) and Max(Month)-1 on text boxes getting 12,11 instead of Dec and Nov.

I have tried

Text(Month(CreatedDate)) as Month; but still not working.

Please help me to get month in Dec format.

created date.png

Thanks in advance.

1 Solution

Accepted Solutions
sunny_talwar

May be try like this

Month(Max(Date))

Month(AddMonths(Max(Date), -1))

View solution in original post

1 Reply
sunny_talwar

May be try like this

Month(Max(Date))

Month(AddMonths(Max(Date), -1))