This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi I've been trying for hours to make this work without success. Does anybody know if it's possible to use a measure as the cashflow part of a XIRR function?
Solved! Go to Solution.
Hi @v-xicai, the issue was where the cashflow calculations returned a blank value. To overcome this I used an IfError statement within the XIRR calc. Thanks for your replies
Hi @dmbd1904 ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi @v-xicai, the issue was where the cashflow calculations returned a blank value. To overcome this I used an IfError statement within the XIRR calc. Thanks for your replies
Hi @dmbd1904 ,
For the article of XIRR function, we know the table in function is like cashflow table instead of a calendar table, You may change the formula like DAX below. Or you may show us your formula error message for further analysis.
Syntax: XIRR(<table>, <values>, <dates>, [guess])
Measure 2 =
VAR CALC2=
(-CALCULATE(
SUM('Asta'[Property Commercial Value]),Asta[Activity]="Ready to Snag",Asta[Attribute]="Forecast Finish"))
+
CALCULATE(
SUM('Salesforce Properties'[Agreed_Price__c]),USERELATIONSHIP('Calendar'[Date],'Salesforce Properties'[Forecast_Closed_Date_Sales__c]))
RETURN XIRR('Asta',CALC2,'Calendar'[Date])
For reference:
Solution to XIRR with Terminal Values
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@dmbd1904 , refer if this can help
https://www.thebiccountant.com/2017/05/23/goal-seeking-and-xirr-in-powerbi-and-powerquery/
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |