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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
arkiboys2
Helper IV
Helper IV

check accuracy of data load

how is it possible to check/compare the source to the destination?

for example, the data factory pipelines load data from sql server into warehouse tables and now I would like to see if the loaded data is the same as source and report if there are any differences.

thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @arkiboys2 ,

I think you can join TABLE1 and TABLE2 first, then use filter to get the rows which's type isn't same. Next create a DerivedColumn to generate Type Change column. Finally, use Select transformation to remain the columns you need.

 

1. Create Join transformation to TABLE1 and TABLE2.

vyilongmsft_1-1721011923316.png

2. Filter the rows which's type isn't same. Expression: source2@Type != source1@Type

vyilongmsft_2-1721012003788.png

3. Add Type Change column. Expression:concat('from ',source1@Type,' to ', source2@Type)

vyilongmsft_5-1721012239351.png

4. Use Select transformation to remain the columns you need.

vyilongmsft_6-1721012500748.png

Then you will see what you want.

vyilongmsft_7-1721015682776.png

 

 

 

Best Regards

Yilong Zhou

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @arkiboys2 ,

I think you can join TABLE1 and TABLE2 first, then use filter to get the rows which's type isn't same. Next create a DerivedColumn to generate Type Change column. Finally, use Select transformation to remain the columns you need.

 

1. Create Join transformation to TABLE1 and TABLE2.

vyilongmsft_1-1721011923316.png

2. Filter the rows which's type isn't same. Expression: source2@Type != source1@Type

vyilongmsft_2-1721012003788.png

3. Add Type Change column. Expression:concat('from ',source1@Type,' to ', source2@Type)

vyilongmsft_5-1721012239351.png

4. Use Select transformation to remain the columns you need.

vyilongmsft_6-1721012500748.png

Then you will see what you want.

vyilongmsft_7-1721015682776.png

 

 

 

Best Regards

Yilong Zhou

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

hello, thank you for the details. Is it possible you provide the same but for fabric data factory/dataflow gen2 thank you
NandanHegde
Super User
Super User

Below links can help :

https://stackoverflow.com/questions/60669045/azure-data-factory-how-to-fetch-source-count-and-sink-c...

https://github.com/MicrosoftDocs/azure-docs/issues/64333

 




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Hi, thank you for the reply, however I am looking for the fabric version.

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

July 2025 community update carousel

Fabric Community Update - July 2025

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