Forum Discussion

PowerRocky12's avatar
PowerRocky12
Helper I
4 years ago

Refresh and duplicate rows

Hello everyone,

 

I have set up my dataset by brining in multple shared folders. The first shared folder is the base folder (The CSV file soes not change). The second folder contains a CSV file that refreshes weekly and included new data and changed data. This changed data will impact the base data set, and will create duplicate rows. I have transformed and combined both querys in power query.

 

I want to set up a refresh policy to only refresh new/changed data and elmiate duplicate rows. I have a data gateway connected already so my only issue is how I would do this.

 

Anyone have any suggestions? I have a unique indenifier in my data set which would sniff out duplicate rwos and I have a last changed date in my data set as well.

 

Is there any M code, DAX function, Incremental refresh policy parameters that would work for me? The end goal would be to only replace changed data and load new data. 

2 Replies