<?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 Reduced Document Name (Loop and reduce) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reduced-Document-Name-Loop-and-reduce/m-p/997314#M339226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a reduce and loop task on publisher where I create a qvw for each store that we have.&amp;nbsp; The task itself works fine but the formatting of the document is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Reduced Document Name I have entered the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%SourceDocumentName%%DocumentField,Store No%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the qvw's are created successfully naming is incorrrect e.g. 'ENDVtest14' instead of 'ENDVtest00014'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how do I format the Store No so that it pads out with preceding zeroes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2015 09:10:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-30T09:10:09Z</dc:date>
    <item>
      <title>Reduced Document Name (Loop and reduce)</title>
      <link>https://community.qlik.com/t5/QlikView/Reduced-Document-Name-Loop-and-reduce/m-p/997314#M339226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a reduce and loop task on publisher where I create a qvw for each store that we have.&amp;nbsp; The task itself works fine but the formatting of the document is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Reduced Document Name I have entered the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%SourceDocumentName%%DocumentField,Store No%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the qvw's are created successfully naming is incorrrect e.g. 'ENDVtest14' instead of 'ENDVtest00014'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how do I format the Store No so that it pads out with preceding zeroes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 09:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduced-Document-Name-Loop-and-reduce/m-p/997314#M339226</guid>
      <dc:creator />
      <dc:date>2015-10-30T09:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced Document Name (Loop and reduce)</title>
      <link>https://community.qlik.com/t5/QlikView/Reduced-Document-Name-Loop-and-reduce/m-p/997315#M339227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to create a new field in the script of the qlikview document for that purpose: Text(Repeat('0',5-len([Store No]))&amp;amp;[Store No]) as PaddedStoreNo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 13:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduced-Document-Name-Loop-and-reduce/m-p/997315#M339227</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-11-02T13:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reduced Document Name (Loop and reduce)</title>
      <link>https://community.qlik.com/t5/QlikView/Reduced-Document-Name-Loop-and-reduce/m-p/997316#M339228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ worked a treat!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 10:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduced-Document-Name-Loop-and-reduce/m-p/997316#M339228</guid>
      <dc:creator />
      <dc:date>2015-11-04T10:11:27Z</dc:date>
    </item>
  </channel>
</rss>

