Hi,
I have an issue where Not all the data is being created in the Entity when I do a data import from a data flow.
The Dataflow is working fine, it says, for example, it has 100 records to add. When the data flow runs it says it has been successful and performed 100 upserts. However, when I look at the entity data it isn't all there some of it is. So If I run the query again but this time filtering on one of the items that are missing, it will add the records.
My gut feel is that the database is overwriting itself. i.e. record 14 is being updated later by record 45.
I have a primary key setup and the query produces a unique value for it. I have checked the there are no duplicates in the source data and that the destination data also doesn't have the same values.
I have even set up another index on two other fields that are unique.
Any thoughts?
Is there anyway to re-setup the primary key?
Troy
How are you doing your match logic? if your data has multiple records that match the key, it will update records rather than creating new ones.
I had to recreate the table again, no matter how I set up the indexes the import still failed
Hi @troyhoskison, did you get this resolve? To re-setup the alternate keys on the tables/entities, you can simply delete and recreate them.
Hi,
I tried that. it didn't work.
Troy
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
13 | |
10 | |
6 | |
4 | |
3 |
User | Count |
---|---|
28 | |
17 | |
13 | |
9 | |
8 |