<?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: Calculating SUMX not correct in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4185377#M166196</link>
    <description>&lt;P&gt;I ended up scrapping the formula since it was no longer needed. Thank you everyone&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 19:33:51 GMT</pubDate>
    <dc:creator>YIAX</dc:creator>
    <dc:date>2024-09-27T19:33:51Z</dc:date>
    <item>
      <title>Calculating SUMX not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4178957#M166039</link>
      <description>&lt;P&gt;I am working an calculating the average for a set of rows based on a filter. The percentage 77.27 is incorrect since the average of the set would actually be 86.36.&lt;BR /&gt;&lt;BR /&gt;Expected Percentage = 19/22 = .8636&lt;BR /&gt;Actual = .7727&lt;BR /&gt;[ROW_PERCENTAGE] is a measurement that take place on a row basis.&lt;BR /&gt;I am using this mea&lt;BR /&gt;Numerator_Measure = CALCULATE(SUMX(ALLSELECTED(TABLE),[ROW_PERCENTAGE]),TABLE[STAGE]=="STAGE 1")))&lt;BR /&gt;Denominator_Measure = CALCULATE(COUNTROWS(TABLE),FILTER(ALL(TABLE),TABLE[STAGE]=="STAGE 1")))&lt;BR /&gt;Stage_Percentage = DIVIDE(Numerator_Measure,Denominator_Measure)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;My numerator measure must be incorrect.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 19:20:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4178957#M166039</guid>
      <dc:creator>YIAX</dc:creator>
      <dc:date>2024-09-26T19:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating SUMX not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4179047#M166043</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="808448" data-lia-user-login="YIAX" class="lia-mention lia-mention-user"&gt;YIAX&lt;/a&gt;&amp;nbsp;Try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Numerator_Measure = SUMX( FILTER( ALLSELECTED(TABLE), [STAGE] == "STAGE 1" ),[ROW_PERCENTAGE])&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 Sep 2024 20:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4179047#M166043</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-09-26T20:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating SUMX not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4181874#M166117</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="808448" data-lia-user-login="YIAX" class="lia-mention lia-mention-user"&gt;YIAX&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to restore some of the data to try your formula, but my measure are correct.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Can you provide more details about the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 07:04:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4181874#M166117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-27T07:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating SUMX not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4185377#M166196</link>
      <description>&lt;P&gt;I ended up scrapping the formula since it was no longer needed. Thank you everyone&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 19:33:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-SUMX-not-correct/m-p/4185377#M166196</guid>
      <dc:creator>YIAX</dc:creator>
      <dc:date>2024-09-27T19:33:51Z</dc:date>
    </item>
  </channel>
</rss>

