Study FAQ
How can I tell whether DirectQuery slowness comes from the source or the semantic model?
Also asked as 2
- How should I trace a slow Power BI DirectQuery visual back to its source queries?
- What checks isolate source execution from report and model overhead in DirectQuery?
Answer
Capture the slow visual's query and its generated source requests, then compare source execution time with total visual time. A DirectQuery visual can produce several source queries, so a single fast database query doesn't prove the complete interaction is fast.
Use Performance Analyzer to isolate one visual and copy its DAX and translated query where supported. Keep filters, identity, cache state, and concurrency comparable. If source execution dominates, inspect filter pushdown, join grain, unnecessary columns, query folding, and the source's ability to sustain concurrent report requests.
If the source is responsive but the complete visual is slow, inspect the number of requests, semantic calculations, network or gateway delays, and report interactions. A DAX rewrite can't compensate for every source bottleneck; adding source resources won't fix an unnecessarily broad query pattern either.
Coordinate physical source changes with its owner because indexing or layout decisions can affect other workloads. Reduce only avoidable work, then rerun the exact report interaction and check results as well as latency.
For Direct Lake on SQL, first determine whether the request is fallback; ordinary Direct Lake column loading and a SQL DirectQuery request are different paths.
Performance Analyzer query diagnostics. Semantic-model modes.
Full explanation
DP-600: Optimizing and Troubleshooting Enterprise-Scale Power BI Semantic Models
Study guide · DP-600
Read the full explanation