Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |