<?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: Show sum of a group on tabel base in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-sum-of-a-group-on-tabel-base/m-p/2859683#M92051</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;I guess the number should be 50 i.e. (10 + 40) not 30&lt;/P&gt;
&lt;P&gt;Please try the following measures&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Quantity Sum =
CALCULATE (
    SUM ( Salesline[Quantity] ),
    REMOVEFILTERS (),
    VALUES ( Sales[Item] )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;Warehouse Sum =
CALCULATE (
    SUM ( Warehouse[Warehouse] ),
    REMOVEFILTERS (),
    VALUES ( Sales[Item] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 16:34:42 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-10-24T16:34:42Z</dc:date>
    <item>
      <title>Show sum of a group on tabel base</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-sum-of-a-group-on-tabel-base/m-p/2859623#M92046</link>
      <description>&lt;P&gt;Hi I hope I can explain well what I am trying to achieve.&lt;BR /&gt;I have 3 tables which I am trying to link together.&lt;/P&gt;&lt;P&gt;In the Salesline I have many lines with the same Item and sold Quantity.&lt;/P&gt;&lt;P&gt;In The Warehouse i also have many lines with the Same Item and the stored Quantity.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(Red colums are not availabel in the datasource at the Moment.)&lt;/P&gt;&lt;P&gt;I would need the sum of theses two Quantitys and subtract them from Each other.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show the individual saleslines from my sales filterd by Item.&lt;BR /&gt;At the end of the tables I want to see how many parts are left in my stock.&lt;BR /&gt;So in my target table for the same ItemID in each line should be the same value.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it with verious measures or adding the grouped Sum in the datasource but could not find a way to make it work.&lt;/P&gt;&lt;P&gt;I hope its understandable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 15:57:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-sum-of-a-group-on-tabel-base/m-p/2859623#M92046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-24T15:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show sum of a group on tabel base</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-sum-of-a-group-on-tabel-base/m-p/2859683#M92051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;I guess the number should be 50 i.e. (10 + 40) not 30&lt;/P&gt;
&lt;P&gt;Please try the following measures&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Quantity Sum =
CALCULATE (
    SUM ( Salesline[Quantity] ),
    REMOVEFILTERS (),
    VALUES ( Sales[Item] )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;Warehouse Sum =
CALCULATE (
    SUM ( Warehouse[Warehouse] ),
    REMOVEFILTERS (),
    VALUES ( Sales[Item] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 16:34:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-sum-of-a-group-on-tabel-base/m-p/2859683#M92051</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-24T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Show sum of a group on tabel base</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-sum-of-a-group-on-tabel-base/m-p/2859968#M92076</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes of cause i meant that.&lt;/P&gt;&lt;P&gt;Thank you very much that was the perfect soulution!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 19:58:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-sum-of-a-group-on-tabel-base/m-p/2859968#M92076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-24T19:58:00Z</dc:date>
    </item>
  </channel>
</rss>

