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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors