Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Nathant
Frequent Visitor

Converting UNIX timestamp to datetime

I have a UNIX timestamp being returned as 1635854750 which when putting into an online converter should be Tue Nov 09 2021 11:06:11 GMT+0000.

 

So i have created a custom column with the following query to convert.

 

#datetime(1970,1,1,0,0,0) + #duration(0,0,0,[data.resolved_time]/1000)

 

But this isn't yielding the result i'm expecting (row 1)?

Nathant_0-1700223578773.png

 

Am i missing something?



 

 

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

Try removing the /1000 part of the formula,

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors