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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
GAPER
Post Patron
Post Patron

PowerBI XIRR is not calculating right

I am able to get this in excel but not in XIRR dax formula. (excel giving the right one as 14%) Anyone know what I should do?? Thanks. 

 

CF_DATE_DUMMY 
8/14/2020 0:00-689
11/25/2019 0:00-1,432
7/25/2019 0:00-1,457
7/3/2019 0:00-44,861
7/2/2019 0:0099,380
7/1/2019 0:00587,706
6/20/2019 0:008,785
5/30/2019 0:00-1,438
5/21/2019 0:008,462
4/30/2019 0:008,956
3/29/2019 0:00-1,136
3/21/2019 0:007,862
2/26/2019 0:00332
2/25/2019 0:00617,422
1/21/2019 0:0015,684
12/21/2018 0:0028,368
12/10/2018 0:00-1,470
11/28/2018 0:00337
11/20/2018 0:0015,472
10/26/2018 0:0015,040
9/26/2018 0:00-1,128
9/20/2018 0:0015,639
8/28/2018 0:00-326
8/24/2018 0:00345
8/20/2018 0:0016,171
8/16/2018 0:00-1,068
7/20/2018 0:0016,126
6/30/2018 0:001,054
6/20/2018 0:0015,926
6/15/2018 0:00-1,444
5/23/2018 0:0016,560
5/7/2018 0:00-1,409
5/3/2018 0:00-431
4/20/2018 0:0016,733
3/31/2018 0:002,182
3/23/2018 0:00-1,064
3/20/2018 0:0015,189
2/20/2018 0:0082,275
1/20/2018 0:00669,528
10/31/2017 0:0023,515
9/30/2017 0:0023,420
8/31/2017 0:0024,374
8/21/2017 0:00-2,494
7/31/2017 0:0024,545
6/30/2017 0:0022,818
5/31/2017 0:0022,788
4/30/2017 0:0022,221
3/31/2017 0:0023,398
2/28/2017 0:0053,395
12/15/2016 0:00-1,977,066
1 ACCEPTED SOLUTION

@GAPER 

Please check the attached file.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

8 REPLIES 8
GAPER
Post Patron
Post Patron

XIRR(FACT_Cashflow, FACT_Cashflow[Gross_Cash_flow], FACT_Cashflow[CF_DATE_DUMMY])
 
Here you go man.
 

@GAPER 

With your formula, create a measure, NOT column:

Fowmy_1-1705306737890.png

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

For some reason mine is having some error...

 

GAPER_0-1705306909272.png

GAPER_1-1705306930606.png

 

@GAPER 

Please check the attached file.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Does it have anything to do with my date format?

 

GAPER_2-1705306994603.png

r

I just realised it because in the original data set there are empty cash flow columns. Thanks everyone for the help. 

@GAPER 

Glad it works!
Please accept the solution I shared if it was helpful for you.


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Idrissshatila
Super User
Super User

HEllo @GAPER ,

 

what's the equation you're trying to perform.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors