<?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: AddYears - how to? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191192#M882356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2008&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 17:29:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-28T17:29:45Z</dc:date>
    <item>
      <title>AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191189#M882353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;how do I modify the code below to be able to&lt;SPAN style="color: #575757;"&gt; &lt;SPAN style="color: #3366ff;"&gt;1 year less&lt;/SPAN&gt;&lt;/SPAN&gt; than the SELECTED year?　 I tried adding the ADDYEARS and a -1 to the code, but couldn’t get it to work correctly.　&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-family: Arial;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Arial;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Arial;"&gt;[Account Description]&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt; = {'Total COGS'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Arial;"&gt;MonthYear&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Arial;"&gt;"$(='&amp;gt;' &amp;amp; Date(AddMonths(QuarterStart(AddMonths(Max(MonthYear), 1))-1, -12)) &amp;amp; '&amp;lt;=' &amp;amp; Date(QuarterStart(AddMonths(Max(MonthYear), 1))-1))"&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Arial;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Arial;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Arial;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Arial;"&gt;Actual&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;),'#,##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt; Thank you for any assistance you can offer!!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;Kelly&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌&lt;/SPAN&gt;&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/AddYears-how-to/m-p/1191189#M882353</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191190#M882354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is ur year format ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-nagarjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191190#M882354</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2016-09-28T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191191#M882355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Sum({&amp;lt;[Account Description] = {'Total COGS'}, MonthYear = {"$(='&amp;gt;' &amp;amp; Date(AddMonths(QuarterStart(AddMonths(Max(MonthYear), 1))-1,&lt;SPAN style="color: #ff0000;"&gt; -24&lt;/SPAN&gt;)) &amp;amp; '&amp;lt;=' &amp;amp; Date(&lt;SPAN style="color: #ff0000;"&gt;AddMonths(&lt;/SPAN&gt;QuarterStart(AddMonths(Max(MonthYear), 1))-1&lt;SPAN style="color: #ff0000;"&gt;, -12&lt;/SPAN&gt;))"}, Year, Month, Quarter&amp;gt;} Actual),'#,##0')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191191#M882355</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-28T17:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191192#M882356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2008&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191192#M882356</guid>
      <dc:creator />
      <dc:date>2016-09-28T17:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191193#M882357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;I added an additional&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; ) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;after the last -12 and it worked like a charm!&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you - Sunny T!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kelly&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191193#M882357</guid>
      <dc:creator />
      <dc:date>2016-09-28T17:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191194#M882358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I forgot to add that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191194#M882358</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-28T17:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191195#M882359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, you just pushed my past 100,000 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191195#M882359</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-28T17:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191196#M882360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YAY Sunny T!&amp;nbsp; Congrats!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 18:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191196#M882360</guid>
      <dc:creator />
      <dc:date>2016-09-28T18:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: AddYears - how to?</title>
      <link>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191197#M882361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kelly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 18:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddYears-how-to/m-p/1191197#M882361</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-28T18:19:36Z</dc:date>
    </item>
  </channel>
</rss>

