<?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: SUMARPROMEDIOS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMARPROMEDIOS/m-p/4172289#M165712</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="779088" data-lia-user-login="JorgeAmache" class="lia-mention lia-mention-user"&gt;JorgeAmache&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've made a test for your reference:&lt;/P&gt;
&lt;P&gt;1\I assume there is a table(Table)&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2\Create a measure for this table&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
IF(
    ISINSCOPE('Table'[Id]),
    -- For each Id, calculate the average Value
    AVERAGE('Table'[Value]),
    -- For the total row, sum the averages of each Id
    SUMX(VALUES('Table'[Id]), CALCULATE(AVERAGE('Table'[Value])))
)&lt;/LI-CODE&gt;
&lt;P&gt;3\Add a table visual&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;Bof&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 02:11:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-25T02:11:25Z</dc:date>
    <item>
      <title>SUMARPROMEDIOS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMARPROMEDIOS/m-p/4155235#M165127</link>
      <description>&lt;P&gt;Buenas&lt;/P&gt;&lt;P&gt;Su gentil ayuda, cuando filtro por el campo "Evento" tengo una tabla que debe mostrar el promedio de cada "Id" y en el total debe mostrar la suma. ¿Cuál sería la formula Dax correcta?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lamentablemente avanzando solo he logrado 2 escenarios incorrectos debido a 2 medidas:&lt;/P&gt;&lt;P&gt;1.En la columna "SumaDuracionPromedio" se muestran los promedios de cada "Id" pero en el Total en vez de sumar realiza un promedio.&lt;/P&gt;&lt;P&gt;2.En la columna "SumaPromedio" muestra la suma total pero en cada "Id" en lugar de obtener el promedio los suma.&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;</description>
      <pubDate>Tue, 17 Sep 2024 21:34:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMARPROMEDIOS/m-p/4155235#M165127</guid>
      <dc:creator>JorgeAmache</dc:creator>
      <dc:date>2024-09-17T21:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: SUMARPROMEDIOS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMARPROMEDIOS/m-p/4155298#M165130</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 23:25:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMARPROMEDIOS/m-p/4155298#M165130</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-17T23:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: SUMARPROMEDIOS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMARPROMEDIOS/m-p/4172289#M165712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="779088" data-lia-user-login="JorgeAmache" class="lia-mention lia-mention-user"&gt;JorgeAmache&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've made a test for your reference:&lt;/P&gt;
&lt;P&gt;1\I assume there is a table(Table)&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2\Create a measure for this table&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
IF(
    ISINSCOPE('Table'[Id]),
    -- For each Id, calculate the average Value
    AVERAGE('Table'[Value]),
    -- For the total row, sum the averages of each Id
    SUMX(VALUES('Table'[Id]), CALCULATE(AVERAGE('Table'[Value])))
)&lt;/LI-CODE&gt;
&lt;P&gt;3\Add a table visual&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;Bof&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 02:11:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMARPROMEDIOS/m-p/4172289#M165712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-25T02:11:25Z</dc:date>
    </item>
  </channel>
</rss>

