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

Join 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.

Reply
104731
Frequent Visitor

calculating NPV

Hi I need some help in calculating the NPV in power BI.

Below is the sample data I have .

when I calculate from excel the values is "

$298,108,279.14"

 

 

ProjectIDPropertyNameRow_labelFYValuediscount Rate
5422020 K Street FINALCash Flow1/1/2018-404995.40220.0575
5422020 K Street FINALCash Flow1/1/20197634819.340.0575
5422020 K Street FINALCash Flow1/1/202016472491.630.0575
5422020 K Street FINALCash Flow1/1/202116481923.110.0575
5422020 K Street FINALCash Flow1/1/202212334513.230.0575
5422020 K Street FINALCash Flow1/1/202317325660.20.0575
5422020 K Street FINALCash Flow1/1/202418154972.390.0575
5422020 K Street FINALCash Flow1/1/202515537829.810.0575
5422020 K Street FINALCash Flow1/1/20269083829.1530.0575
5422020 K Street FINALCash Flow1/1/20273762907360.0575

 

Any helop would be appreciated.

 

Thanks in advance.

1 ACCEPTED SOLUTION

Hi @104731

 

Try this Measure

 

XNPV is slightly different than NPV.

 

http://www.differencebetween.net/business/finance-business-2/difference-between-npv-and-xnpv/

 

You can compute XNPV in Excel too.

 

Net present Value =
XNPV ( Table1, Table1[Value], Table1[FY], .0575 )

View solution in original post

6 REPLIES 6
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @104731,

 

Have you tried the solution provided above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?

 

If you still have any question on this issue, feel free to post here. Smiley Happy

 

Regards

Anonymous
Not applicable

What is NPV and how would you calculate it normally if you weren't using Power BI?

Hi,

Thanks for the reply

 

NPV in excel is Net present value calculation as shown in the image below.

 

Capture.JPG

 

 

But That is not working for me when I try to calculate in Power BI

Hi @104731

 

Try this Measure

 

XNPV is slightly different than NPV.

 

http://www.differencebetween.net/business/finance-business-2/difference-between-npv-and-xnpv/

 

You can compute XNPV in Excel too.

 

Net present Value =
XNPV ( Table1, Table1[Value], Table1[FY], .0575 )

How does one calculate in case of multiple projects and have different discount rates. 

Anonymous
Not applicable

Looking at Excel there are 2 NPV calculations and dax only seems to have the XNPV version.  When i use XNPV in Excel and PowerBI i get the same result.  You could probably write a Dax measure to do that, but i don't understand the Math formula well enough to get it right.  I gave it a quick try but the Pure Math side of what the Wiki was talking about was beyond me.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.