Forum Discussion
alexbjorlig
4 years agoHelper IV
Power BI dataflow and milliseconds
I have a Power BI dataflow, that fetches data from an OData source. The column in question is of type Date, and clearly includes milliseconds: However, when I connect to the data sou...
- 4 years ago
That is correct.
Anonymous
4 years agoNot applicable
When you say "carry the values over", do you mean add new column in SQL that is in milliseconds, or is there a way to get datetime in Power BI to numeric format with milliseconds?
Anonymous
4 years agoNot applicable
Epoch Time Format seems to be in seconds, not in milliseconds
- lbendlin4 years agoSuper User
As a general concept, yes. But you can add fractional parts to the epoch numbers.
Let me see if I can setup a similar scenario on my SQL Server
- Anonymous4 years agoNot applicable
Did you find any workaround in Power BI side?
- lbendlin4 years agoSuper User
let Source = #table({"datetest"},{{"2022-05-25 15:30:23.1234"}}), #"Changed Type" = Table.TransformColumnTypes(Source,{{"datetest", type datetimezone}}), #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each [datetest]- DateTimeZone.From(Date.From([datetest]))) in #"Added Custom"How to use this code: Create a new Blank Query. Click on "Advanced Editor". Replace the code in the window with the code provided here. Click "Done".