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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
migue7899
New Member

Problem Converting UNIX time power bi desktop

hi

 

in this topic explain how to convert the unix time type into power bi desktop:

 

https://community.powerbi.com/t5/Desktop/Converting-UNIX-time-to-Date-in-PowerBI-for-Desktop/m-p/132...

 

my problem is that my time zone is gmt less -7 as I can do this conversion thanks.

 

1 ACCEPTED SOLUTION
MarcelBeug
Community Champion
Community Champion

Adjust the formula with -7 as hours in the #duration part:

 

#datetime(1970, 1, 1, 0, 0, 0) + #duration(0, -7, 0, [UnixTime]/1000)
Specializing in Power Query Formula Language (M)

View solution in original post

2 REPLIES 2
MarcelBeug
Community Champion
Community Champion

Adjust the formula with -7 as hours in the #duration part:

 

#datetime(1970, 1, 1, 0, 0, 0) + #duration(0, -7, 0, [UnixTime]/1000)
Specializing in Power Query Formula Language (M)

 
 
excellent and I'm resolved thank you marcel

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.