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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a data model connecting to an Oracle Database with Direct Query.
I'm not sure why, but depending on the combination of tables selected, despite all the relationships being 'Assume Referential Integrity' ticked (which should issue an inner join), the query is not being sent to the Oracle database as a single query. It appears to be broken into multiple parts.
Unfortunately, as the filters in the query are accross multiple tables, this results in an error of 'The resultset of a query to external data source has exceeded the maximum allowed size of '1000000' rows.'
If I write the SQL manually it returns just 344 rows.
Is there any way to trace what is causing PowerBI to split this into multiple SQL statements?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.