<?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: Need Grand Total differently in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Grand-Total-differently/m-p/1462721#M27634</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="76609" data-lia-user-login="sjoshi" class="lia-mention lia-mention-user"&gt;sjoshi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you try :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;E column logic Quantity = 

SUMX(
    'Inventory Discrepancy F',
    abs(sum('Inventory Discrepancy F'[carrier QTY])-sum('Inventory Discrepancy F'[ERP Qty]))
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 08:20:20 GMT</pubDate>
    <dc:creator>Fowmy</dc:creator>
    <dc:date>2020-10-29T08:20:20Z</dc:date>
    <item>
      <title>Need Grand Total differently</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Grand-Total-differently/m-p/1462574#M27629</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Below is the logic of column E. In Total where it is highlighted as red (E column) we want vertical sum of column E&amp;nbsp; 305 highlighted in green color. Similarly for column H we want vertical sum 152401 but Power BI giving total as 145*5612=813740 which is incorrect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E column logic Quantity = abs(sum('Inventory Discrepancy F'[carrier QTY])-sum('Inventory Discrepancy F'[ERP Qty]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to fix this? We want E column should be carrier QTY - ERP QTY though&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Smita&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 06:09:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Grand-Total-differently/m-p/1462574#M27629</guid>
      <dc:creator>sjoshi</dc:creator>
      <dc:date>2020-10-29T06:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need Grand Total differently</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Grand-Total-differently/m-p/1462721#M27634</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="76609" data-lia-user-login="sjoshi" class="lia-mention lia-mention-user"&gt;sjoshi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you try :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;E column logic Quantity = 

SUMX(
    'Inventory Discrepancy F',
    abs(sum('Inventory Discrepancy F'[carrier QTY])-sum('Inventory Discrepancy F'[ERP Qty]))
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:20:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Grand-Total-differently/m-p/1462721#M27634</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-10-29T08:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Grand Total differently</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Grand-Total-differently/m-p/1462722#M27635</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="76609" data-lia-user-login="sjoshi" class="lia-mention lia-mention-user"&gt;sjoshi&lt;/a&gt; , Try like &lt;/P&gt;
&lt;P&gt;E column logic Quantity = sumx(summarize('Inventory Discrepancy F', 'Inventory Discrepancy F' [Item_id], 'Inventory Discrepancy F'[warehouse] , "_1",abs(sum('Inventory Discrepancy F'[carrier QTY])-sum('Inventory Discrepancy F'[ERP Qty]))),[_1])&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:20:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Grand-Total-differently/m-p/1462722#M27635</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-10-29T08:20:35Z</dc:date>
    </item>
  </channel>
</rss>

