Forum Discussion
Power BI Server Memory Issues
- 3 months ago
Step 1) Check for bidirectional relationships. Every bidirectional relationship can double the filter propagation paths the engine must evaluate. Set all relationships to single direction unless bidirectional is strictly required.
Step 2) Remove unused columns. Every column loaded into the model consumes memory. Open the model in Desktop, go to Model view, and remove any column not used in a measure, relationship, slicer, or visual. Measure Killer is an excellent external tool for this.
Step 3) Check cardinality of text columns. High-cardinality text columns (URLs, free-text descriptions, GUIDs stored as strings) are the single biggest source of unnecessary memory consumption. Replace with integer keys where possible.
Step 4) Avoid calculated columns that replicate fact table data. Move logic to measures instead — measures are computed on demand and do not consume persistent memory.
Step 5) Add pre-aggregated tables. For large fact tables with common aggregation patterns (daily totals, monthly summaries, category rollups), create pre-aggregated summary tables in upstream in SQL and load those alongside the grain-level fact table. Visuals that only need aggregated data query the summary table directly, bypassing the need to scan and aggregate millions of raw rows at query time. This is one of the most impactful memory optimizations available on shared capacity.
Step 6) Simplify complex measures. Measures with nested FILTER, CALCULATE chains, or CROSSJOIN operations generate large intermediate tables during evaluation. Simplify where possible.
Hi ElenaC
What I would recommend doing is in Power BI Desktop to go into the memory settings and set it for the same memory size allocation is what you get if you are running Power BI Pro and see if the report renders. If you then change the setting to a higher value and the report runs successfully then you know that there is something in your model that is causing the issue. I would then recommend. Using the best practices as a sum of highlights and above to see how to simplify your model into a style schema until you can get it to work successfully with the memory setting for the Power BI Pro. And once that is done, your report should then run successfully.