<?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: Help  needed on Rolling 13 months with Aggr() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323657#M830085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure i will share sample app in 10 mins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 13:50:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-20T13:50:10Z</dc:date>
    <item>
      <title>Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323652#M830080</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;&lt;/P&gt;&lt;P&gt;Hope everyone is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help with the rolling 13 months data with aggr ().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a&amp;nbsp; requirement like i need to display avg customer score for rolling 13 months. For that i have used Avg({&amp;lt;Year=,Month=,&lt;/P&gt;&lt;P&gt;Date={"&amp;gt;=$(=AddMonths(Max(Date),-13))"}&amp;lt;=$(=Max(Date))&amp;gt;}Score). with the expression values are not coming correctly as the customer code is repeated for multiple rows due to which the avg value is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i have changed the expression to include aggr () as below.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Avg(Aggr(Avg({&amp;lt;Year=,Month=,Date={"&amp;gt;=$(=AddMonths(Max(Date),-13))"}&amp;lt;=$(=Max(Date))&amp;gt;}Score),CustomerID).&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;With the above expression i am able to achieve the correct value but i am not able to display rolling 13 months. The chart i am using is line chart.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Nani&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/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323652#M830080</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323653#M830081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, but may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Avg(&lt;SPAN style="color: #ff0000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;Year=,Month=,Date={"&amp;gt;=$(=AddMonths(Max(Date),-13))"}&amp;lt;=$(=Max(Date))&amp;gt;} &lt;/SPAN&gt;Aggr(Avg({&amp;lt;Year=,Month=,Date={"&amp;gt;=$(=AddMonths(Max(Date),-13))"}&amp;lt;=$(=Max(Date))&amp;gt;}Score),CustomerID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323653#M830081</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-20T13:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323654#M830082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Sunny. Let me check and confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323654#M830082</guid>
      <dc:creator />
      <dc:date>2017-06-20T13:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323655#M830083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is showing the rolling 13 months in the dimension but the values are not correct.&lt;/P&gt;&lt;P&gt;I need to display average score by month. but when i am using the expression the values are not matching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323655#M830083</guid>
      <dc:creator />
      <dc:date>2017-06-20T13:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323656#M830084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to check out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323656#M830084</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-20T13:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323657#M830085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure i will share sample app in 10 mins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323657#M830085</guid>
      <dc:creator />
      <dc:date>2017-06-20T13:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323658#M830086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached app with some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my need when i select 1702 period i should show both 1701 and 1702 with avg values for 1701: 20 and 1702:25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the app ID is Customer &lt;EM&gt;ID &lt;/EM&gt;which have the score repeated. due to other columns i can't aggregate in data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323658#M830086</guid>
      <dc:creator />
      <dc:date>2017-06-20T14:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323659#M830088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for the sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;Period = {"$(='&amp;lt;=' &amp;amp; Max(Period))"}&amp;gt;} Aggr(Avg({&amp;lt;Period = {"$(='&amp;lt;=' &amp;amp; Max(Period))"}&amp;gt;}Score), ID, Period))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167490_Capture.PNG" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323659#M830088</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-20T14:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323660#M830089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect.Thanks for the help Sunny. Much Appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323660#M830089</guid>
      <dc:creator />
      <dc:date>2017-06-20T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323661#M830091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i use rolling 13 months logic for rolling 13 months in place of "&amp;lt;=Max(Period)" ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323661#M830091</guid>
      <dc:creator />
      <dc:date>2017-06-20T14:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323662#M830093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it should work....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323662#M830093</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-20T14:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help  needed on Rolling 13 months with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323663#M830094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. I will modify the logic and test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-Rolling-13-months-with-Aggr/m-p/1323663#M830094</guid>
      <dc:creator />
      <dc:date>2017-06-20T14:47:12Z</dc:date>
    </item>
  </channel>
</rss>

