Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I've noticed some odd behavior that's unrelated to the known query folding issue I think.
When I create a dataflow running NativeQuery on Snowflake, the query hits Snowflake one time in a Pro Workspace but twice in a Premium workspace on each scheduled occurrence. M-Code is identical in both cases (I used import json to move the queries). No incremental refresh is enabled.
Here is sample M Code (basically this is the default Snowflake query but with folding disabled):
1. by design
2. none
Chris Webb's BI Blog: Why Is Power BI Running My SQL Query Twice? (crossjoin.co.uk)
Hello,
I believe Chris' blog is related to query folding (let me know if you think I'm missing something here):
Power BI wants to know the schema of the table before the query actually runs, so it asks Power Query to return the top 0 rows.
OK, I tested setting EnableFolding=true.
When I have query folding enabled, both premium and pro workspace send two queries:
When I have query folding set to false, they behave differently:
So there is still a difference in behavior but that would suggest setting to true as a possible workaround as sending a 0 row query is less problematic then sending full query twice.
Good investigation. This may warrant a ticket. Since you have a Pro license you can consider raising a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
50 | |
31 | |
26 | |
26 | |
25 |
User | Count |
---|---|
61 | |
49 | |
29 | |
24 | |
23 |