Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello Team,
I am trying to write a dax to calculate the Cummulative Interest paid between two period, this is what I can do in Excel using the =CUMIPMT formular.
Sample Data(this is what you need to feed the excel function)
Excel Cells, Data, Description
A2, 0.09, Interest rate per annum
A3, 30, Term in years
A4, 125000, Present Value
With this formular =CUMIPMT(A2/12,A3*12,A4,13,24,0)
The Result should be = -11135.23 // THIS IS WHAT I AM TRYING TO GET IN POWER BI USING DAX
Excel Function Parameters(fx)
Rate =0.0075
Nper = 360
Pv = 125000.00
Start_Period = 13
End_Period = 24
Type =0
Note:
There is a similar but different fomular to this that give you the "Cummulative principal" paid between two period. in Excel the formular is =CUMPRINC
The formular =CUMPRINC(A2/12,A3*12,A4,13,24,0)
The Result should be = -934.1071
I am able to get the Cummulative Principal(=CUMPRINC) with dax in power bi, but not able to get the Cumulative Interest (=CUMIPMT).
To get the Cummulative Principal.
I first "Enter Data" to Create Sample Table
Header, Values
Rate =0.0075
Nper = 360
Pv = 125000.00
Start_Period = 13
End_Period = 24
Type =0
Then Write 2 Dax Calculated Columns;
1. To get the PMT(this is another function in Excel not in Dax)
Thanks in advance.
Hey @Eli_ ,
maybe you can use and adpt this blog
https://www.minceddata.info/2018/02/21/using-table-iterators-to-calculate-a-future-value/
to your needs.
Regards,
Tom
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |