Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajsd
Contributor II
Contributor II

NPV (Net percentage value)

Hi,

    How can we convert the following function from Excel to qliksense.

=NPV(0.1, value1, value2 , value3)

If i do sum of value1,Value2,value3 in qliksense,its not giving right values! 

Kindly help

Labels (2)
15 Replies
Ksrinivasan
Specialist
Specialist

hi,

good,

my dummy data

Ksrinivasan_1-1612492035405.png

Result: expression details in screen

Ksrinivasan_0-1612491996591.png

ksrinivasan

 

Rajsd
Contributor II
Contributor II
Author

The values are not right,

I tried with values in the following link but its not right.

https://corporatefinanceinstitute.com/resources/knowledge/valuation/npv-formula/

Here thr values are 10,12,8,16 with 12% ,it should come 34.4 but if do with the logic u provided i am getting around 41! 

Screenshot_20210205-083912.jpg

Ksrinivasan
Specialist
Specialist

hi,

Try in excel as you have mentioned in earlier example.

Ksrinivasan_1-1612495082782.png

Ksrinivasan

 

Rajsd
Contributor II
Contributor II
Author

Ya i tried in excel, its working fine. So this is my actual question! How can we convert this in qliksense!

 

Ksrinivasan
Specialist
Specialist

hi,

find the screen:

measures is : Val1/1.12+Val2/(Pow(1.12,2))+Val3/(Pow(1.12,3))+Val4/(Pow(1.12,4))

Ksrinivasan_0-1612506618584.png

ksrinivasan

 

Rajsd
Contributor II
Contributor II
Author

Thanks Man, Appreciate ur efforts!!! Will try this using my data👍