Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Replicate the PV excel formula in Alteryx

Data_Alter
8 - Asteroid

Hello,

 

I am looking to replicate the PV formula I had in my excel model into Alteryx. I have tried but getting big difference.

 

I have attached an example of the formula I had. 

 

Please can someone help me with this.

 

Thanks,

 

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova
Data_Alter
8 - Asteroid

Hi , no this doesn't help. Thanks for looking.

 

 

ncrlelia
11 - Bolide

Hi @Data_Alter 

 

Please see attached my suggested solution. 

ncrlelia_0-1628332668745.png

 

1. Calculate # of periods

2. Generate rows equivalent to the # of periods

3. Calculate the cumulative PV in each period

4. Last period's PV is the present value of the investment

 

Hope it helps.

 

Cheers,

Lelia

Data_Alter
8 - Asteroid

Thanks @ncrlelia so much.

There is one more column in the calculation. Is there a way to add it in the calculation ??

 

ncrlelia
11 - Bolide

Hi @Data_Alter,

 

Happy that I'm able to help. Regarding the calculation of the PV of a future value, I've updated the solution with an additional Multi-Row Formula.

1. Treat Period ID = 1 as the future (last period)

2. Discount the future value in a compounding manner for subsequent periods.

 

ncrlelia_1-1628508246885.png

 

Please see attached the updated workflow. I noticed that both of my results are a few decimals away from that of Excel. I'm not very sure why is that so, I believe it is due to rounding.

 

Cheers,

Lelia

 

 

Labels
Top Solution Authors