<?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: Subtracting  from same column and then add up the difference in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133797#M111606</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="529997" data-lia-user-login="Varez42" class="lia-mention lia-mention-user"&gt;Varez42&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;SUMX ( 'Table', IF ( 'Table'[att] = "reci", - 'Table'[Value], 'Table'[Value] ) )&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 15:08:01 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-03-15T15:08:01Z</dc:date>
    <item>
      <title>Subtracting  from same column and then add up the difference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133205#M111555</link>
      <description>&lt;P&gt;&lt;img /&gt;I have data kind of similar to this excel file in the PQ, I would like to get the difference of value column between sent and reci(att column) for each unique event ID&lt;/P&gt;&lt;P&gt;I was able to get that where for a the measure would be 10 and for b it would be 15 and for c 0 but the total is not adding up as it should be 25&amp;nbsp;&lt;BR /&gt;I am trying to calculate it like this&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;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Can some one help me with this,please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 16:19:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133205#M111555</guid>
      <dc:creator>Varez42</dc:creator>
      <dc:date>2023-03-15T16:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting  from same column and then add up the difference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133214#M111558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="529997" data-lia-user-login="Varez42" class="lia-mention lia-mention-user"&gt;Varez42&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Can you please provide sample output for better understanding?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 11:01:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133214#M111558</guid>
      <dc:creator>KeyurPatel14</dc:creator>
      <dc:date>2023-03-15T11:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting  from same column and then add up the difference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133555#M111592</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="493162" data-lia-user-login="KeyurPatel14" class="lia-mention lia-mention-user"&gt;KeyurPatel14&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;thanks for the response,&amp;nbsp;&lt;BR /&gt;So based on the above data , I am trying something like this but as you can see the total should be 50 but it is not .&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;</description>
      <pubDate>Wed, 15 Mar 2023 13:46:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133555#M111592</guid>
      <dc:creator>Varez42</dc:creator>
      <dc:date>2023-03-15T13:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting  from same column and then add up the difference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133797#M111606</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="529997" data-lia-user-login="Varez42" class="lia-mention lia-mention-user"&gt;Varez42&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;SUMX ( 'Table', IF ( 'Table'[att] = "reci", - 'Table'[Value], 'Table'[Value] ) )&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 15:08:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-from-same-column-and-then-add-up-the-difference/m-p/3133797#M111606</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-15T15:08:01Z</dc:date>
    </item>
  </channel>
</rss>

