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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
ukcala
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?

 

Thanks!

1 REPLY 1
ImkeF
Community Champion
Community Champion

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:

https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...

 

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

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors
Top Kudoed Authors