Forum Discussion

tonygpie's avatar
tonygpie
New Member
8 years ago
Solved

transform lastlogontime to date/time data type

I am attempting to transform the lastlogontime from Active Directory to Date/Time data type using the Query Editor in PowerBI Desktop.   Regardless if I select the entire column or just a single entry I just get an error.  It initially comes up as a Decimal Number data type and is in the Nanosecond format.  I can transform the same data to text or to a Whole Number but if I pick any of the Date data types it just says Error in each of the fields.   I have searched on Google as well as on this forum and have not had any luck finding a solution.

 

Any suggestions?