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.
Hi There,
Not sure how many folks are experiencing this but I am using a Excel data source for some PowerBI reporting I want to do.
My data in excel is in displayed in this format 5/02/2015 3:30:00:00PM using a decimal number like this
42126.62708 |
When I load the data, PowerBI says it can not parse the data example below into a datetime format.
Have done a little research aroud DAX coding but dont see anything which will allow me to have a datetime format including milliseconds.
Can PowerBI even report or trend on datetime in milliseconds?
Thanks,
Allen S
Any ideas how to tackle an issue like this?
Thanks,
Allen
Hi Jerry
Thanks for the message, but it should accept it at the seconds level, is that correct?
Thanks,
Allen
Hi @allens1,
Yes, the decimal number can be converted to Date/Time at the seconds level in this case. However, you need to change the display format from "5/02/2015 3:30:00:00 PM" to "5/02/2015 3:30:00 PM", or just use the decimal format in Excel before loading it to Power BI Desktop.
Regards
Thats why mine worked, I had display format of: m/d/yyyy h:mm:ss AM/PM
Good catch
I just tried this, and PowerBI seemed to recognize as DateTime format
In my Excel, I had to use the custom format: m/d/yyyy h:mm:ss AM/PM to get it to show up like yours
I'm not sure why its not recognizing in your case
hey there,
what values did you use and what version of Excel are you using?
I might try loading this in multiple formats to see if it will work, PowerBI is truncating the real length of the decimal datetime value from excel.
I tried the value you had in your initial comments, and I am using Excel 2016
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |