Forum Discussion

charles_o's avatar
charles_o
Helper I
8 years ago
Solved

XNPV Aggregate vs Individual

Hi guys-   I have data that looks like this     In the XNPV Column, I am using this formula with 10% (.1) as the discount rate   Column = xnpv('Table 1', 'Table 1'[Profit], 'Table 1'[Dat...
  • charles_o's avatar
    charles_o
    8 years ago

    Alright guys- figured out a way that worked for me. Had to split numerator and denominator to make it work.

     

    Made two columns one like this

     

    XNPV DENOMINATOR = power(1.1,('Table'[Dates]-TODAY())/365)

     

    = (1+i)^((Future Date-today)/365)

     

    XNPV = CALCULATE(sum('Table'[Margin]))/'Table'[XNPV Denominator]

     

    Not the fastest work around but works and got me what I needed.

     

    Hope somebody else comes across this while browsing Google or something. This is pretty straightforward and considering we are discussing BI software, surprised that this does not have more optionality.