IRR
Only Executes Under: Cubes
Calculates the internal rate of return for a series of cash flows represented by the numbers in values.
js
IRR(value_location, dimension, hierarchy, start_position, count, guess)Parameters
value_location- Location in cube to pull values from.dimension- The name of the dimension to iterate from.hierarchy- The name of the hierarchy.start_position- Position in hierarchy to start from.count- How many elements in hierarchy to include.guess- An initial guess at the IRR.(optional)
Examples
js
IRR(["Amount"], "Time", "Month List", 3, 4)