Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
bhavvibudagam
Creator II
Creator II

Data Format conversion

Hi Everyone,

Can any one please help me on conversion of below formated Month field to Date Field.

It contains Month - Year and Number format values.

Thanks in Advance

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

Alt(Date(Date#(Month, 'MMM-YYYY'),'MMM-YYYY'), Date(Num(Month),'MMM-YYYY'))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

3 Replies
Anil_Babu_Samineni

May be this?

Alt(Date(Date#(Month, 'MMM-YYYY'),'MMM-YYYY'), Date(Num(Month),'MMM-YYYY'))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Peter_Cammaert
Partner - Champion III
Partner - Champion III

To turn those numbers into dates, use a Date() formatting function in your Load statement.

The first half of your list box contains values that are exclusively present as strings, not as Dates. The difference between the two sets points to a script loading from different sources. Use proper parsing ( e.g. Date#() ) and formatting functions (e.g. Date() ) to turn both date sources into properly formatted values.

bhavvibudagam
Creator II
Creator II
Author

Thank you Anil