Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to get the sum of weighted scores within a dimension's class using nested Aggr(). The attached example should clarify what I'm trying to achieve and what I've tried. The real version has some set analysis as well but I don't expect that will make a difference.
Thanks,
Rutger
Try this
Aggr(NODISTINCT
Sum(Aggr(
Sum(sales)/Sum(TOTAL <vehicle> sales) * score
, vehicle, engine))
, vehicle)
Try this
Aggr(NODISTINCT
Sum(Aggr(
Sum(sales)/Sum(TOTAL <vehicle> sales) * score
, vehicle, engine))
, vehicle)
Thanks very much Sunny.