Forum Discussion

timhopson's avatar
timhopson
Helper I
3 years ago
Solved

Query Folding in Dataflow ignored by pbix

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 th...
  • KNP's avatar
    3 years ago

    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.

    1. Is the Dataflow in a Premium or PPU capacity?
    2. Is the 'Enhanced compute engine' turned on for the Dataflow?
    3. Are you using the PowerPlatform.Dataflow connector in the Dataset?
    4. Is the table you are pulling into the PBI dataset from the Dataflow a computed table?

     

    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.