cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RachC
Helper I
Helper I

Parse timestamps to date

hi guys,I'm new to POWER BI, I got some trouble in date question.

 

This is my data.

 

1490787085874 // type of timestamps

and it should covert to 

GMT: Wed, 29 Mar 2017 11:31:25.874 GMT

Should I code convert function to convert or use the orignal time convert? any suggestions?

1 ACCEPTED SOLUTION

thks, solved it.

UTCTime = VAR UnixDays = [UnixTime]/(60*60*24*1000)
RETURN (DATEVALUE("1/1/1970")+UnixDays)

I set more 1000(ms) and it correct.

View solution in original post

3 REPLIES 3
HJC-AC
Frequent Visitor
Vvelarde
Community Champion
Community Champion

thks, solved it.

UTCTime = VAR UnixDays = [UnixTime]/(60*60*24*1000)
RETURN (DATEVALUE("1/1/1970")+UnixDays)

I set more 1000(ms) and it correct.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.