Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
need to find a way to sum as per the below example.
I guess some kind of set analyisis approach would be suitable but I cannot get it to work properly.
Pls see attached QV-example file and *expected result* excel file.
//O
Expression for 1 Year:
RangeSum(Below(
FABS((SUM({<Type= {'1 year'}>}Volume))*(1-Period*vPrepayment/4)
-
(SUM({<Type= {'1 year'}>}Volume)))
/Period
,1,Count(Distinct Total QYear)))
Try similar for others
Edit: added 'Distinct'
Expression for 1 Year:
RangeSum(Below(
FABS((SUM({<Type= {'1 year'}>}Volume))*(1-Period*vPrepayment/4)
-
(SUM({<Type= {'1 year'}>}Volume)))
/Period
,1,Count(Distinct Total QYear)))
Try similar for others
Edit: added 'Distinct'
great, thank you!