Forum Discussion
DataflowGen2, which does not copy all the data...
Hello everyone,
I have a Dataflow Gen2 that copies data from a Dataverse table (D365) to a Lakehouse table.
The Dataverse table has 70,037 rows.
In the dataflow development screen I can see the same number of lines
However, when I go to the result table I only have 18,468 rows
And if I do a re-run, it won't be the same number
In the end, the result is always a success...
After some research I tried to deactivate ‘Fast Copy’, but it doesn't change anything...
Have you ever encountered this problem?
For information, the table is large (over 300 columns), but that's no reason, especially as it's a success.
Thank in advance for you return,
Vivien
18 Replies
- CookistadorSuper User
Hello vivien57
First, can you try to only select a few columns
Then, to check if the issue is comming from dataverse OR on fabric side, could you try to execute it in a dataflow gen 1 and check if in your Power BI report you retrieve all data ?Keep us inform about the results
- vivien57Super User
Hello,
Thank you for your feedback.
By randomly removing 87/366 columns I have managed to read and write 32.152 lines on 70.037 lines.
By randomly removing 151/366 columns I have managed to read and write 54.922 lines on 70.037 lines.
By randomly removing 364/366 columns I have managed to read and write 70.037 lines on 70.037 lines.So there seems to be a link between the number of columns and this problem.
These tests were done on an F2 capacity, I've tried on an F64 capacity, which doesn't solve the problem.
Do you have any idea what the problem is? It seems to come from DataflowGen2....
Thank in advance,
Vivien- v-saisrao-msftCommunity Support
- vivien57Super User
Hello,
I have just made some progress in investigating the issue.
Here are two DataFlowGen 2 codes (in the first one, Dataverse_Tablename = ‘account’).
In the first one, I lose lines as explained above, but not in the second one.
This seems to be caused by the use of the Value.NativeQuery line.
Does that give you any ideas? Have you ever encountered this problem before?
Thank in advance,
Have a nice day,
Vivien - miguelCommunity Admin
I'd still recommend raising the support ticket so an engineer can take a closer look at your scenario and get the traces for it.
Would you happen to have a way in which we can reproduce the issue?
I initially tried to create a Dataflow with the sources you mentioned but was never able to get the same result that you describe. It could be something quite specific about your query and/or your sources, so a deeper investigation through the support route would be the best place to get a much closer look.
- vivien57Super User
Before creating a ticket, I wanted to see if the community had already encountered this problem, as it does not seem specific to my environment.
Yes, to reproduce the problem, I think you just need to:
- Have a source table via the Dataverse connector with many columns (the account table on my system has more than 300 columns)
- Copy the data to a table with the same structure in a lakehouse
With the first code, some rows are lost, while with the second code, all rows are transferred.
In fact, as shown in this screenshot, with the first code, not all rows are transferred because it cannot read all the rows.
It transfers all the lines that are read, but since it cannot read everything, not all of it is transferred.
- miguelCommunity Admin
could you confirm whats the code being passed for each of those queries? the screenshot uses references not visible (specifically Dataverse_Tablename)