<?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: Avg is Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614977#M683025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use rolling n-period,Check below link to calculate 3 months avg for qty &lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 21:47:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-20T21:47:47Z</dc:date>
    <item>
      <title>Avg is Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614976#M683024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 dimensions in a pivot table, with Qty as measure. I am sowing sum(Qty) for last 3 months by country and category. Now i would like show avg(Qty) for last 3 months by Country anad Category. I can create two separte tables, and show the last 3 months Qty and avg. But am not able to do in a single table. So the question is, can we do avg by different dimensions instead of sum in a pivot table.&lt;/P&gt;&lt;P&gt;I have attached my QV and required view for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 21:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614976#M683024</guid>
      <dc:creator />
      <dc:date>2014-02-20T21:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Avg is Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614977#M683025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use rolling n-period,Check below link to calculate 3 months avg for qty &lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 21:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614977#M683025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-20T21:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Avg is Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614978#M683026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Simky,&lt;/P&gt;&lt;P&gt;Attached with the answer you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 22:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614978#M683026</guid>
      <dc:creator />
      <dc:date>2014-02-20T22:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Avg is Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614979#M683027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the direction. I made slight changes, since the dashboard would be in server with automatic update, so I cant put hardcore monthname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Month Expression :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Month_ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMaxMonthID)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly Prev Month Expresssion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Month_ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMaxMonthID_1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;where vMaxMonthID=&lt;/SPAN&gt;max&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; and vMaxMonthID_1=max&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) -1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 00:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614979#M683027</guid>
      <dc:creator />
      <dc:date>2014-02-21T00:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Avg is Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614980#M683028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely.&lt;/P&gt;&lt;P&gt;I just did it as an example. Never hard code numbers/texts that will change over time..&lt;/P&gt;&lt;P&gt;The way you did it by using variables is the best approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 00:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-is-Pivot-Table/m-p/614980#M683028</guid>
      <dc:creator />
      <dc:date>2014-02-21T00:32:12Z</dc:date>
    </item>
  </channel>
</rss>

