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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.