Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi all, I am trying to convert the epoch datettime from my imported record into a more readable datetime. I am using a nativeQuery to my PostGre database. Here is the formula I have been using and the given result. The issue is that I am not get the minutes and seconds but only the date with a default 12:00:00 a.m
"SELECT DATE('1970-01-01') + (c1000000348/ 86400) AS ""Submitted Date"" from txxx".
I have tried this other formula adding a custom column as below
= Table.AddColumn(#"Change Type", "DateTime", each #datetime(1970,1,1,0,0,0) + #duration(0,0,0,[c1000000348]), type DateTime)
: but I am getting an error stating: "Expression.SyntaxError: The type identifier is invalid."
Pls assist
Thank you
Solved! Go to Solution.
Thank you Nate!
It's type datetime, not DateTime.
--Nate
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.