- Calculate CPI once in main function from heatmapData - Pass globalCPI to generateDimensionsFromRealData - This ensures dimension.kpi.value matches ExecutiveSummaryTab's calculation - Both now use identical formula: weighted avg of (cpi * cost_volume) / total_cost_volume Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
106 KiB
106 KiB