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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
when creating a Direct Query dashboard I need to connect to big a complicated SQL query that will be filtered (by defenition) by the user. the SQL Statment disent load, I get a timeout - why does it run the full query?
again- the query is complicated and huge, but when the user will filter it (WHERE statment will be added by PowerBI) it will reduce to very small result.
Is there a way to prevent PoerBI with running the full query when I load the SQL statment to the dashboard?
Solved! Go to Solution.
@Anonymous ,
This issue depends on the sql statement and transformed native sql statement. I would suggest you read the doc about query foldering:
https://docs.microsoft.com/en-us/power-bi/guidance/power-query-folding
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
This issue depends on the sql statement and transformed native sql statement. I would suggest you read the doc about query foldering:
https://docs.microsoft.com/en-us/power-bi/guidance/power-query-folding
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
refer
https://www.youtube.com/watch?v=4kVw0eaz5Ws
https://docs.microsoft.com/en-us/power-bi/guidance/import-modeling-data-reduction
https://docs.microsoft.com/en-us/power-bi/guidance/power-query-folding
https://docs.microsoft.com/en-us/power-query/power-query-folding
https://docs.microsoft.com/en-us/power-bi/guidance/power-bi-optimization
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 47 | |
| 45 | |
| 33 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 136 | |
| 116 | |
| 58 | |
| 58 | |
| 56 |