Forum Discussion
Dataflow incremental refresh with primary key
Hey SamRock,
Any update regarding consideration of primary key when incrementally refreshing? I have a similar situation and I am not sure Power BI dataflows can solve my issue.
Currently incremental refresh only works with dates and unfortunately not with a primary key
- Anonymous6 years agoNot applicable
Is there any timeline for if/when it will be added as a feature for dataflows? This can be seen as a critical feature for refreshing data dependent on past state changes (i.e. Orders, Status, Deliveries, Inventory, Requests, etc)
- markive6 years agoAdvocate II
The underlying technology for incremental refresh seems to be based on Partitions from SSAS. Therefore my guess is I don't think this will fundamentally change to support a primary key upsert any time soon.
Assuming therefore that when a record is updated it will appear in your incremental refresh therefore creating a duplicate you should add extra steps in your MCode to remove duplicates keeping the Max Primary Key therefore pruning the data in your Dataflows ETL process.
- GilbertQ6 years agoSuper UserHi there
I do not think that this is something that will be happening anytime soon.
You could have an additional column which is the modified datetime which could be used to update?