This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have a table having more than 50 lacs of data and is in directquery mode. There are Slicers and matrix visuals on the report page. while loading the matrix visual I am getting error of "the resultset of a query to external data source has exceeded the maximum allowed size of 1000000 rows.
The visual is summarising count based on 2 tables, one of which is having these 50 Lacs of record.. If I run a SQL query to summaerise these columns in SQLDB enviornment, it runs perfectly and the output does not contain records more than 100. when I checked SQL query generated in Power BI Desktop using performane analyser, it has a select clause as "SELECT
TOP (1000001)"
Can someone help me in understanding exactly how this works
Solved! Go to Solution.
Hi @Anonymous
This blog will help you understand why this error occurs and how to increase the row limit to adapt your scenario.
https://www.sqlbi.com/articles/tuning-query-limits-for-directquery/
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Do you have bi-directional join.
refer this
There is one to Many relationship between the table with cross filtering direction set as Single. The error generally occurs when slicers have All. If any specific value is selected then it works as expected.
Hi @Anonymous
This blog will help you understand why this error occurs and how to increase the row limit to adapt your scenario.
https://www.sqlbi.com/articles/tuning-query-limits-for-directquery/
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |