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

Dataflow Gen 2 Issue- No records to push to target, but target gets update with records

Hi all,

 

I am try the Dataflow Gen 2 to implement SCD2 logic with the target set to a warehouse. During the first run all the records are being pushed to target as expected.
During the second run the same set of records are again being pushed created a duplicate entry for the record even when there are no changes.
When manually viewing the target records in the dataflow, no records are being shown as expected. But upon publish/run the same set of records get pushed again to the target.
I am testing it out on sample data, I am attaching below some screenshots for the same.

Tarunire_0-1719399831344.pngTarunire_1-1719400042060.png

 


Please anyone had a similar experience, it would be great if you could let me know how you resolved it.

 

Thank you

2 REPLIES 2
Tarunire
Regular Visitor

Hi @v-zhouwen-msft ,

Thanks for sharing the link.

But I am not facing issues with application of the logic in dataflow gen2, using a similar approach I was able to do it previously for one other table. I am facing challenge with this particular instance, the query that is present for populating the target table does not have any records when I do a debug and manually check the records that it fetchs. On running the dataflow, the target gets some records which shouldn't have populated as they are not present in the query intented for the target when I check it manually.

 

Regards
Tarun

v-zhouwen-msft
Community Support
Community Support

Hi @Tarunire ,

It looks like you are using Dataflow Gen 2 to implement SCD2 logic, see if the following article helps with your problem.Start with ‘The Dataflows Gen2 Approach’.

Implementing SCD Type 2 with Microsoft Fabric — PySpark / DataflowGen2 | by Nermeen Abdel-Aziz | Med...

Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

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.