Forum Discussion

migue7899's avatar
migue7899
New Member
8 years ago
Solved

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/132066#M56340

 

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

 

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

     

    #datetime(1970, 1, 1, 0, 0, 0) + #duration(0, -7, 0, [UnixTime]/1000)

2 Replies

  • MarcelBeug's avatar
    MarcelBeug
    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)
    • migue7899's avatar
      migue7899
      New Member
       
       
      excellent and I'm resolved thank you marcel