cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adamgold
New Member

Adding a step in Power Query (desktop) breaks query folding when source is a dataflow

I am attempting to pull a number of dataflows into my dataset via Power Query desktop. Since I'm using premium and have enabled the enhanced compute engine, I should be able to fold the queries. And in fact I can if I just do a basic pull operation like the one below without the Rename step.

But as soon as I add that rename step in, it seemingly breaks the query folding, as View Native Query is now disabled on that last step. Does anyone know why this would be or if there's a work-around?

 

adamgold_0-1669835393594.png

 

3 REPLIES 3
adamgold61
New Member

Hi @v-yalanwu-msft,

 

I found that if I instead use the PowerPlatform.Dataflows connector, then I can add steps (or at least basic steps), without breaking the query folding. But unfortunately when I try to use the PowerPlatform.Dataflows connector, I can't seem to get it to work with my parameter that points to the desired workspace.

Take a look at the Advanced Editor to see the different navigation steps. You can insert one or more text parameters in place of the hard-coded workspaceID, dataflowId, and/or entity.

Pat

 

Microsoft Employee
v-yalanwu-msft
Community Support
Community Support

Hi, @adamgold ;

 it’s important that we try to maintain query folding for as long as possible, but paying particular attention to what actions ‘break’ folding (and shifting them to the end).

Query Folding with Value.NativeQuery() – Wise Data Decisions

Don’t let date columns ruin query folding in Power BI – Data – Marc (data-marc.com)

vyalanwumsft_0-1669883092531.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors