Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ramanarayan
Creator
Creator

Date Conversion

stalwar1

Hi Sunny Talwar/Experts,

I have the month/year in the following format in the raw data that i load. I need help with a formula which should pick the max of the Month_Year. since the data is not in the specified format, date function is not working.

Please help.

Appreciate your support

Thanks,

Ram

1 Solution

Accepted Solutions
olivierrobin
Specialist III
Specialist III

hello

I would try something like :

=max(date(date#(Month_Year,'MMM''YY'),'MM/YYYY'))

View solution in original post

5 Replies
olivierrobin
Specialist III
Specialist III

hello

I would try something like :

=max(date(date#(Month_Year,'MMM''YY'),'MM/YYYY'))

jaumecf23
Creator III
Creator III

Hi,

Try this formula:

=Date(max(Date#(Month_Year,'MMM'&Chr('39')&'YY')),'MM/YYYY')

ramanarayan
Creator
Creator
Author

Thank you Olivier. Perfectly works

Appreciate it

jonathandienst
Partner - Champion III
Partner - Champion III

=Date(Max(Date#(Month_Year, 'MMM''YY')), 'MM/YYYY')


Although these would be simpler if they were converted to dates when loaded


LOAD ....

     Date#(Month_Year, 'MMM''YY') as Month_Year,

     ...

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
ramanarayan
Creator
Creator
Author

Thank you Jonathan. This also works