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
javieezy
Helper I
Helper I

Date Time problem

Dear all, 

 

I'm facing a problem now as I input the data from Excel, the column "ATA" shows as Text instead of Date/Time (as "ATD) and cannot be shown as Date/Time. 

javieezy_0-1621884893712.png

javieezy_1-1621885066606.png

 

But from Excel this two columns are in the same format and can even do calculations. 

 

Any help would be appreciated. 

 

Br, 

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@javieezy 

The problem with the column ATA is, it has ":"  at the end, do the following.
Go to: Transform > Extract > Text Before Delimiter and choose the options as I have done

Fowmy_0-1621886413658.png
Then change the column type to Date/Time.
Done

Fowmy_1-1621886519984.png

 

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@javieezy 

The problem with the column ATA is, it has ":"  at the end, do the following.
Go to: Transform > Extract > Text Before Delimiter and choose the options as I have done

Fowmy_0-1621886413658.png
Then change the column type to Date/Time.
Done

Fowmy_1-1621886519984.png

 

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Greg_Deckler
Super User
Super User

@javieezy Can you share the file or at least the code from Advanced Editor in Power Query Editor? Almost looks like the first column is getting truncated for some reason.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.