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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to calculate rank for a dataset connected via direct query. It is giving below error when adding rank measure to the table visuals, else data is loading.
"the result set of a query to external data source has exceeded power bi error power bi direct query"
Hi @Anonymous,
AFAIK, there's a limit of 1 million rows placed on the number of rows that can be returned in any single query to the underlying source when you work on direct query mode.
For this scenario, you may need to optimate the query (e.g. reduce category fields amount)to confirm these aggregated records are less than 1M rows.
Regards,
Xiaoxin Sheng
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |