<?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: TOTALES Y SUBTOTALES in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4307275#M171047</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="866670" data-lia-user-login="maniac234" class="lia-mention lia-mention-user"&gt;maniac234&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on the description, try using the following dax formula to get total.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = SUMX(ALL('Table'), 'Table'[Unit])&lt;/LI-CODE&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;Best Regards,&lt;/P&gt;
&lt;P&gt;Wisdom Wu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 02:05:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-12-02T02:05:04Z</dc:date>
    <item>
      <title>TOTALES Y SUBTOTALES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4302511#M170831</link>
      <description>&lt;P&gt;NEcesito utilizar los totales para una medida, estoy utilizando el calculate, pero cuando llevo a la matriz, me lo genera por el elemento que lo engloba, alguien sabe como puedo tomar siempre los totales? o subtotales?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 15:55:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4302511#M170831</guid>
      <dc:creator>maniac234</dc:creator>
      <dc:date>2024-11-26T15:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: TOTALES Y SUBTOTALES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4302729#M170845</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="866670" data-lia-user-login="maniac234" class="lia-mention lia-mention-user"&gt;maniac234&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try this approach:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DynamicTotalsAndSubtotals = 
IF(
    ISINSCOPE(DimProduct[Product]), 
    SUM(FactSales[Sales]),
    IF(
        ISINSCOPE(DimRegion[Region]),
        CALCULATE(SUM(FactSales[Sales]), REMOVEFILTERS(DimProduct)),
        CALCULATE(SUM(FactSales[Sales]), ALL(DimRegion, DimProduct))
    )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:16:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4302729#M170845</guid>
      <dc:creator>Sahir_Maharaj</dc:creator>
      <dc:date>2024-11-26T18:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: TOTALES Y SUBTOTALES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4302760#M170847</link>
      <description>&lt;P&gt;Lo que yo necesito son los totales, para poder realizar otros calculos, te mando el print que en esos numeros que aparecen abajo de antiparacitarios, aparezca lo que esta arriba que es antiparacitarios&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:42:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4302760#M170847</guid>
      <dc:creator>maniac234</dc:creator>
      <dc:date>2024-11-26T18:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: TOTALES Y SUBTOTALES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4306318#M170996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="866670" data-lia-user-login="maniac234" class="lia-mention lia-mention-user"&gt;maniac234&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not very sure about your expectations, but if you are trying to get the subtotal values replicate in each granularity, you can use below syntax. else please share some sample data and an illustration of the desired output.&lt;/P&gt;&lt;P&gt;value = calculate(sum(table,[value]),allexcept(table,table[subgroup column]))&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 13:46:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4306318#M170996</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2024-11-28T13:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: TOTALES Y SUBTOTALES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4307275#M171047</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="866670" data-lia-user-login="maniac234" class="lia-mention lia-mention-user"&gt;maniac234&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on the description, try using the following dax formula to get total.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = SUMX(ALL('Table'), 'Table'[Unit])&lt;/LI-CODE&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;Best Regards,&lt;/P&gt;
&lt;P&gt;Wisdom Wu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 02:05:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTALES-Y-SUBTOTALES/m-p/4307275#M171047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-02T02:05:04Z</dc:date>
    </item>
  </channel>
</rss>

