<?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 Please help: SUMX function not working. Is there another function I should be using? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110489#M163129</link>
    <description>&lt;P&gt;My SUMX formula is not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the Runout measure to subtract the Inventory column and the daily usage column.&amp;nbsp;How can I do that? I tried using SUMX function but it's giving me amounts that is not the correct subtraction result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Runout =&lt;/SPAN&gt; &lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;RunOutTable&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;RunOutTable&lt;/SPAN&gt;&lt;SPAN&gt;[Inventory]&lt;/SPAN&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;[Daily Usg]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Daily Usage =&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;[QtyTotal]&lt;/SPAN&gt;&lt;SPAN&gt;/(&lt;/SPAN&gt;&lt;SPAN&gt;[DateDuration]&lt;/SPAN&gt;&lt;SPAN&gt; * (&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;7&lt;/SPAN&gt;&lt;SPAN&gt;)) - This is a measure not a column.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Column "Inventory" is TotalPhysicalInvent - Delivery Remainder.&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 06:26:20 GMT</pubDate>
    <dc:creator>mformagnificent</dc:creator>
    <dc:date>2024-08-21T06:26:20Z</dc:date>
    <item>
      <title>Please help: SUMX function not working. Is there another function I should be using?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110489#M163129</link>
      <description>&lt;P&gt;My SUMX formula is not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the Runout measure to subtract the Inventory column and the daily usage column.&amp;nbsp;How can I do that? I tried using SUMX function but it's giving me amounts that is not the correct subtraction result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Runout =&lt;/SPAN&gt; &lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;RunOutTable&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;RunOutTable&lt;/SPAN&gt;&lt;SPAN&gt;[Inventory]&lt;/SPAN&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;[Daily Usg]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Daily Usage =&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;[QtyTotal]&lt;/SPAN&gt;&lt;SPAN&gt;/(&lt;/SPAN&gt;&lt;SPAN&gt;[DateDuration]&lt;/SPAN&gt;&lt;SPAN&gt; * (&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;7&lt;/SPAN&gt;&lt;SPAN&gt;)) - This is a measure not a column.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Column "Inventory" is TotalPhysicalInvent - Delivery Remainder.&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 06:26:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110489#M163129</guid>
      <dc:creator>mformagnificent</dc:creator>
      <dc:date>2024-08-21T06:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Please help: SUMX function not working. Is there another function I should be using?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110545#M163130</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="794816" data-lia-user-login="mformagnificent" class="lia-mention lia-mention-user"&gt;mformagnificent&lt;/a&gt;&amp;nbsp;, Try using below measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Runout &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; RunOutTable,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; RunOutTable[Inventory] &lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;([Daily Usage], RunOutTable)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Aug 2024 06:32:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110545#M163130</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-08-21T06:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Please help: SUMX function not working. Is there another function I should be using?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110557#M163131</link>
      <description>&lt;P&gt;Daily usage is a measure not a column. When I inserted your formula I get this message. Is there another method we can try? Also, thank you for responding.&amp;nbsp;&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>Wed, 21 Aug 2024 06:44:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110557#M163131</guid>
      <dc:creator>mformagnificent</dc:creator>
      <dc:date>2024-08-21T06:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Please help: SUMX function not working. Is there another function I should be using?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110575#M163133</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="794816" data-lia-user-login="mformagnificent" class="lia-mention lia-mention-user"&gt;mformagnificent&lt;/a&gt;&amp;nbsp;, You are getting this error because daily usage is measure , either convert in calculated column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or use below&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Runout &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; RunOutTable,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; RunOutTable[Inventory] &lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt; [Daily Usage]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Aug 2024 06:50:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4110575#M163133</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-08-21T06:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Please help: SUMX function not working. Is there another function I should be using?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4112275#M163196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="794816" data-lia-user-login="mformagnificent" class="lia-mention lia-mention-user"&gt;mformagnificent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Runout = SUM ( RunOutTable[Inventory] ) - [Daily Usg]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener nofollow noreferrer"&gt;How to get your questions answered quickly&lt;/A&gt;&amp;nbsp;--&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener nofollow noreferrer"&gt;&amp;nbsp;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 01:40:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-SUMX-function-not-working-Is-there-another-function/m-p/4112275#M163196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-22T01:40:51Z</dc:date>
    </item>
  </channel>
</rss>

