Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi. I am new to Power BI and I have imported data from Excel. The Excel file has a time column which is properly formatted as hh:mm. On importing into Power BI each time slot is displayed with the following date at its start 1899-12-31. For example: 1899-12-31 09:00:00AM. How do I prevent this from happenning? I did merge the time column with the date column to see if the problem willl disappear but the 1899-12-31 date remains in the merged column. Can anybode help please?
Solved! Go to Solution.
Hi @Gerhard1957,
Based on my test, if we format column cell as time value in Excel, after we import data from Excel to Power BI Desktop, the data type will be changed to Date/Time automatically. See:
In your scenario, you can change the data type of this column to Time and set its format.
Best Regards,
Qiuyun Yu
Hi @Gerhard1957,
Based on my test, if we format column cell as time value in Excel, after we import data from Excel to Power BI Desktop, the data type will be changed to Date/Time automatically. See:
In your scenario, you can change the data type of this column to Time and set its format.
Best Regards,
Qiuyun Yu
Thank you Qiuyun_Yu
OK. I found a work-around by splitting the time column and then deleting the 1899-12-31 column. However, I would still like to prevent the problem if possible.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
12 | |
12 | |
11 | |
8 |
User | Count |
---|---|
42 | |
27 | |
14 | |
13 | |
13 |