<?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: Fiscal Period (5 not 005) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fiscal-Period-5-not-005/m-p/487728#M483718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the result to be fixed length (three digits), you can use formating:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;num&lt;/STRONG&gt;(&amp;lt;whatever&amp;gt;&lt;STRONG&gt;, '000')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 14:45:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-19T14:45:06Z</dc:date>
    <item>
      <title>Fiscal Period (5 not 005)</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Period-5-not-005/m-p/487726#M483716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Group need alittle help.&amp;nbsp; Take a look at the statement&amp;nbsp; below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET&lt;SPAN style="font-size: 12pt;"&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vFisPd&lt;/EM&gt;&lt;/STRONG&gt; = &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;len&lt;/SPAN&gt;('$(vFisPd)' - 1) &amp;lt; 2, '00', '0') &amp;amp; '$(vFisPd)' - 1;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;vFisPd is equal to 006, but my final outcome is 5 and should be 005. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 13:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Period-5-not-005/m-p/487726#M483716</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2013-06-19T13:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Period (5 not 005)</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Period-5-not-005/m-p/487727#M483717</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;try with the function Concat()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;LET&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 12pt; color: #737373; font-family: Arial;"&gt; &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;vFisPd&lt;/EM&gt;&lt;/STRONG&gt; = &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;len&lt;/SPAN&gt;('$(vFisPd)' - 1) &amp;lt; 2, Concat('00'&lt;SPAN style="color: #737373; font-family: Arial; font-size: 16px; background-color: #ffffff;"&gt;&amp;amp; '$(vFisPd)' - 1&lt;/SPAN&gt;),Concat('0'&lt;SPAN style="color: #737373; font-family: Arial; font-size: 16px; background-color: #ffffff;"&gt;&amp;amp; '$(vFisPd)' - 1&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 14:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Period-5-not-005/m-p/487727#M483717</guid>
      <dc:creator />
      <dc:date>2013-06-19T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Period (5 not 005)</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Period-5-not-005/m-p/487728#M483718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the result to be fixed length (three digits), you can use formating:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;num&lt;/STRONG&gt;(&amp;lt;whatever&amp;gt;&lt;STRONG&gt;, '000')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 14:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Period-5-not-005/m-p/487728#M483718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T14:45:06Z</dc:date>
    </item>
  </channel>
</rss>

