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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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.

v-gchenna-msft
Community Support
Community Support

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.

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 .

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.