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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.