Forum Discussion

FelipMark's avatar
FelipMark
Icon for Helper II rankHelper II
1 year ago
Solved

Optimizing ABC Analysis in Power BI with Large Sales Data – Exceeding Resources Issue

Hi Power BI Community, I'm working on an ABC analysis for our product sales data, but I keep running into a "Resources Exceeded" error whenever I try to create the DAX measure for this calculati...
  • MattAllington's avatar
    1 year ago

    This type of run time calculation on large data will always be slow. I'm not surprised to hear of your issues. Anything you can do to remove unnecessary resource theft will help. I suggest remove the product description from the fact table and put it in a product table, ideally with an integer as the key for the relationship. Also, check the precision of the sales value column. Reducing precision should help, eg round to the nearest integer. Consider summarising the data across dimensions that don't matter for this calculation, eg if your data is at day level of granularity but you only do these calculations at a month level, consider creating a summarised table of data at the month level only for this calculation.