<?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: Explain the syntax? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719622#M258486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;right(repeat(0,1)&amp;amp;subfield(date(date),'/',1),2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Transform date to a date format -&amp;gt; date(date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Then with subfield take the first part of the date : if 7/06/2014 it takes 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The repeat repeat the char 0 1 time so you have a string 0 concatenated to 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;at the ent it takes only the 2 char to the right&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 09:49:17 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-10-29T09:49:17Z</dc:date>
    <item>
      <title>Explain the syntax?</title>
      <link>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719620#M258484</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;Can you plz explain this below syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if my date is 12/02/2014 then what will happen using this below syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;right(repeat(0,1)&amp;amp;subfield(date(date),'/',1),2)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719620#M258484</guid>
      <dc:creator />
      <dc:date>2014-10-29T09:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Explain the syntax?</title>
      <link>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719621#M258485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;If it is 5/02/2014 it will return 05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719621#M258485</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-29T09:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Explain the syntax?</title>
      <link>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719622#M258486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;right(repeat(0,1)&amp;amp;subfield(date(date),'/',1),2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Transform date to a date format -&amp;gt; date(date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Then with subfield take the first part of the date : if 7/06/2014 it takes 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The repeat repeat the char 0 1 time so you have a string 0 concatenated to 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;at the ent it takes only the 2 char to the right&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719622#M258486</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-29T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Explain the syntax?</title>
      <link>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719623#M258487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the use of repeat(0,1) here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719623#M258487</guid>
      <dc:creator />
      <dc:date>2014-10-29T09:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Explain the syntax?</title>
      <link>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719624#M258488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just explained.&lt;/P&gt;&lt;P&gt;If you date is 5/02/2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will add leading zero. Here o/p will be 05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Explain-the-syntax/m-p/719624#M258488</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-29T09:53:44Z</dc:date>
    </item>
  </channel>
</rss>

