Forum Discussion
Power BI Direct Query (Live connection)
- 5 months ago
Hii jishnubhattacha
If real-time data is truly required, use DirectQuery (or Live Connection to a semantic model), but first validate that “real-time” means seconds/minutes not hourly. Power BI Import mode is recommended for performance; if near real-time is acceptable, use Import with Incremental Refresh + Hybrid Tables instead. For strict real-time, keep DirectQuery but optimize the source: use a proper star schema (avoid complex parent-child joins in views), reduce columns, ensure indexed keys on fact tables, push transformations to the database, avoid bi-directional relationships, and use aggregations where possible. The 8-minute load indicates source/query inefficiency, not a Power BI limitation. So guideline: use Import for performance; use DirectQuery only when real-time is mandatory and the database is well-tuned.
- 5 months ago
Hi jishnubhattacha ,
Thanks for reaching out to the Microsoft fabric community forum.
I would also take a moment to thank rohit1991 and cengizhanarslan , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you
Best Regards,
Community Support Team - 5 months ago
Dear @rohit1991 and @cengizhanarslan
Thank you for your suggestions we are working and for any difficulties we will reach you.
Regards
Jishnu B
1) If they can accept 5–15 minutes latency, Import with Incremental Refresh (or Fabric) is usually best. If they truly need “right now”, continue with DirectQuery, but optimize heavily.
2) Use star schema (one fact + dimensions). Snowflake / normalized model, which is expensive especially inDirectQuery.
3) DirectQuery will generate SQL on top of your view, and SQL Server/Postgres/etc. may produce terrible plans.
-
Prefer base tables or “materialized”/indexed views
-
Ensure join keys are indexed
-
Avoid functions on join/filter columns
-
Avoid SELECT *
4) Power BI supports Aggregations with a composite model:
-
An Import aggregation table for fast visuals (e.g., daily/hourly totals)
-
DirectQuery detail table for drillthrough
Users get near-instant interaction for most pages, while still having “live” detail when needed.
5) In Power BI Desktop:
-
Options → Query reduction → enable Apply button for slicers
-
Limit visuals per page
-
Avoid visuals that force large intermediate results (table with many columns, high granularity)
These are the most important thing that comes up to my mind. Also you could consider using DirectLake mode for a better performance if you have physical tables on Fabric. But Imports is always the most performable option in any case as I know.