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
Nagesh20
Helper I
Helper I

XIRR error for huge cash flows streams

Hi All,

 

My cashflow data is more than 12,000 rows for different funds which inlcude both positive and negative values. In order to calculate pooled IRR, applying this simple formula "Return = XIRR(Test1,Test1[Cash Flow],Test1[Date])" and getting belw error.

 

Nagesh20_0-1708017990375.png

 

 

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

What result do you get when you calculate the XIRR in MS Excel?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur , I get the XIRR of 0.0000298% in Excel. 

Try to give a guess rate in the XIRR measure.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

 

 

Tried the below formula and getting the same error

XIRR = XIRR(Test1,Test1[Cash Flow],Test1[Date],0.1)
XIRR = XIRR(Test1,CALCULATE(SUM(Test1[Cash Flow])),Test1[Date],0.1)
 
 
Identified one more issue with the data in Table View (in Desktop) -  even though table contains large positive cashflows but i can see only negative numbers through filter option. This issue is not there in power query. I do not know whether this would impact on the calculation.
Nagesh20_0-1708084832129.png

 

Hi,

You should be able to see the positive numbers by applying a Number filter on that column.  Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Nagesh20 ,

XIRR Function (DAX) states:

Return Value

Internal rate of return for the given inputs. If the calculation fails to return a valid result, an error is returned.

Remarks

The value is calculated as the rate that satisfies the following function:

The cash flow value series must contain at least one positive and one negative number.

Does your data have to contain at least one positive and one negative number?

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.