<?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: Addmonths in Set Analysis ( next 3 months) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870595#M304314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month_name field was created in the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2015 08:15:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-11T08:15:11Z</dc:date>
    <item>
      <title>Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870591#M304310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys need your help! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create an expression with average of next three months. I tried to use this one with addmonths function, but it's not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;Month_name={"&amp;gt;=$(=Date(addmonths(Month_name,1),'MMM'))&amp;lt;=$(=Date(addmonths(Month_name,3),'MMM'))"}&amp;gt;} Values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 07:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870591#M304310</guid>
      <dc:creator />
      <dc:date>2015-06-11T07:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870592#M304311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're applying a numeric search in your element list. Does field Month_name have a numeric representation (is it a dual value with a text and a numeric value, the numeric value showing monthstart date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is of some help:&lt;/P&gt;&lt;P&gt;&lt;A href="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting" title="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting"&gt;The Magic of Set Analysis - Point In Time Reporting • Blog • AfterSync&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 07:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870592#M304311</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-11T07:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870593#M304312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you create Month_name field or it is already availble in script???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are creating Month_name using Month(datefield)&lt;/P&gt;&lt;P&gt;then try&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;datefield={"&amp;gt;=$(=Date(addmonths(datefield,1)))&amp;lt;=$(=Date(addmonths(datefield,3)))"},Month_name=&amp;gt;} Values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 07:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870593#M304312</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-11T07:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870594#M304313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried this one Avg({$&amp;lt;Month_Date={"&amp;gt;=$(=addmonths(Month_Date,1))&amp;lt;=$(=addmonths(Month_Date,3))"},Month_Date=&amp;gt;}Bench_Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it worked but incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is the user picks several months in the filter like : from Jan till Jun, from Jan till July etc. And I want the table to show the average of next 3 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if the user selects the months from January till June, I want it to show the average of values starting from July till September.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 08:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870594#M304313</guid>
      <dc:creator />
      <dc:date>2015-06-11T08:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870595#M304314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month_name field was created in the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 08:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870595#M304314</guid>
      <dc:creator />
      <dc:date>2015-06-11T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870596#M304315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;add Max() in AddMonths&lt;/P&gt;&lt;P&gt;AddMonths(Max(Month_Date),1)&amp;nbsp; and ,3 (maybe 4)&lt;/P&gt;&lt;P&gt;and remove Month_Date= from set analysis&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 08:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870596#M304315</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-06-11T08:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870597#M304316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use max() to get max of selected months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({$&amp;lt;Month_Date={"&amp;gt;=$(=addmonths(max(Month_Date),1))&amp;lt;=$(=addmonths(max(Month_Date),3))"},Month_Date=&amp;gt;}Bench_Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 09:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870597#M304316</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-11T09:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870598#M304317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesnt seem to work correctly, I checked again, and it gives me the wrong result. It seems to get the average of the max month. Like if you choose June for example, it gives you the average of previous months, from January till June... This is odd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870598#M304317</guid>
      <dc:creator />
      <dc:date>2015-06-11T10:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870599#M304318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to share app???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debug your code by remove label name of expression then on front end put pointer on that expression,&lt;/P&gt;&lt;P&gt;You will get value in set expression.&lt;/P&gt;&lt;P&gt;Just check it ,what it is showing???&lt;/P&gt;&lt;P&gt;And possible post screen shot of it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870599#M304318</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-11T10:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870600#M304319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;Sorry, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I dont understand how to make all these corrections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my sample app, would be greateful for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You! ! !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 06:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870600#M304319</guid>
      <dc:creator />
      <dc:date>2015-06-15T06:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870601#M304320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below expression&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;Month_Date={"&amp;gt;=$(=Date(addmonths(Month_Date,1),'MMM-YY'))&amp;lt;=$(=Date(addmonths(Month_Date,3),'MMM-YY'))"},Month_name=&amp;gt;} Bench_Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870601#M304320</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-15T07:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870602#M304321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression isn't working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870602#M304321</guid>
      <dc:creator />
      <dc:date>2015-06-15T07:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870603#M304322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested data let me know what was your expecting output.&lt;/P&gt;&lt;P&gt;It is working at my end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;testCase:&lt;/P&gt;&lt;P&gt;Selected Month : Mar&lt;/P&gt;&lt;P&gt;Employee Name : Itojqj Tygnss&lt;/P&gt;&lt;P&gt;Expected Avg for next 3 month is sum(Apr,May,Jun)/3&lt;/P&gt;&lt;P&gt;Result :&lt;/P&gt;&lt;P&gt;Then Bench_data for Apr,May jun is 1.94&lt;/P&gt;&lt;P&gt;and Avg is 0.64666&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached apps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870603#M304322</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-15T07:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths in Set Analysis ( next 3 months)</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870604#M304323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, it works now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your hep!!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 08:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-in-Set-Analysis-next-3-months/m-p/870604#M304323</guid>
      <dc:creator />
      <dc:date>2015-06-15T08:20:07Z</dc:date>
    </item>
  </channel>
</rss>

