Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
L_Hop
Creator
Creator

Daily Interest Calculation

Dear Qlikies,

I would like to calculate Interest amount using two different table.

I have some difficulties getting proper Interest_rates and day_of_interest. (interests are monthly basis)

I am looking for help to calculate interest amount? 

Interest Formula= Amount*interest_rate*day_of_interest/365*100

Sample data and expected results attached.

In addition to interest calculation, how can I find interest start and end date for per line in script side.

Interest Calculation3.png

Any help would be greatly appreciated!

Thanks in advanced.

 

1 Reply
L_Hop
Creator
Creator
Author

Dear Community,

I'm hoping someone can help me with a calculation. I am having trouble to match amount with proper interest day and rate. My interest rate table is monthly basis.

Any help/tips would be appreciated.

Interest calculation should be as follows;

Jan Calculation=( (31.01.2017 - 11.01.2017)+1)*Amount*Jan_Interest_Rate/365/100

Feb Calculation=( (28.02.2017 - 01.02.2017)+1)*Amount*Feb_Interest_Rate/365/100

Mar Calculation=( (31.03.2017 - 01.03.2017)+1)*Amount*Mar_Interest_Rate/365/100 ...

Pay/Receipt DateInterest End DateInterest Start Date Amount
11.01.201718.05.201711.01.2017-133,359

 

Interest_RateRate_Start_DateRate_End_Date
3.5301/01/201731/01/2017
3.5501/02/201728/02/2017
3.6401/03/201731/03/2017
3.6601/04/201730/04/2017
3.6901/05/201731/05/2017

 

best regards,

L_Hop