<?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 How to get monthly average sales per product? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-monthly-average-sales-per-product/m-p/14378#M783156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a chart which displays the monthly average sales per product however I have a daily data set in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197554" alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197554_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Expressions tab, I used this expression: =Avg(Aggr(Sum(Sales),Date,Product)) and upon applying, chart looked like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197555" alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/197555_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The scale was a lot smaller since I have data set in daily format but what I need is the monthly averages.&lt;/P&gt;&lt;P&gt;I've also tried editing the Script using the MonthStart string to no avail. Hope someone can help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to get monthly average sales per product?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-monthly-average-sales-per-product/m-p/14378#M783156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a chart which displays the monthly average sales per product however I have a daily data set in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197554" alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197554_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Expressions tab, I used this expression: =Avg(Aggr(Sum(Sales),Date,Product)) and upon applying, chart looked like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197555" alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/197555_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The scale was a lot smaller since I have data set in daily format but what I need is the monthly averages.&lt;/P&gt;&lt;P&gt;I've also tried editing the Script using the MonthStart string to no avail. Hope someone can help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-monthly-average-sales-per-product/m-p/14378#M783156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get monthly average sales per product?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-monthly-average-sales-per-product/m-p/14379#M783160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Avg(Aggr(Sum(Sales),MonthYear,Product))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where MonthYear is calculated in the script like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MonthStart(Date), 'MMM-YYYY') as MonthYear&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 14:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-monthly-average-sales-per-product/m-p/14379#M783160</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-27T14:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get monthly average sales per product?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-monthly-average-sales-per-product/m-p/14380#M783163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did it! Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 02:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-monthly-average-sales-per-product/m-p/14380#M783163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-02T02:30:14Z</dc:date>
    </item>
  </channel>
</rss>

