IRR returns NaN when it fails to converge on a result
Options
CharlesBowman
Member, ALL USERS, GroupMember, Employee Posts: 5 Contributor
This item has been identified as an outstanding known issue. A workaround is provided until the issue is officially fixed.
Issue
IRR returns NaN when some of the following conditions are satisfied:
- There a small number of cashflows (less than 5)
- The difference between the numbers is large (>10,000)
- The resulting IRR value is large (over 500)
The current implementation will fail to calculate IRR when the above situations are satisfied and it will return NaN. The reason for this is because of the iterative nature of the function fails to converge the large void between the numbers.
Examples:
Workaround
- If the values have a lot of significant figures, using ROUND on the cashflows can help as it changes the numbers. This will cause a slight loss of accuracy though and the rounding value will have to be adjusted on a case by case basis.
- Create a read/write connection in the Anaplan Excel Add-in. Use Excels XIRR function to calculate the value and then write the data back to Anaplan.
If this workaround is not suitable in your use case, please contact Support at support@anaplan.com.
---
Internal Reference: CALC-2252
Tagged:
1
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways