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

Create Date

Hi All

I have a Month field containing values Jan to Dec.

How can I create a dummy date field using the Month field I already have?

1 Solution

Accepted Solutions
amit_saini
Master III
Master III

6 Replies
Anonymous
Not applicable
Author

This should work:

=date(date#(2015 & "MonthField" & 01, 'YYYYMMMDD'))

satishqlik
Creator II
Creator II

Could you attach the sample data.

PrashantSangle

Hi,

Use makeDate()

makeDate(2015,MonthField,1)

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 🙂
amit_saini
Master III
Master III

Hi,

Like this:

Not applicable
Author

Thanks a lot!

mohammadkhatimi
Partner - Specialist
Partner - Specialist

MakeDate(num(financialyear),num(wildmatch([month],'Jan*','Feb*','Mar*','Apr*','May*','Jun*','Jul*','Aug*','Sep*','Oct*','Nov*','Dec*')),1)

Try the above logic...