Forum Discussion

jcrandal's avatar
jcrandal
Regular Visitor
5 years ago

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

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

3 Replies

  • jcrandal's avatar
    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))
     
  • v-robertq-msft's avatar
    v-robertq-msft
    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.