Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a dataflow that appears to support query folding, however, when I use the dataflow in a pbix, query folding doesn't happen and the whole table is imported, which is very large.
In the dataflow, I can view the DataSource Query (see the dataflow applied steps below). Which makes me think it's set up for Query Folding. There is also the green icon with the lightning flash.
This is what I see when I use the dataflow as a data source in my pbix.
I've tried adding a custom function View.NativeQuery and setting [EnableFolding=true] but it didn't appear to help.
I'd be grateful for any help on this.
regards, Tim.
Solved! Go to Solution.
Hi Tim,
I'm a little confused about what you're expecting to happen when you connect to the Dataflow in the PBIX file.
Also, I have questions.
If any of these criteria (there may be others) are not met, chances are, the query folding won't happen.
If you've set the Dataflow table as import mode in the dataset, query folding will be largely irrelevant without filters or incremental refresh setup on the Dataset.
Just because the 'View Native Query' is greyed out, it doesn't mean folding isn't happening.
Hopefully some of this is helpful. Let me know if you have questions.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Hi Tim,
I'm a little confused about what you're expecting to happen when you connect to the Dataflow in the PBIX file.
Also, I have questions.
If any of these criteria (there may be others) are not met, chances are, the query folding won't happen.
If you've set the Dataflow table as import mode in the dataset, query folding will be largely irrelevant without filters or incremental refresh setup on the Dataset.
Just because the 'View Native Query' is greyed out, it doesn't mean folding isn't happening.
Hopefully some of this is helpful. Let me know if you have questions.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Hi KNP,
Thanks for the reply. I was about to answer YES to all your questions when I realised that Enhanced Compute Engine wasn't turned on. Once I turned this on and refreshed the dataflows, the View Native Query became available. I have previously had this setting turned on and forgotten about it when I deleted the dataflow and re-created it.
Thanks again for your help.
regards, Tim.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.