Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
rido1421
Creator III
Creator III

Max on text date

Hi There

I am trying to get the max date on a date that is text

my date format is '201407'

Max dat on this is fine but I want to display it as July 14

variable, Max(DMonth)

below is my expression.

='Last Month '&'('&vMaxMonth&')'& ' Payment '

Load

DMonth,
Month(Date(Date#(DMonth,'YYYYMM'),'MMYYYY'))&'-'& Right(Left(DMonth,4),2) as [Text Month]
Resident Debtors;

how can I achieve this?

Regards,

             

1 Solution

Accepted Solutions
PrashantSangle

Hi,

Write

Date(Date#(DMonth,'YYYYMM'),'MMMM YY')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

3 Replies
PrashantSangle

Hi,

Write

Date(Date#(DMonth,'YYYYMM'),'MMMM YY')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
sundarakumar
Specialist II
Specialist II

Hi Try this

month(right(DMonth,2)&'/'&'01'&'/'&left(DMonth,4))

-Sundar

rido1421
Creator III
Creator III
Author

Thanks you