<?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: Year Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019103#M942795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny agreed with you. He asked for function &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;what function should i use.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I told him same with some examples&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, 18 Jan 2016 13:42:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-18T13:42:56Z</dc:date>
    <item>
      <title>Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019098#M942788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ALL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field &lt;SPAN style="text-decoration: underline;"&gt; Year_Month &lt;/SPAN&gt; looks like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year_Month &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201311&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201312&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201401&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201402&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201403&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201404&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201405&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201406&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201407&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201408&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201409&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201410&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201411&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201412&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201501&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201502&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201503&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201504&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201505&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201506&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201507&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201508&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201509&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201510&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201511&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;201512&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if i want to to calculate one year back ei. if i have 201512 i need to see the value ok 201412 what function should i use.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 13:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019098#M942788</guid>
      <dc:creator>mario-sarkis</dc:creator>
      <dc:date>2016-01-18T13:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019099#M942789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate of where exactly are you trying to do it? In script? straight table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 13:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019099#M942789</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-18T13:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019100#M942790</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;You could try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT(GetFieldSelections(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year_Month),4&lt;/STRONG&gt;) -1 &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;Right(GetFieldSelections(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year_Month),2&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 13:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019100#M942790</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2016-01-18T13:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019101#M942791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Addmonths() &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/84560"&gt;Chart on the last 12 months&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/57420" title="https://community.qlikview.com/thread/57420"&gt;how to show latest 24 months of data in chart? | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/103553"&gt;Display 12 Months (Straight Table)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 13:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019101#M942791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-18T13:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019102#M942793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that AddMonths or AddYears is the way to go. But where are we doing this? How can we recommend anything before knowing 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>Mon, 18 Jan 2016 13:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019102#M942793</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-18T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019103#M942795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny agreed with you. He asked for function &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;what function should i use.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I told him same with some examples&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, 18 Jan 2016 13:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019103#M942795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-18T13:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019104#M942797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey sunny&amp;nbsp;&amp;nbsp; i need to use this in the Set analysis part :&lt;/P&gt;&lt;P&gt;Year_Month={"&amp;gt;=one year back &amp;lt;=max Year_Month"}&amp;gt;}&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, 18 Jan 2016 14:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019104#M942797</guid>
      <dc:creator>mario-sarkis</dc:creator>
      <dc:date>2016-01-18T14:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019105#M942799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming Year_Month is a date field, may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;Year_Month = {"$(='&amp;gt;='&amp;amp; Date(AddYears(Max(Year_Month), -1), 'YYYYMM') &amp;amp; '&amp;lt;=' &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;Date(Max(Year_Month), 'YYYYMM')&lt;/SPAN&gt;)"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 14:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019105#M942799</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-18T14:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019106#M942801</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;Check this ,&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14531277430991527 jive_text_macro" jivemacro_uid="_14531277430991527"&gt;
&lt;P&gt;Temp:&lt;/P&gt;
&lt;P&gt;LOAD * ,&lt;/P&gt;
&lt;P&gt;If(Mid(Year_Month,1,4),'2014',2015) as Year,&lt;/P&gt;
&lt;P&gt;Mid(Year_Month,5,6) as Month&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;Year_Month&lt;/P&gt;
&lt;P&gt;201311&lt;/P&gt;
&lt;P&gt;201312&lt;/P&gt;
&lt;P&gt;201401&lt;/P&gt;
&lt;P&gt;201402&lt;/P&gt;
&lt;P&gt;201403&lt;/P&gt;
&lt;P&gt;201404&lt;/P&gt;
&lt;P&gt;201405&lt;/P&gt;
&lt;P&gt;201406&lt;/P&gt;
&lt;P&gt;201407&lt;/P&gt;
&lt;P&gt;201408&lt;/P&gt;
&lt;P&gt;201409&lt;/P&gt;
&lt;P&gt;201410&lt;/P&gt;
&lt;P&gt;201411&lt;/P&gt;
&lt;P&gt;201412&lt;/P&gt;
&lt;P&gt;201501&lt;/P&gt;
&lt;P&gt;201502&lt;/P&gt;
&lt;P&gt;201503&lt;/P&gt;
&lt;P&gt;201504&lt;/P&gt;
&lt;P&gt;201505&lt;/P&gt;
&lt;P&gt;201506&lt;/P&gt;
&lt;P&gt;201507&lt;/P&gt;
&lt;P&gt;201508&lt;/P&gt;
&lt;P&gt;201509&lt;/P&gt;
&lt;P&gt;201510&lt;/P&gt;
&lt;P&gt;201511&lt;/P&gt;
&lt;P&gt;201512&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;Load Year&amp;amp;Month as [Year-Month]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Resident Temp;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;output&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="yearmonth.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111889_yearmonth.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 14:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month/m-p/1019106#M942801</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-01-18T14:37:06Z</dc:date>
    </item>
  </channel>
</rss>

