<?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: QlikView set Analysis for Data Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141822#M373975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i tried this but i also want a flexibility to select date field, that's why in the second part of the expression i am using MonthEnd() function(Bold letters below)&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: 13px;"&gt;Avg({&amp;lt;Date= {'&amp;gt;=$(=AddMonths(Max(MonthName),-24)) &amp;lt;=$(=&lt;STRONG&gt;MonthEnd(Max(MonthName&lt;/STRONG&gt;),-1))'}&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;/STRONG&gt;MonthName&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} val)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2016 19:29:08 GMT</pubDate>
    <dc:creator>gouthamkk</dc:creator>
    <dc:date>2016-07-12T19:29:08Z</dc:date>
    <item>
      <title>QlikView set Analysis for Data Range</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141820#M373973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I wrote a set analysis expression as below&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;Date= {'&amp;gt;=$(=AddMonths(Max(MonthName),-24)) &amp;lt;=$(=MonthEnd(Max(MonthName),-1))'}&amp;gt;} val)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when no selections made i am getting correct result. but if i select a MonthName(eg: Jun 2016-- ListBox), the expression is not displaying any result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select any month name, the expression has to to average of all past 24 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one please Advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141820#M373973</guid>
      <dc:creator>gouthamkk</dc:creator>
      <dc:date>2016-07-12T19:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set Analysis for Data Range</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141821#M373974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&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: 13px;"&gt;=Avg({&amp;lt;Date= {'&amp;gt;=$(=AddMonths(Max(MonthName),-24)) &amp;lt;=$(=MonthEnd(Max(MonthName),-1))'}&lt;STRONG&gt;, MonthName=&lt;/STRONG&gt;&amp;gt;} val)&lt;/SPAN&gt;&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;BR /&gt;&lt;/SPAN&gt;&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;i.e. clear selection in MonthName in your set expression to avoid an incompatible set (note that your Date field date range does not cover your active selection).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141821#M373974</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-12T19:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set Analysis for Data Range</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141822#M373975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i tried this but i also want a flexibility to select date field, that's why in the second part of the expression i am using MonthEnd() function(Bold letters below)&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: 13px;"&gt;Avg({&amp;lt;Date= {'&amp;gt;=$(=AddMonths(Max(MonthName),-24)) &amp;lt;=$(=&lt;STRONG&gt;MonthEnd(Max(MonthName&lt;/STRONG&gt;),-1))'}&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;/STRONG&gt;MonthName&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} val)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141822#M373975</guid>
      <dc:creator>gouthamkk</dc:creator>
      <dc:date>2016-07-12T19:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set Analysis for Data Range</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141823#M373976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand your issue. The expression should still be sensitive to selection in MonthName field (the max() function in the dollar sign expansions should return your max selected value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You still get no result when you are selecting a value? Could you upload a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141823#M373976</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-12T19:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set Analysis for Data Range</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141824#M373977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i select a value from Year list box(eg: 2016) the values is changing and i am getting the average for only 2016 data set. &lt;/P&gt;&lt;P&gt;i still want my expression to calculate for past 24 months starting from max of the month.&lt;/P&gt;&lt;P&gt;i really appreciate all you help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141824#M373977</guid>
      <dc:creator>gouthamkk</dc:creator>
      <dc:date>2016-07-12T19:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set Analysis for Data Range</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141825#M373978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add all calendar fields the use may select in to your set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Avg({&amp;lt;Date= {'&amp;gt;=$(=AddMonths(Max(MonthName),-24)) &amp;lt;=$(=MonthEnd(Max(MonthName),-1))'}&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;,&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;MonthName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;=, Year= &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;gt;} val)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-Analysis-for-Data-Range/m-p/1141825#M373978</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-12T19:47:35Z</dc:date>
    </item>
  </channel>
</rss>

