Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. 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)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |