Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Imperium1
Frequent Visitor

DataFormat.Error from Excel

Dear Community,

 

I am completely new to Power BI and try my very first steps for data uploading and transformation ...

 

I have an Excel file with containing a data in the format "01.01.2017" so in this case 1st of January 2017. When I upload the data I get a Data.Format.Error giving me this data as a number like 42736. I think it just needs to be transfered as a data but I just do not find out how to do it.

 

I think it is a quite easy task, so thanks for helping me out 🙂

 

Imp

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Dateformatcheck.PNGHi,

 

Prior importing the file check the field format if its in number or text or  in power query try to edit the format to date.

Also make sure in your power bi destop the above option is selected .

 

Do let me know if this helped you

 

Regards,

Husna

 

 

View solution in original post

Anonymous
Not applicable

Hi @Imperium1 ,

Just change the data type as Date, you can find the data type under Modeling Tab.
Below screenshot FYR.

Before change:

Whole_Number.PNG

After Change:
Date.PNG

Best Regards,
Mail2inba4

If this post 
helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Imperium1
Frequent Visitor

Thank you both for your quick replay!

 

It now works 🙂 Nice

Anonymous
Not applicable

Hi @Imperium1 ,

Just change the data type as Date, you can find the data type under Modeling Tab.
Below screenshot FYR.

Before change:

Whole_Number.PNG

After Change:
Date.PNG

Best Regards,
Mail2inba4

If this post 
helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Dateformatcheck.PNGHi,

 

Prior importing the file check the field format if its in number or text or  in power query try to edit the format to date.

Also make sure in your power bi destop the above option is selected .

 

Do let me know if this helped you

 

Regards,

Husna

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.