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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
jcaubin
Frequent Visitor

Dataflow gen2 to lakehouse table type error

A dataflow gen 2, last step, conver column type to date.

Dataflow run ends with error cant insert dateTime into date


Last df step: 

  #"Tipo de columna cambiado" = Table.TransformColumnTypes(#"Remove Columns", {{"FEC_MATRICULA", type date}, {"FEC_TRAMITACION", type date}, {"FEC_TRAMITE", type date}, {"FEC_PRIM_MATRICULACION", type date}, {"FEC_PROCESO", type date}})

 

Dataflow run error:

Mashup Exception Data Format Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: DataFormat.Error: We can't insert values of type 'DateTime' into column 'FEC_MATRICULA' because it expects values of type 'Date'. Details:  

4 REPLIES 4
jcaubin
Frequent Visitor

Sorry. As soon as I can prep a simple test case i will post it.

Anonymous
Not applicable

Hi @jcaubin ,

I have tried to reproduce the scenario. Uploaded a sample excel file in Lakehouse using Data Flow Gen2. 

Input Excel Sheet:

vgchennamsft_0-1695641205812.png


Data Flow Gen2 ( modified_date_1: DateTime to Date, modified_date_time_2: DateTime to DateTime)
MicrosoftTeams-image (2).png

 

MicrosoftTeams-image (3).png


DataFlow Gen2 Executed without any errors -
In SQL Endpoint:
MicrosoftTeams-image (4).png

In Notebook:

vgchennamsft_4-1695641593885.png


For helping you better can you please send the screenshots of how you are trying to work with DataFlow Gen2 and the steps which you followed. 
Hope this helps. Do lets us know if you have any further queries.

Anonymous
Not applicable

Hello @jcaubin ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
In case if you have any resolution please do share that same with the community as it can be helpful to others .
Otherwise, will respond back with the more details and we will try to help .

Anonymous
Not applicable

Hello @jcaubin ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
In case if you have any resolution please do share that same with the community as it can be helpful to others .
If you have any question relating to the current thread, please do let us know and we will try out best to help you.
In case if you have any other question on a different issue, we request you to open a new thread .

Helpful resources

Announcements
MarchFBCvideo - carousel

Fabric Monthly Update - March 2025

Check out the March 2025 Fabric update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors