Forum Discussion
Dataflow - different results between preview and later access
- 3 years ago
Hi , MS_fn
Thanks for your quick response! According to your description, this may cause by the ehance compute engine.
As searched, this function is mainly used to create a SQL cache to implement Query folding to increase the performance of dataflow.
Once the enhanced compute engine is enabled in the Power BI Premium capacity settings, and the dataflow settings and configuration (as illustrated above) dictate that the engine is used for a given dataflow, this is what happens:
(1)When the dataflow is refreshed, the Power Query for each entity is executed, and the output of the query is persisted in the dataflow’s CDM folder as CSV data and JSON metadata
(2)For any entity for which the enhanced compute engine is enabled, the output of the entity’s Power Query is also loaded into a table in a SQL database instance managed by the Power BI serviceAnd there is differnce about ""what exactly do you mean by supported queries?"":
And for more information, you can refer to if can help you :
Dataflows enhanced compute engine – will it fold? – BI Polar (ssbipolar.com)
Power BI dataflows enhanced compute engine - YouTubeThank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , MS_fn
According to your description, You can see the correct data in the preview of dataflow, but when you connect to dataflow, you can see different data.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi v-yueyunzh-msft,
many thanks for your answer.
I'm quite sure that the cause couldn't be an inconsistency of the data in regard to the version of the data because I tried it at least a dozens times - the single dataflow and the entire chain of dataflows and looking from various following dataflows as well as from several pbix on the results and then adding later the RowNo (which isn't essential to my transformation) just to track which source-records becomes which target-records.
I'm not absolutely sure but I think I found a way to fix the issue by disabling the enhanced compute-engine to the previous dataflow which performed the mentioned sorting (and only for this dataflow). Afterwards the results were like expected and for another similar use-case I replicated the measures - without the sorting and with the sorting in aggregating dataflow and then the one before and it worked again only if I disabled the enhanced compute-engine in the previous sorting dataflow.
Therefore, is my deduction right that neither the various processing-steps within the Power Query preview nor multiple chained dataflows are really performed against the data-source and changing them else it are just on-the-fly previews? That there are no fixed sub-datasets created else just some kind of meta-data which contained TRUE/FALSE flags for records/columns, a sorting-index and similar information?
I searched for the issue and my deduction in the help but didn't find anything which explained how and in which order the ETL processing is performed - acts it always in this way or are there any exceptions? Further how could it be customized and administers? Because by hundreds of dataflows and some need a disabled compute-engine and some not and which impact would it have regarding to run-times and the resource-consumption within the capacity? Are there any sources for more detailed information?
- v-yueyunzh-msft3 years ago
Community Support
Hi , MS_fn
Thanks for your quick response! According to your description, this may cause by the ehance compute engine.
As searched, this function is mainly used to create a SQL cache to implement Query folding to increase the performance of dataflow.
Once the enhanced compute engine is enabled in the Power BI Premium capacity settings, and the dataflow settings and configuration (as illustrated above) dictate that the engine is used for a given dataflow, this is what happens:
(1)When the dataflow is refreshed, the Power Query for each entity is executed, and the output of the query is persisted in the dataflow’s CDM folder as CSV data and JSON metadata
(2)For any entity for which the enhanced compute engine is enabled, the output of the entity’s Power Query is also loaded into a table in a SQL database instance managed by the Power BI serviceAnd there is differnce about ""what exactly do you mean by supported queries?"":
And for more information, you can refer to if can help you :
Dataflows enhanced compute engine – will it fold? – BI Polar (ssbipolar.com)
Power BI dataflows enhanced compute engine - YouTubeThank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- MS_fn3 years agoFrequent Visitor
Hi v-yueyunzh-msft ,
many thanks for the information. I went through the provided links and links from there as well as many other similar resources and I think I do comprehend the aim of the query folding and using cached data to optimize the performance but the howto is further quite unclear and why it's resulting in my issue. Within the most ETL scenarios the cache-access will probably be working without resulting in unexpected results but if a certain order of measurements and records are mandatory for the wanted views there seems to be a need to disable this feature.
Now I won't to dive deeper into the matter and therefore I regard it as solved. Again, many thanks for your support.
- bk20010502 years agoRegular Visitor
Hey MS_fn,
Thanks for your post. I am facing the exact same issue and my enhanced compute engine is misbehaving, changing some seemingly random values in a specific column. It took me a while to troubleshoot the problem but turning it off since to have fixed it for now. Did you ever find out why this happens and how to avoid it?