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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mcdermjj
New Member

Convert String to date and time

Hi There 

I would like to convert the string formats below in my DATETIME column into a useable Date and Time Column such as 2023/06/16 22:45:00 , so Power Bi can recognise it as  a real Date and time  format for use. Thanks

2023061612245000
2023061612244900
2023061612244800
3 REPLIES 3
devanshi
Helper V
Helper V

Just select the that column & change datatype text to date/time. It automatically convert in date time formate

Hi there, unfortunatley that gave me  error 😞  so trying adding a column and extracting the first 8 Characters. for date and then changing data type to date ( That seems to work ) and then Just trying the last 8 for time and its not working for data type change for time.. will keep trying 

mcdermjj_0-1687524170362.png

 

Try this one,
Go to transform tab, then 

devanshi_0-1687756597506.png

Click one from this , select date/time datatype .

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.