<?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: Incorrect Grand Total for a DAX measure. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759228#M85466</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="439920" data-lia-user-login="MorrisBI" class="lia-mention lia-mention-user"&gt;MorrisBI&lt;/a&gt; , Refer to suggestion from &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="432850" data-lia-user-login="Chew_WenJie" class="lia-mention lia-mention-user"&gt;Chew_WenJie&lt;/a&gt; . But I think you need to use calculate in expression as you have used aggregation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gastos totales = &lt;BR /&gt;sumx (&lt;BR /&gt;values('Calendario2'[Mes]),&lt;BR /&gt;calculate(sum(GastosFijos[Gasto])&lt;BR /&gt;))&lt;/P&gt;</description>
    <pubDate>Sat, 10 Sep 2022 02:09:44 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-09-10T02:09:44Z</dc:date>
    <item>
      <title>Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759174#M85461</link>
      <description>&lt;P&gt;HI everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a DAX measure that does not sum the entire column, just the second subtotal, here is the image of the code and the example of the column with the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Gastos totales = 
    sumx (
        values('Calendario2'[Mes]),
        sum(GastosFijos[Gasto]
 ))&lt;/LI-CODE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked for this issue and solve some of the errors with the combination of SUMX and values, but for a strange reason the Grand Total keeps showing wrong, sometimes I see that is the total of the dataset but here is not the case, I'm not applying any filter at all neither.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Sep 2022 23:38:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759174#M85461</guid>
      <dc:creator>MorrisBI</dc:creator>
      <dc:date>2022-09-09T23:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759184#M85462</link>
      <description>&lt;P&gt;Hihi, maybe you can try to change the column of the values&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;values('Calendario2'[Mes]),&lt;/PRE&gt;&lt;P&gt;to other columns to get the correct subtotals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this can help you.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 00:24:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759184#M85462</guid>
      <dc:creator>Chew_WenJie</dc:creator>
      <dc:date>2022-09-10T00:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759228#M85466</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="439920" data-lia-user-login="MorrisBI" class="lia-mention lia-mention-user"&gt;MorrisBI&lt;/a&gt; , Refer to suggestion from &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="432850" data-lia-user-login="Chew_WenJie" class="lia-mention lia-mention-user"&gt;Chew_WenJie&lt;/a&gt; . But I think you need to use calculate in expression as you have used aggregation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gastos totales = &lt;BR /&gt;sumx (&lt;BR /&gt;values('Calendario2'[Mes]),&lt;BR /&gt;calculate(sum(GastosFijos[Gasto])&lt;BR /&gt;))&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 02:09:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759228#M85466</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-09-10T02:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759422#M85485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="439920" data-lia-user-login="MorrisBI" class="lia-mention lia-mention-user"&gt;MorrisBI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Gastos totales =
SUMX (
    SUMMARIZE (
        'Calendario2',
        'Calendario2'[Año],
        'Calendario2'[Trimestre],
        'Calendario2'[Mes]
    ),
    CALCULATE ( SUM ( GastosFijos[Gasto] ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 10 Sep 2022 08:51:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2759422#M85485</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-10T08:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762237#M85654</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing from Mes (Month) to another one, let say Dia (Day) just will end up giving me another numbers with the same error in the Grand Total.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 14:55:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762237#M85654</guid>
      <dc:creator>MorrisBI</dc:creator>
      <dc:date>2022-09-12T14:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762242#M85655</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did it but doesn't work, the outcome is the same with the error on Grand Total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect, my mistake is in the second line but not sure how to fix it.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 14:57:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762242#M85655</guid>
      <dc:creator>MorrisBI</dc:creator>
      <dc:date>2022-09-12T14:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762253#M85656</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, please, can you tell my why is summarize the best options instead of value? I simple don't understood as I should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 15:03:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762253#M85656</guid>
      <dc:creator>MorrisBI</dc:creator>
      <dc:date>2022-09-12T15:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Grand Total for a DAX measure.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762304#M85659</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="439920" data-lia-user-login="MorrisBI" class="lia-mention lia-mention-user"&gt;MorrisBI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create a virtual table that simulates the matrix visual and then iterate over it. This will guarantee we are summing the visible values in the matrix. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 15:18:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Grand-Total-for-a-DAX-measure/m-p/2762304#M85659</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-12T15:18:53Z</dc:date>
    </item>
  </channel>
</rss>

