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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hello Community,
My report needs to display IRR from inception until the year and quarter selected in the slicer, while the same report has other metrics that display only for the year and quarter selected. I'm using XIRR formula.
The report has a slicer for Year, and another for Quarter.
If I make a selection in the slicer for year = 2020, and quarter = Q3, the other metrics display the correct values (since the data in the respective tables have columns for Year and Quarter), but the IRR metric will incorrectly show me the value for Q3 of 2020. I need that card to show me the IRR up to Q3 of 2020.
(For context, an IRR table usually consists of date, and the cash flow. When the asset is purchased, that date is the inception date and it has a negative cash flow associated with that date. During the life of the investment, there are cash distributions i.e. positive cash flow, and the last date consists the selling price of that asset. Hence showing the IRR for Q3 of 2020 only will result in an error, because the XIRR formula needs to see both positive and negative cash flows)
I'm using the same calendar lookup table for IRR and the other metrics in my data model.
Solved! Go to Solution.
Hi community, i was able to figure out the issue. I had to remove filter context using ALL(), and then use XIRR.
My measure is
measure=
var quarter = SELECTEDVALUE(table[quarter])
return CALCULATE(XIRR(.....), ALL(table[quarter]), table[quarter] <= quarter))
Hi community, i was able to figure out the issue. I had to remove filter context using ALL(), and then use XIRR.
My measure is
measure=
var quarter = SELECTEDVALUE(table[quarter])
return CALCULATE(XIRR(.....), ALL(table[quarter]), table[quarter] <= quarter))
@Daxmax , are u using xirr of power bi ?
https://docs.microsoft.com/en-us/dax/xirr-function-dax
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Check out the May 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 |
|---|---|
| 25 | |
| 24 | |
| 22 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 51 | |
| 48 | |
| 44 | |
| 21 | |
| 21 |