Forum Discussion
Anonymous
4 years agoNot applicable
Month name to Month Numbers
Hi Team, I have month names in m data I want to get month numbers. I dont have date column. Month Required Results Jan 01 Feb 02 Mar 03 Apr 04 May 05 Jun 06 July ...
- 4 years ago
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
Required result CC = MONTH ( CONVERT ( "2022-" & Data[Month] & "-01", DATETIME ) )
Jihwan_Kim
4 years agoSuper User
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
Required result CC =
MONTH ( CONVERT ( "2022-" & Data[Month] & "-01", DATETIME ) )
Riv
3 years agoAdvocate I
I tried this and I got this error: "Cannot convert value 'May' of type Text to type Date."