Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
JessieF
Advocate II
Advocate II

Help me understand why one dataflow query folds and other does not

Hello Community,

 

I have a dataflow with a few tables, using Native query connection and I'm having an issue with a couple of tables that I expect should fold and be available as query views for Direct query consumption, but they are not storing that way.
I have Enhanced compute engine settings turned on and a refresh operation was performed. 


I have several other dataflows with tables with similar design, just from other source tables -- selecting specific columns, applying simple where clause and all of them are folding for query views.  It's only these couple tables in this particular dataflow with issue.

 

How can we fix this so the table can be in a query view?

 

I intended for this to be consumed as direct query.
The third query is also not folding, and is set up exactly like the one in Query2, but the where clause is <>"US" - but we're experiencing the same problem.


query folding issue.png

1 REPLY 1
AnkitKukreja
Super User
Super User

Hi! @JessieF 

 

You should have a look at the doc to understand how it works and if you are missing anything.

 

https://learn.microsoft.com/en-us/power-query/query-folding-basics

https://www.mssqltips.com/sqlservertip/3635/query-folding-in-power-query-to-improve-performance/

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.