Forum Discussion
Sheref_Morad
4 years agoFrequent Visitor
Date Column
I have a column in Power Query that has a several years period as a Whole Number, I want to transfer it to a date column
- Anonymous4 years ago
Hi Sheref_Morad ,
First, change the data type of Year Column to Text.
And now , again change the data type to Date, it'll work.
#"Changed Type1" = Table.TransformColumnTypes(#"Replaced Value",{{"Year", type text}}), #"Changed Type2" = Table.TransformColumnTypes(#"Changed Type1",{{"Year", type date}})
Anonymous
4 years agoNot applicable
Hi Sheref_Morad ,
First, change the data type of Year Column to Text.
And now , again change the data type to Date, it'll work.
#"Changed Type1" = Table.TransformColumnTypes(#"Replaced Value",{{"Year", type text}}),
#"Changed Type2" = Table.TransformColumnTypes(#"Changed Type1",{{"Year", type date}})