<?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 AddMonths in set analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210973#M65379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to use Addmonths in set analysis?&lt;/P&gt;&lt;P&gt;I want to rewrite this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$ &amp;lt;BETBOKFD_IN = {"&amp;gt;2008-06-30"}&amp;gt; }_ForsCounter)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;With something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$ &amp;lt;BETBOKFD_IN = {"&amp;gt;=$(AddMonths(AVSERPERIOD,-15)"}&amp;gt; }_ForsCounter)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is it possible and how do I write it (as the above code dosen't work)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 14:34:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-08T14:34:17Z</dc:date>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210973#M65379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to use Addmonths in set analysis?&lt;/P&gt;&lt;P&gt;I want to rewrite this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$ &amp;lt;BETBOKFD_IN = {"&amp;gt;2008-06-30"}&amp;gt; }_ForsCounter)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;With something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$ &amp;lt;BETBOKFD_IN = {"&amp;gt;=$(AddMonths(AVSERPERIOD,-15)"}&amp;gt; }_ForsCounter)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is it possible and how do I write it (as the above code dosen't work)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 14:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210973#M65379</guid>
      <dc:creator />
      <dc:date>2009-10-08T14:34:17Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210974#M65380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see the attached example.&lt;/P&gt;&lt;P&gt;God luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 14:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210974#M65380</guid>
      <dc:creator />
      <dc:date>2009-10-08T14:37:46Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210975#M65381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Now I can copy your syntax, I still doesn't work for me though. I'll have another try at it later.&lt;BR /&gt;I'll let you know.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Christina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 15:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210975#M65381</guid>
      <dc:creator />
      <dc:date>2009-10-08T15:57:12Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210976#M65382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christina,&lt;/P&gt;&lt;P&gt;be aware of the date format. That´s number one of most of the problems by using "Set Analysis".&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 16:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210976#M65382</guid>
      <dc:creator />
      <dc:date>2009-10-08T16:01:42Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210977#M65383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;I've tried Rainer's soloution, but apparently I'm doing something wrong as his set analysis is working.&lt;BR /&gt;Therefore I attached my example.&lt;/P&gt;&lt;P&gt;All suggestions are welcome.&lt;/P&gt;&lt;P&gt;By the way my version is 8.5&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 17:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210977#M65383</guid>
      <dc:creator />
      <dc:date>2009-10-08T17:43:16Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210978#M65384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this.....&lt;BR /&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;sum&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;({&amp;lt;&lt;B&gt;BETBOKF_IN&lt;/B&gt; = {&lt;B&gt;"&amp;lt;=$(=date(max(addmonths(AVSERPERIOD,-15))))&amp;gt;=$(=date(max(addmonths(AVSERPERIOD,0)))))"&lt;/B&gt;}&amp;gt;} &lt;B&gt;_ForsCounter&lt;/B&gt;) &lt;BR /&gt;&lt;BR /&gt;Cheers. &lt;BR /&gt;&lt;BR /&gt;Ad. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 21:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210978#M65384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-08T21:12:15Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210979#M65385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Tnks Abu, but it still doesn't work, pls se the attached file with the code. It's a very stripped bit of code just to show the problem.&lt;BR /&gt;To add the date is always a good idea though.&lt;/P&gt;&lt;P&gt;Christina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 13:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210979#M65385</guid>
      <dc:creator />
      <dc:date>2009-10-09T13:16:24Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210980#M65386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christina,&lt;/P&gt;&lt;P&gt;it´s working now. You missed brackets in your expression and please avoid spaces.&lt;/P&gt;&lt;P&gt;Have a nice weekend!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 13:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210980#M65386</guid>
      <dc:creator />
      <dc:date>2009-10-09T13:50:04Z</dc:date>
    </item>
    <item>
      <title>AddMonths in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210981#M65387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much Rainer,&lt;/P&gt;&lt;P&gt;I really appreciate you taking the time to correct my misstakes.&lt;BR /&gt;I found set analysis very useful, but a bit hard to get right.&lt;/P&gt;&lt;P&gt;I also wish you a nice weekend.&lt;/P&gt;&lt;P&gt;Christina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 14:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-in-set-analysis/m-p/210981#M65387</guid>
      <dc:creator />
      <dc:date>2009-10-09T14:34:30Z</dc:date>
    </item>
  </channel>
</rss>

