Forum Discussion

ElenaC's avatar
ElenaC
New Member
3 months ago
Solved

Power BI Server Memory Issues

Hello, We are experiencing an issue in Microsoft Power BI where visuals intermittently fail to load with the following error: “Error fetching data for this visual. The operation was throttled beca...
  • cengizhanarslan's avatar
    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.