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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date text into numeric value

Year and month in my data base are two distinct text columns.  Is is anyway I can make transform that into numeric value so I can build a calendar scrip? Any ideas?

1 Solution

Accepted Solutions
Not applicable
Author

Do something like this:

=Num(MakeDate('2013','01',1 ))

Just substitute '2013' with the year column and substitute '01' with your month column.

HTH.

View solution in original post

6 Replies
luciancotea
Specialist
Specialist

MakeDate()

Not applicable
Author

you can use makedate() function and might possibly need to combine it with num#(). you can look up those functions in the reference manual. if you posted a sample qvw with some data if it would be easier to help you

Not applicable
Author

Do something like this:

=Num(MakeDate('2013','01',1 ))

Just substitute '2013' with the year column and substitute '01' with your month column.

HTH.

Not applicable
Author

Worked beautifully!  Thank you so much!

Not applicable
Author

Worked beautifully!  Thank you so much!

Not applicable
Author

Worked great!  Thank you so much!