<?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: Calculate the sum within a a value in another column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2536644#M71314</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;, it worked!&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 14:41:32 GMT</pubDate>
    <dc:creator>renanc</dc:creator>
    <dc:date>2022-05-24T14:41:32Z</dc:date>
    <item>
      <title>Calculate the sum within a a value in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2534383#M71180</link>
      <description>&lt;P&gt;Good afternoon everybody.&lt;BR /&gt;&lt;BR /&gt;I would lilke to calculate the sum of the values in the column Valores_Preparacao, but only for the same plate. So for the rows with the plate ABL5H38, for example, I would like to have the sum only of that value, the same for ABL6J21, and so on.&lt;BR /&gt;Ps: For both these plates, the sum is the same, but is just a concidence, for the majority of the plates, the sum will be different.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help.&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 21:03:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2534383#M71180</guid>
      <dc:creator>renanc</dc:creator>
      <dc:date>2022-05-23T21:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum within a a value in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2534817#M71209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;It is for creating a calculated column.&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;LI-CODE lang="markup"&gt;Valor Somado CC =
SUMX (
    FILTER ( Data, Data[Coluna] = EARLIER ( Data[Coluna] ) ),
    Data[Valores_Preparacao]
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 24 May 2022 03:19:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2534817#M71209</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-05-24T03:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum within a a value in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2536644#M71314</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;, it worked!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 14:41:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2536644#M71314</guid>
      <dc:creator>renanc</dc:creator>
      <dc:date>2022-05-24T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum within a a value in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2536702#M71317</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;I have one more question, if you can help me, please&lt;BR /&gt;I just realized that there are some cases when the same car (the same value in the column Coluna) did different checklists, in different dates, and I have to Group By Coluna and DtCadastro (the Date of The Checklist).&lt;BR /&gt;I tried but the Dax return the message:&amp;nbsp;Muitos argumentos foram passados para a função FILTER. Contagem máxima de argumentos para a função: 2. - Many Arguments were passed to Filter function. In the second image we can see that the plate ABL3F70 has some different values in the columns DtCadastro, so I would like to Group by the values of DtCadastro, in addition to Coluna.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 15:01:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2536702#M71317</guid>
      <dc:creator>renanc</dc:creator>
      <dc:date>2022-05-24T15:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the sum within a a value in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2537628#M71376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please try the below calculated column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Valor_Somado CC =
SUMX (
    FILTER (
        'tablename',
        'tablename'[coluna] = EARLIER ( 'tablename'[coluna] )
            &amp;amp;&amp;amp; 'tablename'[dtcadastro] = EARLIER ( 'tablename'[dtcadastro] )
    ),
    'tablename'[valorespreparacao]
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 May 2022 02:49:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-sum-within-a-a-value-in-another-column/m-p/2537628#M71376</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-05-25T02:49:05Z</dc:date>
    </item>
  </channel>
</rss>

