<?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: Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem/m-p/677487#M245786</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;Qlikview uses the first record read to determine the format for the field. This field is being read as numeric, and because the first record has a leading 0, QV assumes format 0000 for the field. So the second record is read as 0701 (which is the number 701, displayed as 0701. So the numeric values are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To prevent this, you can force the reading as text by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text(B) As B,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text values '0701' and '701' are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2014 06:42:19 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-06-30T06:42:19Z</dc:date>
    <item>
      <title>Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Problem/m-p/677485#M245784</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;I have problem table&amp;nbsp; extacting from DB to Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB : table look like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;3,0701&lt;/P&gt;&lt;P&gt;65,701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview : table look like below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;3,0701&lt;/P&gt;&lt;P&gt;65,0701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when&amp;nbsp; where A=65&amp;nbsp; included this time geting correct output,: table look like below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;65,701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plase advice me ,how can i solve this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Perumal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem/m-p/677485#M245784</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2014-06-30T06:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Problem/m-p/677486#M245785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Num() funtion .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(B)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem/m-p/677486#M245785</guid>
      <dc:creator>muniyandi</dc:creator>
      <dc:date>2014-06-30T06:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Problem/m-p/677487#M245786</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;Qlikview uses the first record read to determine the format for the field. This field is being read as numeric, and because the first record has a leading 0, QV assumes format 0000 for the field. So the second record is read as 0701 (which is the number 701, displayed as 0701. So the numeric values are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To prevent this, you can force the reading as text by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text(B) As B,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text values '0701' and '701' are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem/m-p/677487#M245786</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-06-30T06:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Problem/m-p/677488#M245787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perumal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want initial 0s to be removed before the number then use Num() in script like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load A,&lt;/P&gt;&lt;P&gt;Num(B) AS B Inline [&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;3,0701&lt;/P&gt;&lt;P&gt;65,701&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want initial 0s&amp;nbsp; to be retained to all the records then use Text() in script like below&lt;/P&gt;&lt;P&gt;Load A,&lt;/P&gt;&lt;P&gt;Text(B) AS B Inline [&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;3,0701&lt;/P&gt;&lt;P&gt;65,701&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem/m-p/677488#M245787</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-06-30T06:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Problem/m-p/677489#M245788</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;Thank for quick response to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I given sample as inline table .but real scenario i extract from DB2.&lt;/P&gt;&lt;P&gt;layer 1; i am using select * table.&lt;/P&gt;&lt;P&gt;so data store into QVD look like below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;3,0701&lt;/P&gt;&lt;P&gt;65,0701.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if use text function&amp;nbsp; in&amp;nbsp; layer 2 or &lt;SPAN class="j-search-result-title"&gt;&lt;EM class="jive-hilite"&gt;Preceding&lt;/EM&gt; Load ,same output only coming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title"&gt;in database field type is varchar.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title"&gt;B colum contains text and numeric value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title"&gt;please advice me.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem/m-p/677489#M245788</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2014-06-30T06:55:53Z</dc:date>
    </item>
  </channel>
</rss>

