Forum Discussion
Anonymous
6 years agoNot applicable
Transform text to datetime
I have a ADE function which PowerBI calls that returns a couple of columns, one of which is ingestTime. When I go to transform the data from a text value to 'DateTime' it throws an error: Expression...
- 6 years ago
Hi Anonymous ,
Please change the format to "MM/dd/yyyy h:mm:ss AM/PM" to have a try. You also could use custom format in Model view like below:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings
FrankAT
Community Champion
6 years agoHi Anonymous
may be you can change data type with locale in Power Query (see figure):
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)