Forum Discussion

ApurvaKhatri's avatar
ApurvaKhatri
Icon for Helper III rankHelper III
8 years ago
Solved

XIRR function cannot find solution

Hi,    I am trying to use XIRR function but I keep getting the error. Number Cost Date Quarter 1004-007 -51449.7 11/13/2021 2014Q2 1004-007 -51449.7 11/20/2021 2014Q2 10...
  • ChrisMendoza's avatar
    8 years ago

    I realize this is a sample however, 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.

     

    as well as the following:

     

    Remarks

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

     

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

     

    Does your data meet must contain at least one positive number and one negative number?

     

    I added another row with 100,000 in your sample set and it produced a value in the measure.