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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

New Member

Copy new rows from source to destination based on criteria

Hi, looking for some advice please. I'm collecting product volumetric data (codes, length, width, height etc) using a volumetrics machine which then outputs the data to a CSV file on a network share (the machine itself cannot directly import to other docuents/programs)


I have a 2nd document, a Master Volumetrics sheet (in SharePoint Online) which has 7000 rows of historic data.


What I'm trying to achieve is that each time a new row is added to the CSV, there is a check of the master based on the part code. If the part code exists, then do nothing, if it doesn't, then copy certain values from the source & create a new row in the destination 'Master'.


What's the best way to achieve this? Is it something that would be fairly easy to achive in Power Query for a complete novice?



Super User
Super User

Hello @ukcala ,
Power Query and Power BI are designed to read existing data, not to write back to sources.
They also don't have triggers that react to certain events.
But if you're "just" looking for some special logic that has to be applied when you import data from 2 different sources and combine them in a special way before loading to the data model, I'd recommend to post sample data or upload a file with sample data.
Please check out these instructions:


help how to get your questions answered quickly - Microsoft Power BI Community 


Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors