compounding interest rate with data

vbaisdaxing

New Member
Joined
Aug 23, 2017
Messages
12
DateAmountsCompounded Data
1/1/171
1/2/172
1/3/173
1/4/1748
1/5/1758.8
1/6/1769.68
1/7/17710.648
1/8/17811.7128
1/9/179
1/10/1710

<tbody>
</tbody>


Hello Everyone,

Here is what I am trying to accomplish. First, I have named the table above as tblData. Based on the data table above, I would like to be able to select the dates of 1/4-1/8 through a slicer and have the following occur:

1. On the first date selected, multiply by the first date selected by 2; 4 x 2 = 8
2. for every other date selected, the previous entry will then be compounded by an interest rate of 10%; for example, 1/5/17 = 8 *(1+.10) and 1/6/17= 8.8 * ( 1+.10)

I know one way to start solving the problem is to utilize a Cumulative total DAX formula which I have succesfully utuilzied below.

SelectedCumulativeTotal:=CALCULATE(SUM(tblData[amounts]),FILTER(ALLSELECTED(tblData[date]),tblData[date]<=MAX(tblData[date])))

I'm just having trouble with the last two conditions I'm trying to accomplish.

Any suggestions/help would be greatly appreciated.

Thank you very much.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,216,586
Messages
6,131,571
Members
449,655
Latest member
Anil K Sonawane

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top