Skip to main content
Announcements
Applications are open for the 2024 Qlik Luminary Program. Apply by December 15 here.
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