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

HELP WITH Expression.Error: We couldn't parse the input provided as a Time value.

Hello,

I dont know why I am getting an error in my time column for only one of the rows.
This is how the column looks:

kaym_0-1707513670059.png

and this is the error:

kaym_1-1707513803312.png

Thank you for your help!

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello @kaym ,

 

The time in this row is not recognized as time in power bi, so maybe there's something missing in it, it should be formatted as time value.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

Anonymous
Not applicable

Hi @kaym 

 

@Idrissshatila  Thank you very much for sharing!

 

The time data type in Power Query uses the 12-hour format by default. If you need to use the 24-hour format, you can change the regional settings of the time column in the Power Query editor and select a region that uses the 24-hour format, for example British English or Singaporean English.

 

One possible reason for this error is that Power BI uses the 12-hour clock format by default, and it doesn’t recognize 24:00:00 as a valid time.

 

To do this, you can right-click on the Time column in Power Query Editor, and select Change Type > Using Locale… Then, choose Time as the data type, and select the appropriate locale from the drop-down list. Press OK to apply the change.

 

This should fix the error and convert the Time column to a valid time data type. You can also format the Time column to display the time in the way you prefer, such as hh:mm:ss or HH:mm:ss.

 

Regards,

Nono Chen

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

3 REPLIES 3
Anonymous
Not applicable

Hi @kaym 

 

@Idrissshatila  Thank you very much for sharing!

 

The time data type in Power Query uses the 12-hour format by default. If you need to use the 24-hour format, you can change the regional settings of the time column in the Power Query editor and select a region that uses the 24-hour format, for example British English or Singaporean English.

 

One possible reason for this error is that Power BI uses the 12-hour clock format by default, and it doesn’t recognize 24:00:00 as a valid time.

 

To do this, you can right-click on the Time column in Power Query Editor, and select Change Type > Using Locale… Then, choose Time as the data type, and select the appropriate locale from the drop-down list. Press OK to apply the change.

 

This should fix the error and convert the Time column to a valid time data type. You can also format the Time column to display the time in the way you prefer, such as hh:mm:ss or HH:mm:ss.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

StrategicSavvy
Resolver II
Resolver II

Hi, 

Possibly you have different regional settings which are not the same as provided string for date format.

I think you can try to parse as a string this value and later instead of directly changing type to Date/Time go to Using Locale and choose United States --> Date Time.

I hope it helps.

Idrissshatila
Super User
Super User

Hello @kaym ,

 

The time in this row is not recognized as time in power bi, so maybe there's something missing in it, it should be formatted as time value.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




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.