Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have used the SQL query in the Advance Option to import the table into the model.
When I tried to set the incremental refhresh it failded because it could not do the query folding.
Is there any workaround to this problem ?
Thanks
Bishwa
Hi @BishwaR ,
If you used the SQL query in the Advance Option, query folding will not work.
You need to use the M language to make changes in Power Query or make changes in the data source.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@BishwaR Yes, do the same transformations in M that you do in your SQL query.
My SQL is 2 pages long and lots of subqueries . Is there any templete to ease my transfermation ?
Or I have to manually change every code in M ?
Thanks
Bishwa
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 14 | |
| 12 | |
| 10 | |
| 7 | |
| 6 |