Iโm building a dashboard in Power BIโs Pro Workspace, connecting data via Direct Query from Databricks (around 60 million rows from 15 combined tables), using a SQL Serverless (small size and 4 clusters).
The problem is that the dashboard is taking too long to load.
Considering that I canโt change my workspace to Premium, work with import mode, or use aggregation tables, is there anything else I can do besides what Iโve already done (listed below)?
- Model tables in a โStar schemaโ in Power BI;
- Materialize all tables in Databricks, avoiding as much as possible calculations and joins inside Power BI;
- Check the โReferential Integrityโ box when joining tables in Power BI;
- Avoid using bi-directional filters;
- Avoid using calculated columns or any field with โline-to-line interactionโ;
- Avoid nesting one calculation inside another;
- Set up dimension tables in Dual Storage Mode;
- Add an โApplyโ button to apply all changes at once.
- Increase the โMaximum connections per data sourceโ in Power BI's configuration;
- Increase the โMaximum number of simultaneous evaluationsโ in Power BI's configuration;
- Increase the โMaximum memory used per simultaneous evaluationโ in Power BI's configuration;
- Uncheck โAuto date/timeโ in Power BI's configuration;
- Uncheck โAllow data preview to download in the backgroundโ in Power BI's configuration;
- Uncheck โEnable parallel loading of tablesโ in Power BI's configuration;
- Uncheck โTurn on Q&A to ask natural language questions about your dataโ in Power BI's configuration;
- Uncheck โCross highlighting/filtering by defaultโ in Power BI's configuration;
P.S.: I also tried to scale up the SQL Serverless (both memory and the number of nodes), but despite the dashboard taking 3-4 minutes to load, only 20%-30% of the compute power is being used. So, it does not seem to be a matter of compute power.
Due to that, I suspect that connection latency might have something to do with the slow performance.
Vini