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.

Trouble with Multi Formula Tool and Formula

wonka1234
10 - Fireball

Hi,

 

I am creating an amortization schedule.

 

So when I use this formula, 

 

PAYMENT = FinancePMT([Semi annual], [REM BAL AMORT],[OPEN BAL],0 , 0)

 

but then I update the OPEN BAL column

wonka1234_0-1654198053604.png

 

So then I need to recalculate payment as it uses OPEN BAL and do the formula again. And this process essentially has to be repeated for each row..

 

Is there any workaround?

 

wonka1234_1-1654198094883.png

 

It is almost like they need each other. I need OPEN BAL to be accurate to calc the PAYMENT, but then Ineed the latest open BAL for the next row.

 

 

 

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@wonka1234 
I am having difficulty to understand the logic here. sorry. 😁
Maybe you can provide a sample set of data as input and output?

wonka1234
10 - Fireball

@Qiu 

 

Hi. 

 

 

wonka1234_0-1654217055916.png

 

formulas:

 

wonka1234_1-1654217143917.png

 

 

 

OPEN BAL:

 

wonka1234_2-1654217178161.png

 

Not sure if this helps. It is hard for me to explain. But when I update Open bal I need to re update the other formulas. But it then needs then Open bal again and then the formulas again. and so on. As its always being updated.

 

binuacs
21 - Polaris

@wonka1234 Can you provide some sample data and expected output result, that would be more easy to understand your use case.

wonka1234
10 - Fireball

@binuacs 

 

What im getting:

 

wonka1234_0-1654260634270.png

 

 

Expected:

 

REM BAL AMORT OPEN BAL  PAYMENT # of INT Days INTEREST  PRINCIPAL  PRE-PAY  LIQUIDATION  TOTAL CF  CLOSE BAL 
78               49,226,066                 (663,932)                   31                 (64,989)                 (598,942)               (68,196)               (353,309)              (1,085,437)               48,205,619
77               48,205,619                 (658,193)                   30                 (61,589)                 (596,604)               (66,768)               (345,912)              (1,070,874)               47,196,334
76               47,196,334                 (652,476)                   31                 (62,310)                 (590,167)               (65,362)               (338,625)              (1,056,464)               46,202,180

 

 

See I calculate the PAYMENT first.. and thent he OPEN BALANCE is recalcd. But then the Payment isnt correct as its not based on the NEW OPEN BAL.

Labels
Top Solution Authors