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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
nmckeown1
Helper I
Helper I

error: maximum allowed size of 100000 rows on SQL Dataset

I have a dataset that was created from SQL Database, and it has been refreshing perfectly on power BI service. Then today the refresh failed with the error: 

Error: Resultset of a query to external data source exceeded the maximum allowed size of 100000 rows 

 

When opening the dataset on desktop, the refresh populates the same error for every single table in the model. Some tables are import mode and the rest are dual mode stroage, so i dont think the storage mode is the issue. 

The visuals all still populate so I cannot see where exactly the issue may be - or if it is with every table.

 

Anybody any idea how to solve this?

Is the issue with SQL rather than dax/power query?

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @nmckeown1 -The issue might be related to how Power BI interacts with the SQL database rather than the SQL database itself. The error message "Resultset of a query to external data source exceeded the maximum allowed size of 100000 rows" suggests a limitation in the data retrieval process.

 

you can try to reduce the number of records extraction in power query by filters to reduce the number of rows, such as by date range or other criteria or 

 

you can try with extraction of data from Direct query mode.

 

Hope it helps

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





I'm not sure what filters I could add as I require all rows of data for the past lot of years. I already created an aggregated table for the fact table which only pulls the required columns, and all of my measures are created from the aggregated table. 

 

My fact table is in direct query mode. Should I change any of these properties?

nmckeown1_0-1722354350618.png

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors