<?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: SUMX does not calculate at pivot aggregate level? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919685#M95725</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393895" data-lia-user-login="riccardoprade93" class="lia-mention lia-mention-user"&gt;riccardoprade93&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;ABSERR V3 2 =&lt;BR /&gt;SUMX (&lt;BR /&gt;SUMMARIZE ( 'Dataset Agg', 'Dataset Agg'[Period], 'Dataset Agg'[SHIP_FROM] ),&lt;BR /&gt;CALCULATE (&lt;BR /&gt;SUMX ( 'Dataset Agg', ABS ( 'Dataset Agg'[Forecast] - 'Dataset Agg'[Actuals] ) )&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2022 20:08:07 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-11-21T20:08:07Z</dc:date>
    <item>
      <title>SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919396#M95702</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following formula, and I would like to calculate the ABS ERROR between the actuals and the forecast.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However, as you can see the it is not calculating at the pivot level. Shouldn't SUMX calculate the result at the aggregation provided in the Matrix? Why is not working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Riccardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 17:20:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919396#M95702</guid>
      <dc:creator>riccardoprade93</dc:creator>
      <dc:date>2022-11-21T17:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919474#M95706</link>
      <description>&lt;P&gt;The SUMX iterates over every row in the 'Dataset_Agg' table, not necessarily whatever rows you have showing in your pivot table. For each row in that table, it calculates the measure [Forecast] (converting the table row context to filter context via &lt;A href="https://www.sqlbi.com/articles/understanding-context-transition-in-dax/" target="_blank"&gt;context transition&lt;/A&gt;) and takes the absolute difference between that measure and the table column&amp;nbsp;'Dataset_Agg'[Actuals].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is the [Forecast] measure defined?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 17:58:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919474#M95706</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-11-21T17:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919477#M95707</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393895" data-lia-user-login="riccardoprade93" class="lia-mention lia-mention-user"&gt;riccardoprade93&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the screenshot is not clear from my end. I guess I have a technical issue. Would you please copy/paste the code and write down the nsmes of the two columns used in the matrix visual? Are they from the same table?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 17:59:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919477#M95707</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-11-21T17:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919510#M95708</link>
      <description>&lt;P&gt;Both Actuals and Forecast are two column of the table behind standing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see below, in the second table the disaggregated data, that is why it calculate the ABS ERROR as 2,006.00&lt;/P&gt;&lt;P&gt;the &lt;U&gt;DFU&lt;/U&gt; is the lowest disaggregation in my table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;is there a way to compute the ABS ERROR at aggregated level easily?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Riccardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 18:09:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919510#M95708</guid>
      <dc:creator>riccardoprade93</dc:creator>
      <dc:date>2022-11-21T18:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919514#M95709</link>
      <description>&lt;P&gt;Both Actuals and Forecast are two column of the table behind standing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see below, in the second table the disaggregated data, that is why it calculate the ABS ERROR as 2,006.00&lt;/P&gt;&lt;P&gt;the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;DFU&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the lowest disaggregation in my table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to compute the ABS ERROR at aggregated level easily?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Riccardo&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 18:10:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919514#M95709</guid>
      <dc:creator>riccardoprade93</dc:creator>
      <dc:date>2022-11-21T18:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919564#M95711</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393895" data-lia-user-login="riccardoprade93" class="lia-mention lia-mention-user"&gt;riccardoprade93&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This how I see the screenshot from my end. Would you please write down the highlied formula and the names of the highlighted columns?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 18:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919564#M95711</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-11-21T18:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919679#M95724</link>
      <description>&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Period&lt;/TD&gt;&lt;TD&gt;SHIP_FROM&lt;/TD&gt;&lt;TD&gt;Actuals&lt;/TD&gt;&lt;TD&gt;Forecast&lt;/TD&gt;&lt;TD&gt;ABSERROR V3 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P09-22&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;EC9052A.61/1130&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;2006&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ABSERR V3 2 = (&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Dataset Agg'&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ABS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Dataset Agg'&lt;/SPAN&gt;&lt;SPAN&gt;[Forecast]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;'Dataset Agg'&lt;/SPAN&gt;&lt;SPAN&gt;[Actuals]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;it does not sum to 0, because SHIP_FROM is an aggregation of the behind standing 'Dataset Agg' table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Nov 2022 20:02:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919679#M95724</guid>
      <dc:creator>riccardoprade93</dc:creator>
      <dc:date>2022-11-21T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919685#M95725</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393895" data-lia-user-login="riccardoprade93" class="lia-mention lia-mention-user"&gt;riccardoprade93&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;ABSERR V3 2 =&lt;BR /&gt;SUMX (&lt;BR /&gt;SUMMARIZE ( 'Dataset Agg', 'Dataset Agg'[Period], 'Dataset Agg'[SHIP_FROM] ),&lt;BR /&gt;CALCULATE (&lt;BR /&gt;SUMX ( 'Dataset Agg', ABS ( 'Dataset Agg'[Forecast] - 'Dataset Agg'[Actuals] ) )&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 20:08:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919685#M95725</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-11-21T20:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919794#M95731</link>
      <description>&lt;P&gt;nah, not working. It also gives me 2006.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the SUMX it is summing at lower level. What I don't understand is how to sum at pivot aggregation....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 21:25:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2919794#M95731</guid>
      <dc:creator>riccardoprade93</dc:creator>
      <dc:date>2022-11-21T21:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2922207#M95853</link>
      <description>&lt;P&gt;I created a varation of yours and it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ABSERR CNS = &lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Dataset Agg'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Dataset Agg'&lt;/SPAN&gt;&lt;SPAN&gt;[SHIP_FROM]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Dataset Agg'&lt;/SPAN&gt;&lt;SPAN&gt;[SUB_DIV]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Dataset Agg'&lt;/SPAN&gt;&lt;SPAN&gt;[Period]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[ABS CNS]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Nov 2022 16:01:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2922207#M95853</guid>
      <dc:creator>riccardoprade93</dc:creator>
      <dc:date>2022-11-22T16:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX does not calculate at pivot aggregate level?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2928361#M96269</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393895" data-lia-user-login="riccardoprade93" class="lia-mention lia-mention-user"&gt;riccardoprade93&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am so glad to hear that your problem has been fixed ,&amp;nbsp;please consider Accept it as the solution to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 03:08:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-does-not-calculate-at-pivot-aggregate-level/m-p/2928361#M96269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-25T03:08:35Z</dc:date>
    </item>
  </channel>
</rss>

