<?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 MonthName +1 not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180042#M46615</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 am trying to display a monthname in the label.&lt;/P&gt;&lt;P&gt;If i select jan then the label should appear Feb&lt;/P&gt;&lt;P&gt;I have tried MonthName+1 ,but no luck&lt;/P&gt;&lt;P&gt;How to get this done ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srihari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Nov 2010 08:31:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-10T08:31:01Z</dc:date>
    <item>
      <title>MonthName +1 not working</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180042#M46615</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 am trying to display a monthname in the label.&lt;/P&gt;&lt;P&gt;If i select jan then the label should appear Feb&lt;/P&gt;&lt;P&gt;I have tried MonthName+1 ,but no luck&lt;/P&gt;&lt;P&gt;How to get this done ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srihari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 08:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180042#M46615</guid>
      <dc:creator />
      <dc:date>2010-11-10T08:31:01Z</dc:date>
    </item>
    <item>
      <title>MonthName +1 not working</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180043#M46616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First Convert the Month Name data to Yearmonth i.e in Number format (Make it at script level) ..&lt;/P&gt;&lt;P&gt;e.g : 201009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use the below expression&lt;/P&gt;&lt;P&gt;monthname(date#(Yearmonth-1,'YYYYMM'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 08:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180043#M46616</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2010-11-10T08:46:53Z</dc:date>
    </item>
    <item>
      <title>MonthName +1 not working</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180044#M46617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;Hi Deepak,&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;I have changed the format as you suggested.&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;YearMonth on selecting Nov from the MonthName field is 2010-11.&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;=(date#(([Yearmonth]),'YYYYMM')) is giving 2010-11. This looks fine.&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;=MonthName(date#(([Yearmonth]),'YYYYMM')) is not working. I am getting a null value.&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;=(date#(([Yearmonth]+1),'YYYYMM')) is giving 2022&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;=(date#(([Yearmonth]-1),'YYYYMM')) is giving 2020. Don't get this weird behavior.&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;Any suggestions&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;Srihari&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;line-height:normal;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 10:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180044#M46617</guid>
      <dc:creator />
      <dc:date>2010-11-10T10:29:52Z</dc:date>
    </item>
    <item>
      <title>MonthName +1 not working</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180045#M46618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dont put a "-' in between. It should be 201011 for 2010-Nov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 10:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180045#M46618</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2010-11-10T10:53:29Z</dc:date>
    </item>
    <item>
      <title>MonthName +1 not working</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180046#M46619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Even tried that ..The result is same...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 11:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180046#M46619</guid>
      <dc:creator />
      <dc:date>2010-11-10T11:25:49Z</dc:date>
    </item>
    <item>
      <title>MonthName +1 not working</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180047#M46620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you data is this format&lt;/P&gt;&lt;P&gt;20101 ---- 2010-Jan&lt;/P&gt;&lt;P&gt;20102 -- 2010- feb&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;201010 ---2010- Oct&lt;/P&gt;&lt;P&gt;201011 --- 2010 - Nov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is you need convert you month to two digits....&lt;/P&gt;&lt;P&gt;Else send you application we can check it out....&lt;/P&gt;&lt;P&gt;I have implemented this many time. so it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 11:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180047#M46620</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2010-11-10T11:49:10Z</dc:date>
    </item>
    <item>
      <title>MonthName +1 not working</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180048#M46621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srihari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addmonths( MonthName, 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then wrap it in a date function to achieve any formatting, e.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date( addmonths( MonthName, 1), 'YYYY MMM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilyana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 10:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-1-not-working/m-p/180048#M46621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-26T10:29:57Z</dc:date>
    </item>
  </channel>
</rss>

