Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Compound Interest

Power BI Experts, working on my very first Power BI Report. After modeling the data the output is close to Table on the top. I want to convert that to look like the Table below using DAX (Can't seem to get all month ends, where the data is missing) Any Ideas on Compound Interest will help too in .pbix file.   Thanks!

 

Capture.PNG       

 

 

4 REPLIES 4
TomMartens
Super User
Super User

Hey,

 

not sure but maybe you can adapt this approach

https://www.minceddata.info/2018/02/21/using-table-iterators-to-calculate-a-future-value/

to your needs. I created this post some time ago 😉 

 

As the this kind of calculation is on the advanced side of DAX, please create an Excel sheet with sample data, that represents your data model, and also contains the expected result. Upload the file to onedrive or dropbox and share the link.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

The table below show some values which i can't find in table above.

it is not clear of the transform rule.

 

As a new member, i would suggest you to read this article that will help you get your particular question about Power BI answered quickly and correctly versus seemingly ignored.

 

Additionally,Could you select these example data in excel and "copy", then paste it when you reply, so i can directly use your data?

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

v-juanli-msft,  

Hopefully, this version is more clear. 

FundNameInvestorContributedAmoutContributedDateInterestRateInterest Type 
Fund1Investor1$100,000.003/12/20079Compounded-Annually 
Fund1Investor1$0.0010/1/20079Compounded-Annually 
Fund1Investor1$100,000.0010/9/20079Compounded-Annually 
Fund1Investor1$80,000.0012/14/20079Compounded-Annually 
Fund1Investor1$90,000.003/10/20089Compounded-Annually 
Fund1Investor1$50,000.005/19/20089Compounded-Annually 
continued for more dates, funds and Investors…     
       
       
FundNameInvestorAsofdate*Contribution_Till_Date **Days***Cumm_InterestEarned 
Fund1Investor13/31/2007100,00020                                   493.150.09* 100000 * 20/365   i.e  (InterestRate* ContributionTillDate* Days/365)
Fund1Investor14/30/2007100,00030                                1,232.88493.15 From Above + 0.09*100000*30/365
Fund1Investor15/31/2007100,00031                                1,997.26 
Fund1Investor16/30/2007100,00030                                2,736.99 
Fund1Investor17/31/2007100,00031                                3,501.37 
Fund1Investor18/31/2007100,00031                                4,265.72 
Fund1Investor19/30/2007100,00030                                5,005.48 
Fund1Investor110/31/2007200,00031                                6,336.99IR on first 100k for 31 days = 764.38 + IR on next 100k for 23 days = 567.12 
Fund1Investor111/30/2007200,00030                                7,816.44 
Fund1Investor112/30/2007280,00031                                9,700.27 
Fund1Investor11/31/2008280,00031                             11,834.70 
Fund1Investor12/28/2008280,00029                             13,831.42 
Fund1Investor13/31/2008370,00020                             16,452.73Imp-->Interest will be compounded for first 100k Investment from 3/12/2008 
Fund1      
continued for more dates, funds and Investors…     
       
*  For Every Month End after first contribution       
** Cummulative Sum       
*** DateDiff betw ContributedDate & AsofDate (Interest Calculated using number of days)         
       
Anonymous
Not applicable

v-juanli-msft & other Experts - 

 

Can someone help?

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.