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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Wrong automatic Date assignment

Hi!

 

So I'm importing some data from an excel table and the way the data is formatted is  19Mar which is meant as 2019 March.

Its autodetecting it as march 19 *current year*

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

If you want the column to be a date, it will have to be manipulated with text functions before the conversion to date type.

If all dates are in the 21st century then try adding "20" to the front of each value. (Try adding a column with a simple formula "20" & value)

Then try converting to a date.

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

If you want the column to be a date, it will have to be manipulated with text functions before the conversion to date type.

If all dates are in the 21st century then try adding "20" to the front of each value. (Try adding a column with a simple formula "20" & value)

Then try converting to a date.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.