Forum Discussion

djbuncle's avatar
djbuncle
Icon for Helper I rankHelper I
7 years ago
Solved

Multi-Step Calculation

Hi. The issue I'm faced with is coming up with a calculation which uses 3 other calculations that are sliced on [Months Since Reg] (on columns) however the final result will be a single value. To e...
  • Anonymous's avatar
    Anonymous
    7 years ago
    [Expected Value] =
    	SUMX(
    		ALL ( T[Months Since Reg ] ),
    		[% Split] * [Value Per Player]
    	)

    You can try the above... but I think you'll need some adjustments with respect to other filters. I don't have enough information to tell you exactly what the formula should look like.

     

    By the way, [Months Since Reg] must be an attribute in a dimension (not in a fact table).

     

    Best

    D.