In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Calculation of cumulative returns

henkdertien
5 - Atom

hi,

 

Who can help me out calculatng cumulative returns out of monthly returns?

 

The column 'monthly return' is given data. The column 'cumulative return' is a geometric calculated and calculated in Excel as follow: =(1+monthly return)*(1+cumulative return(previous month))-1. I can't use Running Total because this tool uses arithmetic calculation.

 

A second option in Excel is using the product formula: {=product(1+monthly return(start):monthlyreturn(end))-1}

 

datemonthly returncumulative return
  0%
01/31/20181.00%1.00%
02/28/20183.00%4.03%
03/31/2018-5.00%-1.17%
04/30/20182.00%0.81%
05/31/20182.00%2.82%

 

regards,

Henk

2 REPLIES 2
mmenth
11 - Bolide

Hi @henkdertien 

 

You can achieve this with a multi-row formula. See attached!

 

Best,

mmenth

atrozz
8 - Asteroid

Hello.  With this workflow, you can solve it. The idea is to use Multi-Row Formula. Good luck!!!

Labels
Top Solution Authors