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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

apply a compounding interest rate

Hello,
 
I am attempting to project budget amounts for multiple years using a compounding rate increase which I will control using a parameter.
 
My data set looks like:
 
Year Budget (all the same based on base year)
2019 $XXX,XXX
2020 $XXX,XXX
2021
2022
2023
2024
2025
 
Here is my base formula that I cannot get to work. All thoughts are welcomed.
 
Annual Budget Increase2 = [2019 Budget]
    * POWER (
        1 + 'Projected Annual Budget Change'[Projected Annual Budget Change],
       
DATEDIFF (
            CALCULATE (
                FIRSTDATE ( 'Budget'[Year] ), LASTDATE('Budget'[Year]),
         
            'Budget',
            YEAR
        )
    ))
 
Thanks much.
1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

See Page 3, Table 13

 

Measure 7 = 
VAR __2019Budget = MAXX(FILTER(ALL('Table13'),[Year]=2019),[Budget])
VAR __currentYear = MAX([Year])
VAR __minYear = 2019
RETURN
__2019Budget * POWER(1+[Rate Increase], __currentYear - __minYear)


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

See Page 3, Table 13

 

Measure 7 = 
VAR __2019Budget = MAXX(FILTER(ALL('Table13'),[Year]=2019),[Budget])
VAR __currentYear = MAX([Year])
VAR __minYear = 2019
RETURN
__2019Budget * POWER(1+[Rate Increase], __currentYear - __minYear)


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Perfect! You are genious.  Thanks much. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.