<?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: Re: Re: last 12 Months Avg Sales ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696774#M251701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Oct 2014 07:42:27 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2014-10-26T07:42:27Z</dc:date>
    <item>
      <title>last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696767#M251694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to get Last 12 Months Avg Sales, Including Selected Month..Remaining months go&amp;nbsp; back dynamically&lt;/P&gt;&lt;P&gt;Ex: If Select Year-2014, Month-Jul&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sample Output for One Month &amp;amp; Year : 279.166&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Year, Month, Sales&lt;/P&gt;&lt;P&gt;2014, Sep, 200&lt;/P&gt;&lt;P&gt;2014, Aug, 300&lt;/P&gt;&lt;P&gt;2014, Jul, 100&lt;/P&gt;&lt;P&gt;2014, Jun, 500&lt;/P&gt;&lt;P&gt;2014, May, 200&lt;/P&gt;&lt;P&gt;2014, Apr, 300&lt;/P&gt;&lt;P&gt;2014, Mar, 100&lt;/P&gt;&lt;P&gt;2014, Feb, 200&lt;/P&gt;&lt;P&gt;2014, Jan, 600&lt;/P&gt;&lt;P&gt;2013, Dec, 150&lt;/P&gt;&lt;P&gt;2013, Nov, 250&lt;/P&gt;&lt;P&gt;2013, Oct, 50&lt;/P&gt;&lt;P&gt;2013, Sep, 700&lt;/P&gt;&lt;P&gt;2013, Aug, 200&lt;/P&gt;&lt;P&gt;2013, Jul, 600&lt;/P&gt;&lt;P&gt;2013, Jun, 300&lt;/P&gt;&lt;P&gt;2013, May, 200&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 04:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696767#M251694</guid>
      <dc:creator />
      <dc:date>2014-10-26T04:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696768#M251695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RangeAvg(AGGR(Sum({$&amp;lt;Year={$(='"&amp;gt;=" &amp;amp; Year(AddMonths(Max(Date),-12)) &amp;amp; '"')},&lt;/P&gt;&lt;P&gt;Month={$(='"&amp;gt;=" &amp;amp; Month(AddMonths(Max(Date),-12)) &amp;amp; '"')}&lt;/P&gt;&lt;P&gt;&amp;gt;}Sales),Month))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 05:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696768#M251695</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-10-26T05:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696769#M251696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you have an example for thid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 05:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696769#M251696</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-10-26T05:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696770#M251697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;try to create a new field in script:&lt;/P&gt;&lt;P&gt;date(Month &amp;amp; Year,'MMM YYYY') as NewYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a variable:&lt;/P&gt;&lt;P&gt;vCurrentDate = Max(NewYear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then a expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;[NewYear]={"&amp;gt;=$((vCurrentDate)-12) &amp;lt;=$(vCurrentDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 06:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696770#M251697</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-26T06:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696771#M251698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 06:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696771#M251698</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-10-26T06:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696772#M251699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I was not selected any Month &amp;amp; Year, By Default it Show Max Month &amp;amp; Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 06:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696772#M251699</guid>
      <dc:creator />
      <dc:date>2014-10-26T06:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696773#M251700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, see the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 06:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696773#M251700</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-10-26T06:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: last 12 Months Avg Sales ?</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696774#M251701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 07:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-Months-Avg-Sales/m-p/696774#M251701</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-10-26T07:42:27Z</dc:date>
    </item>
  </channel>
</rss>

