Forum Discussion

LotteLaugesen's avatar
1 year ago
Solved

How do I set up this calculation

Hi I need to sum the Weighted Sub in the Subcategory within the Category: So for Commercial it should be 78. The weighted sub calculation: Weighted Sub = IF(ISINSCOPE(Areas[Area]),BLANK()...
  • LotteLaugesen's avatar
    1 year ago

    I found a way of doing it ๐Ÿ˜€

    Total per Category =
    IF(ISINSCOPE(Areas[Area]),BLANK(),
    SUMX (
      VALUES (Subcategories[Subcategory]),
      CALCULATE((MAX(Subcategories[Weighting])*SUM('Supplier Evaluation'[Score]))/100)

    ))