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
manouchehr19346
Regular Visitor

Date Column Error

Hi everyone,

 

I have copied the dataflows from one account to another account and now I am using the dataflows to create report in power BI.

There are some columns related to the dates which have normal date format, and not localdate detting, and there is no error in the table. Now I am using the table to create a new table in power BI and merge it with another table, which has no date column. I merged the table, and when I try to expand the merged columns, I get an error of the invalid date value. The date values before merging are ok and show no error, but when I merge them, I get the error:


DataFormat.Error: The specification for a date value could not be analyzed.
Details:
 31.08.2018


Just to mention one more time, the date values have no error before merging, and the second merging table has just two columns which are not dates, they are some numeric and text columns. I have also changed the dateformat to the loca seting but when doing this, some rows of the dates produce error, so I just used the normal date format.


I would appreciate if anyone coluld help me with it, it is really annoying.

Best Regards,

Manouchehr

 

manouchehr19346_0-1721988620483.png

 

manouchehr19346_1-1721988647231.png

 

2 REPLIES 2
bhanu_gautam
Super User
Super User

@manouchehr19346 , You can try below methods to debug this error occurs when Power BI is unable to interpret the date format,

Before merging, ensure that the date columns in both tables are in a consistent format. You can use Power Query to transform the date columns to a common format.
Convert Date Columns to Date Type:

In Power Query, explicitly convert the date columns to the Date data type. This can help Power BI understand the date values correctly.
To do this, select the date column, go to the Transform tab, and select Data Type -> Date.
Check for Invalid Date Values:

Sometimes, there might be invalid date values that are not immediately apparent. You can filter the date column to check for any anomalies.
In Power Query, you can add a custom column to check for valid dates using a formula like = try Date.From([YourDateColumn]) otherwise null. This will help you identify any rows with invalid date values.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi and thanks for your response. The second table that I am using to merge has no date column. In fact, the merging columns are some buildung codes and not dates.

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.