<?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: Substr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Substr/m-p/888138#M1011990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG style="font-size: 13.3333330154419px;"&gt;20 &amp;amp; Left(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Invoice Tax Description], 2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you want it to be actual date year use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date#(20 &amp;amp; Left(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Invoice Tax Description], 2), 'YYYY')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2015 20:23:20 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-04-22T20:23:20Z</dc:date>
    <item>
      <title>Substr</title>
      <link>https://community.qlik.com/t5/QlikView/Substr/m-p/888137#M1011989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;Can someone please help me with this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have column "Invoice Tax Description" which has values like [10PT, 11TR, 12FR, 13YT, 14GH]&lt;/P&gt;&lt;P&gt;I want the values as 2010 or 2011 or 2012 or 2013 or 2014.&lt;/P&gt;&lt;P&gt;Basically I want to concatenate '20' &amp;amp; [first two characters of Invoice Tax Description]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote my expression as ='20'&amp;amp;substr([Invoice Tax Description],1,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 20:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substr/m-p/888137#M1011989</guid>
      <dc:creator />
      <dc:date>2015-04-22T20:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Substr</title>
      <link>https://community.qlik.com/t5/QlikView/Substr/m-p/888138#M1011990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG style="font-size: 13.3333330154419px;"&gt;20 &amp;amp; Left(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Invoice Tax Description], 2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you want it to be actual date year use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date#(20 &amp;amp; Left(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Invoice Tax Description], 2), 'YYYY')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 20:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substr/m-p/888138#M1011990</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-22T20:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Substr</title>
      <link>https://community.qlik.com/t5/QlikView/Substr/m-p/888139#M1011991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny. It worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 20:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substr/m-p/888139#M1011991</guid>
      <dc:creator />
      <dc:date>2015-04-22T20:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Substr</title>
      <link>https://community.qlik.com/t5/QlikView/Substr/m-p/888140#M1011992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! &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, 22 Apr 2015 20:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substr/m-p/888140#M1011992</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-22T20:30:00Z</dc:date>
    </item>
  </channel>
</rss>

