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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

date to integer / integer to date problem (german dates) / 7 and 8 digits

Hey guys,

I am 99% sure that my question has already been asked several times, but I can't find a forum post with exactly my situation.

Today I imported a table from Excel which contained birthdays of people. These were according to the dd/mm/yyyy format (Germany). However, Power BI took these as integers and added some bugs.
For example, 07.07.1997 becomes 7071997 and 15.15.1995 becomes 15151995.

The problem is that there are birthdays with 7 and some with 8 digits (if the first digit is a 0 it will be removed). Therefore I cannot split the column to create a new birthday column.

Does anyone have a tip or an idea?

Many thanks and best regards

1 ACCEPTED SOLUTION
ZunzunUOC
Resolver III
Resolver III

Have you look at Data Type? You must choose Date Type-> Date/Time and Format->dd.mm.yyyy

 

Best Regards,
Miguel

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

2 REPLIES 2
ZunzunUOC
Resolver III
Resolver III

Have you look at Data Type? You must choose Date Type-> Date/Time and Format->dd.mm.yyyy

 

Best Regards,
Miguel

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

Anonymous
Not applicable

that does not work. It throws just ERROR:

 

beforebeforeafterwardsafterwards

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.