Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
hjm35055
Partner - Contributor III
Partner - Contributor III

Convert string to date

Hi,

I have a standard calendar date field in the format of MM/DD/YYYY.

I created a fiscal month field and a fiscal year field off of the calendar date above.

Then I merged the fiscal year and fiscal month together to create a field that looks like 'YYYY-MM'.  This field is a string and I need to convert it to a date.

Thank you,

 

Labels (1)
1 Reply
Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi there

Try Date#([Field Name],'YYYY-MM')

Good luck.

Mauritz