Forum Discussion

sv11's avatar
sv11
Helper I
7 years ago
Solved

Cumulative Return Value Calculation

Hi,

 

I am trying to calculate a Cumulative Return value based on Return% and a Parameter $ value.

 

Ideally, I should be able to pass in any Parameter value (In this case 1000 as shown, serves as initial number for 1st row calculation) and I would like to Calculate the cumulative Value for each fund.

Calculation:

=(C3*D2/100)+D2

How can I recreate this in PowerBI using DAX?

 

I greatly appreciate the help to solve this issue.

Thanks in advance.

 

  • Anonymous's avatar
    Anonymous
    7 years ago

    HI sv11,

     

    Nope, power bi not support to use dax formula to do recursive calculation.


    Maybe you can consider calculate them in power query side or try to refer to following blog to use 'len' and 'exp' function to manually calculate the rolling multiplier of each steps for calculate.

    Recursive Calculations in PowerPivot using DAX

     

    Regards,

    Xiaoxin Sheng

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI sv11,

     

    Nope, power bi not support to use dax formula to do recursive calculation.


    Maybe you can consider calculate them in power query side or try to refer to following blog to use 'len' and 'exp' function to manually calculate the rolling multiplier of each steps for calculate.

    Recursive Calculations in PowerPivot using DAX

     

    Regards,

    Xiaoxin Sheng