<?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 average quantity in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/average-quantity/m-p/3026326#M103208</link>
    <description>&lt;P&gt;hi community,&lt;/P&gt;&lt;P&gt;i have a table that saves the operations about our products (sales and purchases), there is a column "Quantity Now" that calculate the quantity in stock (after sale or purchase).&lt;/P&gt;&lt;P&gt;i need to calculate the average "Quantity Now" by month, t tried a simple average fonction and it works, but one thing, it's about when there is not operations for a product in a month it shows me "0", i ned to show me it this case, the average of last month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you all&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 15:46:44 GMT</pubDate>
    <dc:creator>Sofinobi</dc:creator>
    <dc:date>2023-01-17T15:46:44Z</dc:date>
    <item>
      <title>average quantity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/average-quantity/m-p/3026326#M103208</link>
      <description>&lt;P&gt;hi community,&lt;/P&gt;&lt;P&gt;i have a table that saves the operations about our products (sales and purchases), there is a column "Quantity Now" that calculate the quantity in stock (after sale or purchase).&lt;/P&gt;&lt;P&gt;i need to calculate the average "Quantity Now" by month, t tried a simple average fonction and it works, but one thing, it's about when there is not operations for a product in a month it shows me "0", i ned to show me it this case, the average of last month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you all&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 15:46:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/average-quantity/m-p/3026326#M103208</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2023-01-17T15:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: average quantity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/average-quantity/m-p/3026397#M103215</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477984" data-lia-user-login="Sofinobi" class="lia-mention lia-mention-user"&gt;Sofinobi&lt;/a&gt; , Assume you are using measure m1 as of now &lt;/P&gt;
&lt;P&gt;if(isblank([M1]),&lt;/P&gt;
&lt;P&gt;CALCULATE(AverageX(Values('Date'[Month Year]), [M1]),filter(all('Date'),'Date'[date] &amp;lt;=max('Date'[date]))), [M1])&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 16:02:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/average-quantity/m-p/3026397#M103215</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-01-17T16:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: average quantity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/average-quantity/m-p/3028299#M103360</link>
      <description>&lt;P&gt;thank you for your help, thats exactely what i want.&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 10:06:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/average-quantity/m-p/3028299#M103360</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2023-01-18T10:06:12Z</dc:date>
    </item>
  </channel>
</rss>

