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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jcrandal
Regular Visitor

XIRR Calculations matrix visual

Hello,

 

I am having trouble with my XIRR measure working in a matrix visual. When I apply the measure to a card, and filter based on two sets of prices, everything works fine for the card. When I try and apply it to a matrix, one price as row and one price as column, matrix shows only the same value for each combination of prices. 

 

Has anyone else run into this problem or might have a solution on how to fix it? I would really like all the IRR percentages to show in one graphic if possible.

 

Thank you

 

Here is a screen shot of the problem

jcrandal_0-1610550459880.jpeg

74% should be the value for 4.00 and 70.00 only.

3 REPLIES 3
v-robertq-msft
Community Support
Community Support

Hi, @jcrandal 

According to your sample picture, it’s hard to find the original cause of this problem. Would you like to post some sample data in table form or pbix file(without sensitive data) and your expected result(like the chart you want to get and the correct measure value based on your sample data)?

Thanks very much!

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

jcrandal
Regular Visitor

IRR = if(IFERROR(XIRR('Volumes (Oil and Gas)',[DT Net Cash Flow],'Volumes (Oil and Gas)'[Date].[Date]),0)<0,0,IFERROR(XIRR('Volumes (Oil and Gas)',[DT Net Cash Flow],'Volumes (Oil and Gas)'[Date].[Date]),0))
 
parry2k
Super User
Super User

@jcrandal can you share measure expression?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.