<?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: Aggr function in pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function-in-pivot/m-p/864843#M302617</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 added extra table&amp;nbsp; in the script and used MonthSelector field name as filter in UI , hope it will sove your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if your expecting same ouptput.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attched the updated qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 11:03:45 GMT</pubDate>
    <dc:creator>venkatraju</dc:creator>
    <dc:date>2015-04-20T11:03:45Z</dc:date>
    <item>
      <title>Aggr function in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-in-pivot/m-p/864842#M302616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot with calculated dimension like: =aggr(IF(Rank(IF(Month_name&amp;gt;=(vCurMonth),Sum(Bench_Data*Forecast),Sum(Bench_Data)))&amp;lt;=5,Emp_name),Emp_name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is :IF(Month_name&amp;gt;=(vCurMonth),AVG(Bench_Data*Forecast),AVG(Bench_Data))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a listbox with months, like Jan, Feb, Mar etc.&lt;/P&gt;&lt;P&gt;When i choose Mar it shows me top list of employees for March.&lt;/P&gt;&lt;P&gt;I was asked to change the formulas so whenever someone chooses March or other months it will show the values not only for March, but from &lt;STRONG&gt;January till March or other months.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Is it posible in qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my sample data attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 08:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-in-pivot/m-p/864842#M302616</guid>
      <dc:creator />
      <dc:date>2015-04-20T08:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-in-pivot/m-p/864843#M302617</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 added extra table&amp;nbsp; in the script and used MonthSelector field name as filter in UI , hope it will sove your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if your expecting same ouptput.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attched the updated qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 11:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-in-pivot/m-p/864843#M302617</guid>
      <dc:creator>venkatraju</dc:creator>
      <dc:date>2015-04-20T11:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-in-pivot/m-p/864844#M302618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, it's no what is needed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 13:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-in-pivot/m-p/864844#M302618</guid>
      <dc:creator />
      <dc:date>2015-04-20T13:41:47Z</dc:date>
    </item>
  </channel>
</rss>

