<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: xIRR calculation discrepancy in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2996180#M100975</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="462791" data-lia-user-login="v-jialluo-msft" class="lia-mention lia-mention-user"&gt;v-jialluo-msft&lt;/a&gt;and Forum, moving this question to the top. Still looking for advise. Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jan 2023 02:23:00 GMT</pubDate>
    <dc:creator>giordani2000</dc:creator>
    <dc:date>2023-01-02T02:23:00Z</dc:date>
    <item>
      <title>xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2985047#M100140</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I am trying to calculate XIRR for a given set of investments and cashflows (column Total CF), which comply with all rules of XIRR function, but I still get a discrepancy between calculating XIRR using XIRR formula vs a new measure via DAX (this method allows me to slice and dice the data among diferent attributes and categories).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see my data and calculation attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When loaded into excel the XIRR formula the value for SYM returned -69.9%, but the new IRR measure yields -100% (incorrect).&amp;nbsp;For Aqsys, the XIRR formula and IRR measure returned the same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Note: not sure how to attached the excel file but I am open to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure Formula:&amp;nbsp;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;iferror&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;xirr&lt;/SPAN&gt;&lt;SPAN class=""&gt;(TestCF,TestCF[Total CF],TestCF[Date],-0.01),-1),&lt;/SPAN&gt;&lt;SPAN class=""&gt;filter&lt;/SPAN&gt;&lt;SPAN class=""&gt;( &lt;/SPAN&gt;&lt;SPAN class=""&gt;ALL&lt;/SPAN&gt;&lt;SPAN class=""&gt;(TestCF), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;CONTAINS&lt;/SPAN&gt;&lt;SPAN class=""&gt;( &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;VALUES&lt;/SPAN&gt;&lt;SPAN class=""&gt;(TestSum_2),TestSum_2[Portfolio Company],TestCF[Company])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XIRR formula:&amp;nbsp;XIRR(Cashflow!E2:E7,Cashflow!B2:B7,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CompanyDateCFActivityFMVTotal CF&lt;/P&gt;&lt;TABLE&g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t;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;2765590&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AqSys&lt;/TD&gt;&lt;TD&gt;5/22/2017&lt;/TD&gt;&lt;TD&gt;2370391&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;2370391&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AqSys&lt;/TD&gt;&lt;TD&gt;11/5/2019&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AqSys&lt;/TD&gt;&lt;TD&gt;12/2/2019&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Photos:&lt;/P&gt;&lt;P&gt;cashflows&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other attributes&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 18:57:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2985047#M100140</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2022-12-22T18:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2985953#M100217</link>
      <description>&lt;P&gt;Hi &amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="483394" data-lia-user-login="giordani2000" class="lia-mention lia-mention-user"&gt;giordani2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CALCULATE (
    IFERROR ( XIRR ( ALL(TestCF), TestCF[Total CF], TestCF[Date], -0.01 ), -1 ),
    FILTER (
        ALL ( TestCF ),
        CONTAINS ( VALUES ( TestSum_2 ), TestSum_2[Portfolio Company], TestCF[Company] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;Or provide sample files and expected output.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;How to provide sample data in the Power BI Forum - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Gallen Luo&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 08:25:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2985953#M100217</guid>
      <dc:creator>v-jialluo-msft</dc:creator>
      <dc:date>2022-12-23T08:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2986925#M100275</link>
      <description>&lt;P&gt;Hi Gallen&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="462791" data-lia-user-login="v-jialluo-msft" class="lia-mention lia-mention-user"&gt;v-jialluo-msft&lt;/a&gt;&amp;nbsp;, Thanks for the quick response. I tried adding ALL following XIRR but &lt;U&gt;did not&lt;/U&gt; work.&lt;/P&gt;&lt;P&gt;I uploaded the file to onedrive as suggested.&amp;nbsp;&lt;A title="XIRR inconsistent results" href="https://1drv.ms/x/s!AhK8zgM_1Ab0ds0FGvdGKm1hobA?e=CN6lYc" target="_self"&gt;https://1drv.ms/x/s!AhK8zgM_1Ab0ds0FGvdGKm1hobA?e=CN6lYc&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Forum, any other suggestion?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 16:58:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2986925#M100275</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2022-12-23T16:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2996180#M100975</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="462791" data-lia-user-login="v-jialluo-msft" class="lia-mention lia-mention-user"&gt;v-jialluo-msft&lt;/a&gt;and Forum, moving this question to the top. Still looking for advise. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 02:23:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/2996180#M100975</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-01-02T02:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3001958#M101387</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to solve this? For an unknown reason the IRR formula is not picking up company Sym but it picks the rest of my 100+ companies in my live file. It may be a problem with the data but I have review it multiple times. Appreciate your feedback.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 21:48:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3001958#M101387</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-01-04T21:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3014530#M102341</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;I noticed you had contributed to a question related to XIRR in the past. Would you be able to contribute to this problem. See prior posting for a path to the file. Thanks.!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 17:10:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3014530#M102341</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-01-11T17:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3014777#M102352</link>
      <description>&lt;P&gt;XIRR is a poorly implemented function. It's finicky and will occasionally fail if you don't give it a good enough guess to start from. For example, in your file, it will return the -69.9% value if you use -0.5 as a guess but fails with -0.01 as you have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know of a good way around this. I've implemented my own versions of XIRR in SQL before but this isn't feasible in DAX as it cannot handle the recursion required for the algorithm. In my own financial models, I've written measures that give a very rough approximation that I feed into the guess parameter of my IRR measures (currently I use annualized TVPI but I hope to find something better).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a pinch, you may be able to get away with nested IFERROR functions that try XIRR with different guesses but this is ugly and inefficient:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;CALCULATE (
    IFERROR (
        XIRR ( TestCF, TestCF[Total CF], TestCF[Date], 0.1 ), /*Default guess*/
        IFERROR (
            XIRR ( TestCF, TestCF[Total CF], TestCF[Date], -0.1 ),
            IFERROR (
                XIRR ( TestCF, TestCF[Total CF], TestCF[Date], -0.5 ),
                BLANK ()
            )
        )
    ),
    FILTER (
        ALL ( TestCF ),
        CONTAINS ( VALUES ( TestSum_2 ), TestSum_2[Portfolio Company], TestCF[Company] )
    )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 Jan 2023 19:33:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3014777#M102352</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2023-01-11T19:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3017330#M102497</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;this solution, while ugly and ineffient, works. If I may, let me present to you three other instances where the IRR formula does not yield the expected result. Disclosing these issues to you may disclose that I am not an advance power pivot and power query user. Click the link below for an updated file:&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/x/s!AhK8zgM_1Ab0ds0FGvdGKm1hobA?e=rEFcVi" target="_blank"&gt;https://1drv.ms/x/s!AhK8zgM_1Ab0ds0FGvdGKm1hobA?e=rEFcVi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Would you be able to contribute to this problem?&lt;/P&gt;&lt;P&gt;Additionally, I am super insterested in learning and becoming an advanced user of Power Query and Power Pivot. Any recomendations where to get more free training.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 16:29:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3017330#M102497</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-01-12T16:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3017852#M102538</link>
      <description>&lt;P&gt;The file looks the same to me.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 21:37:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3017852#M102538</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2023-01-12T21:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3017969#M102544</link>
      <description>&lt;P&gt;how about now?&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/x/s!AhK8zgM_1Ab0e0yc4mq687RV-Nc?e=tHvmzO" target="_blank"&gt;https://1drv.ms/x/s!AhK8zgM_1Ab0e0yc4mq687RV-Nc?e=tHvmzO&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 23:03:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3017969#M102544</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-01-12T23:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3020176#M102712</link>
      <description>&lt;P&gt;The file is updated now. The ones it's failing on don't surprise me. IRRs like that are pretty far out of the norm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, I don't have any further advice other than to tinker with the guesses. You could try using [Loss WE Ratio] as a guess and including as many additional guesses as you feel like. I think the following may work for this specific case but there's no guarantee it will work more broadly. I don't have any silver bullets.&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;CALCULATE (
    IFERROR (
        XIRR ( TestCF, TestCF[Total CF], TestCF[Date], 0.1 ),
        IFERROR (
            XIRR ( TestCF, TestCF[Total CF], TestCF[Date], - [Loss WD Ratio] ),
            IFERROR (
                XIRR ( TestCF, TestCF[Total CF], TestCF[Date], -0.5 ),
                IFERROR (
                    XIRR ( TestCF, TestCF[Total CF], TestCF[Date], -0.999 ),
                    -1
                )
            )
        )
    ),
    FILTER (
        ALL ( TestCF ),
        CONTAINS ( VALUES ( TestSum_2 ), TestSum_2[Bin], TestCF[Bin] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 20:09:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3020176#M102712</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2023-01-13T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3020314#M102728</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;got it. SUPER HELPFUL to have a sounding board for issues like this.&lt;/P&gt;&lt;P&gt;WRT&amp;nbsp;&lt;SPAN&gt;learning more and becoming an advanced user of Power Query, Power Pivot and DAX. Any recomendations where to get more free training? I've started watching a few videos from SQLBI.com and myonlinetraininghub. Any better option? Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 21:47:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3020314#M102728</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-01-13T21:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3020455#M102739</link>
      <description>&lt;P&gt;Most of my training has been on the job and answering thousands of questions on here and StackOverflow. &lt;A href="https://www.sqlbi.com/articles/?type=post" target="_blank"&gt;SQLBI&lt;/A&gt; has great articles about DAX. &lt;A href="https://radacad.com/blog" target="_blank"&gt;Radacad&lt;/A&gt; has good articles too. My new favorite is &lt;A href="https://data-goblins.com/articles" target="_blank"&gt;Data Goblins&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reading articles and watching videos is nice but to really learn you need to actually solve problems yourself, whether your own or other people's.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 23:46:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3020455#M102739</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2023-01-13T23:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3143098#M112299</link>
      <description>&lt;P&gt;Using the same file, I am trying to find out the following:&lt;/P&gt;&lt;P&gt;Attribute =Lead&amp;nbsp; /&amp;nbsp; Category= JB&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attribute = Year of Inv.&amp;nbsp; /&amp;nbsp; Category: select only greater than 2012.&lt;/P&gt;&lt;P&gt;I also want the flexibility to select any attribute and filter by other Attribute.&lt;/P&gt;&lt;P&gt;For this, it is almost like I need Attribute 1 and Attribute 2. The way is designed now, the pivot does not allow me to select Attribute twice. Do I need to create an attribute#2? It will not work bc the pivot table will filter category based on the first attribute.&lt;/P&gt;&lt;P&gt;Ultimately, I want the same number of selections in Attribute 1 and Category 1 in Attribute 2 and Category 2 so I can slice the pivot table any way I want. Thanks.&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/x/s!AhK8zgM_1Ab0fnIJJ5j5LGMglR8?e=jawnhA" target="_blank"&gt;Test_PivotTable_Inconsistent results_v2.xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:09:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3143098#M112299</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-03-20T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: xIRR calculation discrepancy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3148180#M112707</link>
      <description>&lt;P&gt;Forum, let me know if you need more clarification. I guess I can unpivot column Attribute but I am not sure it is the most efficient solution&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 20:32:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/xIRR-calculation-discrepancy/m-p/3148180#M112707</guid>
      <dc:creator>giordani2000</dc:creator>
      <dc:date>2023-03-22T20:32:56Z</dc:date>
    </item>
  </channel>
</rss>

