Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Mamta123
Contributor II
Contributor II

Convert Month to numeric Month

I have a column Month 

The Column has data like  January, February,  March , April, May etc.,

I need to convert it to numeric

January should be 1

February should be 2 etc.,

 

 

Labels (1)
1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Num(Month(Date#(Month, 'MMMM'))) as MonthNum

View solution in original post

1 Reply
tresesco
MVP
MVP

Try like:

Num(Month(Date#(Month, 'MMMM'))) as MonthNum