This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi, I have brought in an excel spread sheet as a data source. I have a date column, which is formated to short date in the excel sheet, but when i try change this column's type in the query editor from number to date, then all the dates in the column shows error. Please can someone assist.
Hi Thanks for advise, unfortunately it did not work. Here is a snapshot of my problems. I have imported an excel spreadsheet to power BI, and power bi converts the durations into dates and I have tried chaning the type both in excel and power bi, but nothing works.
Is there something im missing?
You have several problems that I can see:
Good luck.
Hi @GabrielK ,
Try using local:
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Hello @GabrielK,
One approach is to create a new column for the date conversion:
ConvertedDate =
VAR DateAsText = FORMAT([YourDateColumn], "0000-00-00")
RETURN
DATE(
VALUE(MID(DateAsText, 1, 4)),
VALUE(MID(DateAsText, 6, 2)),
VALUE(MID(DateAsText, 9, 2))
)
Alternatively, if your date column is stored as a number:
ConvertedDate =
DATE(1899, 12, 30) + [YourDateColumn]
Hope this helps - Alternatively, lets connect and I can guide you through the process - Yes, its FREE 🙂
(https://topmate.io/sahirmaharaj/649292)
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |