Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi Team,
I've used the matrix visual in direct query model, since it fires the query at each level of the hierrachy.
For Example: Matrix visual shown SUM(Sales) by Date and Region
The actual query sent to the source are,
1. select Date,SUM(Sales) from tbl_Sales GROUP BY Date
2 .select Date,Region,SUM(Sales) from tbl_Sales GROUP BY Date,Region
Can someone share the idea for how to improve the matrix performance in direct query mode.
Regards,
Inba
hi @Anonymous
In directquery mode in power bi, there is no data in dataset, so each interaction or adjust in visual filed, it will send a query to datasource, not only in matrix visual, all the visuals have the same logic.
https://radacad.com/directquery-connection-in-power-bi-how-does-it-work-limitations-and-advantages
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-aggregations
Regards,
Lin
@Anonymous , make sure you do no have Bi-directional join.
https://insightsquest.com/2020/05/25/simple-directquery-performance-tips/
https://locusit.com/performance-management/power-bi-directquery-performance-improvements/
@Anonymous - Try implementing aggregation tables perhaps. https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-aggregations
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 46 | |
| 37 | |
| 31 | |
| 26 |