Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills 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

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors