<?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 How to repeat charcaters while loading as Excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932814#M322298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;I am having Emp_Id field (Apply logic to repeat characters)&lt;/P&gt;&lt;P&gt;Logic is applied in qlikview , If i am storing as an Excel file it is not applying logic on Excel (I don't want any changes in excel)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Made changes on Qlikview Script&amp;nbsp;&amp;nbsp; (Not in Excel )......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;How we can achieve this&amp;nbsp; one ?&lt;/P&gt;&lt;P&gt;Here i am attaching sample Excel file and Application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 07:20:21 GMT</pubDate>
    <dc:creator>madhubabum</dc:creator>
    <dc:date>2015-10-08T07:20:21Z</dc:date>
    <item>
      <title>How to repeat charcaters while loading as Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932814#M322298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;I am having Emp_Id field (Apply logic to repeat characters)&lt;/P&gt;&lt;P&gt;Logic is applied in qlikview , If i am storing as an Excel file it is not applying logic on Excel (I don't want any changes in excel)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Made changes on Qlikview Script&amp;nbsp;&amp;nbsp; (Not in Excel )......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;How we can achieve this&amp;nbsp; one ?&lt;/P&gt;&lt;P&gt;Here i am attaching sample Excel file and Application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 07:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932814#M322298</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-10-08T07:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to repeat charcaters while loading as Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932815#M322299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can prepend a space character to the Emp_Id in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can't use the regular SPACE character with ASCII code 32 since Excel will just ignore that and treat the rest as a number anyway. But there are other SPACE characters in the ASCII, ANSI and UNICODE character set that both QlikView and Excel do handle but does not make assumptions about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you could use either:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chr(160) which is so called &lt;STRONG&gt;no-break space&lt;/STRONG&gt; in ANSI / ISO character sets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;Chr(8203) which is &lt;STRONG&gt;zero-width space&lt;/STRONG&gt; in Unicode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both breaks Excel's habit of trying to interpret them as numbers and will leave a space in front of them and essentially keeping them as text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the front-padding to be zero you obviously use the Unicode 8203 character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14442913563388711 jive_text_macro" jivemacro_uid="_14442913563388711"&gt;
&lt;P&gt;Emp:&lt;/P&gt;
&lt;P&gt;LOAD &lt;/P&gt;
&lt;P&gt;&amp;nbsp; // Leaves an "invisible" space (zero-width) in front of the text string Emp_Id...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chr(8203) &amp;amp; Text((repeat('0',9-len(Emp_Id)))&amp;amp;Emp_Id)&amp;nbsp; as Emp_Id&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // This can be used if it is no big deal if the font-padding is one space character... &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Chr(160) &amp;amp; Text((repeat('0',9-len(Emp_Id)))&amp;amp;Emp_Id)&amp;nbsp; as Emp_Id&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[Book1.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;STORE Emp into Emp.csv (txt);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 08:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932815#M322299</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-08T08:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to repeat charcaters while loading as Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932816#M322300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2015-10-08 #2.PNG" class="jive-image image-1" src="/legacyfs/online/101399_2015-10-08 #2.PNG" style="height: 557px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 08:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932816#M322300</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-08T08:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to repeat charcaters while loading as Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932817#M322301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petter Skjolden&lt;/P&gt;&lt;P&gt;It's working fine&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 08:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-repeat-charcaters-while-loading-as-Excel-file/m-p/932817#M322301</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-10-08T08:17:51Z</dc:date>
    </item>
  </channel>
</rss>

