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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Result Query is Too Large

I have a report I am trying to refresh in Power BI Service and I am getting the following error: "The query result is too large. Consider removing unused columns, adding visual filters, or reducing the number of string type columns." We are using two direct queries in this report to pull data from our database in SQL Server. One query pulls about 300,000 rows and has 32 columns. The other query pulls about 240,000 rows and has 14 columns. Combined, the data we are bringing in is less than the limit of 1,000,000 rows, however, the refresh still fails every time. Does anybody know how to fix this error?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

We finally got this resolved. To fix it, we created views of the SQL Server tables used in the report. The views restricted the number of rows and columns considerably. We then used these views as the datasources for the report and it refreshes online without any issues. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

We finally got this resolved. To fix it, we created views of the SQL Server tables used in the report. The views restricted the number of rows and columns considerably. We then used these views as the datasources for the report and it refreshes online without any issues. 

v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Power BI creates queries that are as efficient as possible. Under certain situations however, the generated query may not be efficient enough to avoid refresh that would fail.

You may combine these two queries in the SQL Server, and check if the final number of row exceeded the limit.

If it doesn't work, you could create a support ticket.

Support Ticket.gif

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.