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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
dotnet
Frequent Visitor

Date and Time format not recognized

Hello all, i am new to this forumn, i am trying to work on a report with a CSV files containing data, one of the coloumn has date time and extra characters. For example below -04:00:00 are extra characters, what can i do in PowerBI to recognize it as DATE and TIME. 


Time Scanned

2018-08-02 07:39:04 -04:00:00 

 

I am looking for simple change in BI, as the CSV files gets changed every day. Please help. TIA.

 

 

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @dotnet,

Based on my test, you could split your column in query editor or with max:

In query editor:

Use the Split Column function:

1.PNG

If you want to use the dax, you could try:

Column = LEFT('Table1'[Time],20)

2.PNG

 

Regards,

Daniel He

 

 

Community Support Team _ Daniel He
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

4 REPLIES 4
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @dotnet,

Based on my test, you could split your column in query editor or with max:

In query editor:

Use the Split Column function:

1.PNG

If you want to use the dax, you could try:

Column = LEFT('Table1'[Time],20)

2.PNG

 

Regards,

Daniel He

 

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@dotnet you could use right or left to get rid of characters if you know the length of it.

Didn't get it, what is right or left. Are you talking about splitting them?

jthomson
Solution Sage
Solution Sage

Just split the column by a delimiter?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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