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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,216,581
Messages
6,131,541
Members
449,654
Latest member
andz

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