Forum Discussion
esero88
2 years agoFrequent Visitor
Expression.Error: We couldn't parse the input provided as a Time value.
I have created a query, but I'm getting an error in the last step. I haven't figured out why. The query: let Source = MesaiFact, #"Added Custom" = Table.AddColumn(Source, "Yesterday", each ...
ZhangKun
Super User
2 years agoThis error is caused by Time.From, which cannot recognize time with date. If you only need the time, you can use the following code instead of Time.From()
DateTime.Time(DateTime.From("2024-02-21 08:31:05"))