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

Date problem - power query

Hello everyone.

 

I have a problem related to the date

In the dataflow environment I load the database normally and I have a date column that I define as date - pt-BR
So it appears in the format I need: mm/dd/yyyy

However, when trying to update the database, this error appears:
DataFormat.Error: We couldn't parse the input provided as a Date value. <ccon>02/23/2023</ccon>.


When opening the power query on BI desktop I can update the database normally without any error.

Thanks everyone for the support
 
 
 
 
 
 
 
 
 
 
 
 
 
1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @DavidNunes7 ,

 

It sounds like you may have mixed date formats, and/or a regional issue.

First add a new custom column to your dataflow like this:

try Date.From([dateColumnName]) otherwise null

...then filter your dataflow on this new column = null. This should give you the rows where parsing is failing.

 

Once you identify from these rows what the problem with the dates is, you can choose the best method to resolve it - probably either via restructuring the dates using text editing functions, or with a regional date type change with Locale.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @DavidNunes7 ,

 

It sounds like you may have mixed date formats, and/or a regional issue.

First add a new custom column to your dataflow like this:

try Date.From([dateColumnName]) otherwise null

...then filter your dataflow on this new column = null. This should give you the rows where parsing is failing.

 

Once you identify from these rows what the problem with the dates is, you can choose the best method to resolve it - probably either via restructuring the dates using text editing functions, or with a regional date type change with Locale.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.