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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Laurie
Regular Visitor

XIRR Function help needed

Good day all,

 

I see this topic has been discussed in lenth. I just can not put my finger on it.

 

I have a large dataset (extract posted below) with different investments, each investment with its own irregular cashflows, date and calculated closing balance at month end.

 

I need to calculate XIRR from inception to specified date (Slicer linked to Calander table). I dont know I think it is more the addcolumn that I am notunderstanding. The selected date and negative closing balance (as if funds are withdrawn on said date) needs to form part of my XIRR arrays.

 

Investments are labeled closed (Investment table) when funds are withdrawn and I can calculate a straightforward return as the withdrawal completes the cashflow.

 

Any help in the right direction will be appreciated.

image.png

 

 

 

 

 

 

 

 

 

 

 

DateInvestment Value Closing Balance
25/09/2020investment-2002       54,000.0012032.71
30/09/2020investment-2002-     42,000.0012032.71
29/01/2021investment-2002-       2,000.00191.67
29/01/2021investment-2002-     10,000.00191.67
15/03/2022investment-2002       57,841.3596.01
23/03/2022investment-2002-     58,000.0096.01
23/03/2022investment-2001       58,000.00672.75
24/03/2022investment-2001-     27,769.50672.75
24/03/2022investment-2001-     14,978.00672.75
24/03/2022investment-2001-     14,605.74672.75
01/04/2022investment-2001-               3.60926.16
05/04/2022investment-2001-               0.93926.16
25/04/2022investment-2001            190.00926.16
25/04/2022investment-2001              66.02926.16
04/05/2022investment-2001-             13.61911.89
06/05/2022investment-2001-               3.50911.89
06/05/2022investment-2001-               3.50911.89
09/05/2022investment-2001                 3.50911.89
02/06/2022investment-2001-             13.15898.11
02/06/2022investment-2001-               3.37898.11
04/07/2022investment-2001-               3.30124.15
04/07/2022investment-2001-             12.87124.15
25/07/2022investment-2001            223.69124.15
25/07/2022investment-2001              63.81124.15
28/07/2022investment-2001-       2,673.50124.15
28/07/2022investment-2001         1,790.86124.15
28/07/2022investment-2001-           165.65124.15
01/08/2022investment-2001-               3.14780.88
01/08/2022investment-2001-             12.24780.88
08/08/2022investment-2001            535.62780.88
10/08/2022investment-2001            133.91780.88
01/09/2022investment-2001-               3.27-80.62
01/09/2022investment-2001-           198.94-80.62
01/09/2022investment-2001-           304.90-80.62
01/09/2022investment-2001-           264.70-80.62
02/09/2022investment-2001-             12.68-80.62
22/09/2022investment-2001-             42.92-80.62
22/09/2022investment-2001                 6.37-80.62
22/09/2022investment-2001-             40.84-80.62
05/10/2022investment-2001-               3.211233.5
05/10/2022investment-2001-             12.311233.5
11/10/2022investment-2002         6,000.006116.48
24/10/2022investment-2001            148.021233.5
24/10/2022investment-2001            818.501233.5
24/10/2022investment-2001            362.141233.5
01/11/2022investment-2001-             12.2915.48
01/11/2022investment-2001-               3.1915.48
11/11/2022investment-2002-       6,000.0085.65
23/11/2022investment-2001-       2,163.8015.48
23/11/2022investment-2001            289.8415.48
23/11/2022investment-2001            666.6015.48
05/12/2022investment-2001-               3.36568.16
05/12/2022investment-2001-             13.10568.16
03/01/2023investment-2001-             13.16568.16
05/01/2023investment-2001-               3.43568.16
23/01/2023investment-2001            121.02568.16
23/01/2023investment-2001            463.92568.16
02/02/2023investment-2001-               3.5440.57
02/02/2023investment-2001-             13.6140.57
03/02/2023investment-2001         4,370.4540.57
03/02/2023investment-2001-       4,507.0040.57
13/02/2023investment-2001-           264.2540.57
13/02/2023investment-2001-           106.2840.57
1 REPLY 1
some_bih
Super User
Super User

Hi @Laurie check official Microsoft link for your XIRR function requirement. On the link there is short video dealing with alternative results (if you need it sometimes). I hope this help

https://learn.microsoft.com/en-us/dax/xirr-function-dax?WT.mc_id=DP-MVP-4025372 





Did I answer your question? Mark my post as a solution!

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 Solution Authors