Hey AC,
I've recently built an Excel model to perform interest calculations on a home loan. I am having trouble converting this into an Alteryx Workflow - I believe I'll need to use a batch macro - unless anyone has any other out-of-the-box solutions?
The premise is as follows:
- Two accounts, home loan and offset account
- Interest is calculated on each independently, daily (closing balance * interest rate/365)
- These interest amounts are netted off each day (home loan - offset)
- This interest is accumulated until the end of the cycle (12th day of each month), where it is then added to the home loan account
I've got a 6 month period to calculate the interest over, and the attached Excel model does a decent job of this. Hoping Alteryx can win this one though!
Also see attached my (summarised) attempt of creating an Alteryx model that performs this - I got as far as calculating a closing balance for each, using the multirow function.
However, there are issues here as the closing balance does not include the accumulated interest until the last day of the cycle (while my current closing balance is adding the interest daily). As a result, I need an iterative process that performs the calculation line-by-line, storing the daily interest and accruing it until the final day of the cycle.
Any help would be much appreciated!
Cheers