<?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 Data Manipulation on Import in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409516#M152280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field A with values like this: 00123, 00234, 022, 33, 234M, PSR44&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the zeroes before the fields to go, so i get a set of values that looks like this: 123, 234, 22, 33, 234M, PSR44&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do this in excel by multiplying by 1 and using an iferror statement that shows the original statement in case of an error (for values with letters)... How can i do this in QV? (I kno i can multiply the field by 1 while importing, is there an equivalent of iferror that i can use there?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2013 10:53:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-01T10:53:58Z</dc:date>
    <item>
      <title>Data Manipulation on Import</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409516#M152280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field A with values like this: 00123, 00234, 022, 33, 234M, PSR44&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the zeroes before the fields to go, so i get a set of values that looks like this: 123, 234, 22, 33, 234M, PSR44&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do this in excel by multiplying by 1 and using an iferror statement that shows the original statement in case of an error (for values with letters)... How can i do this in QV? (I kno i can multiply the field by 1 while importing, is there an equivalent of iferror that i can use there?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 10:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409516#M152280</guid>
      <dc:creator />
      <dc:date>2013-04-01T10:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manipulation on Import</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409517#M152281</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;Use as follows in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1364813743679344" jivemacro_uid="_1364813743679344"&gt;&lt;P&gt;Alt(Num(FieldA), FieldA) AS FieldA&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Alt() function will return the first numeric value that returns true. Num(000234) returns 234 removing the leading zeroes, so that should work. If the value is not numeric, the it returns the same value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 10:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409517#M152281</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2013-04-01T10:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manipulation on Import</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409518#M152282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if i ant to rename field A to field X while doing all of the above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 11:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409518#M152282</guid>
      <dc:creator />
      <dc:date>2013-04-01T11:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manipulation on Import</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409519#M152283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write the field as field A as [field x]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 11:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409519#M152283</guid>
      <dc:creator />
      <dc:date>2013-04-01T11:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data Manipulation on Import</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409520#M152284</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;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt; In the statement given by Miguel you will find the Word FieldA, this is nothing but a new name for field A.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt; You rename the field with Keyword "As".&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt; Hope this is clear&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Regards,&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Kaushik Solanki&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 11:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Manipulation-on-Import/m-p/409520#M152284</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-01T11:08:21Z</dc:date>
    </item>
  </channel>
</rss>

