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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I'm new to Power BI Desktop and am attempting to evaluate various features of the product for my company. We have a large database of over 400 million records and I'm running into an issue with the Median function.
I'm attempting to construct a Table Visual using Filters, Sum, Count, and Average. Based on the filters, the table is loading just over 3 million records. When I add the Median function into the mix, I get the Couldn't load data for this visual error. The reason is "The resultset of a query to an external data source has exceeded the maximum allowed size of '1000000' rows." I'm using Direct Query on a local SQL Server database.
What can I do to get around this other than importing all of the data?
Thanks!
@markdileo: See if this article helps:
https://powerbi.microsoft.com/en-us/blog/the-conceptual-data-model-and-limits/
@Anonymous. Thanks! I did see this article, but it didn't seem to apply to what I'm trying.
@markdileo If that is a hard limit (haven't seen it before), the only other way that I can think of would be to push your data into a tabular model (or MD) and creating a live connection. Importing would probably take awhile, and with really large data sets you wouldn't be able to publish...
@Seth_C_Bauer Thanks for your reply. I'm trying to work through various evaluation scenarios and this is the first major issue I've run into. It appears to be hardcoded, but the only limits I've seen documented elsewhere appear to be using the service and file sizes. I'm using Direct Query against a local SQL server (2014).
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.