<?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: Some characters magically appear in my data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408848#M152034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reynold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV tries to format the data according to the values in the first few records it reads. In your case, you want to keep the values as text - use the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD Text(INVNO) As INVNO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the values will be the same as in the source database (0016 and 1004244)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2012 09:59:43 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-12-05T09:59:43Z</dc:date>
    <item>
      <title>Some characters magically appear in my data</title>
      <link>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408847#M152033</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 have a problem with my qlikview. Some characters are added to the data when loading data using OLEDB. (Connect to sql server 2008)&lt;/P&gt;&lt;P&gt;For example I have a field called INVNO in TableA and it has value like '0016' and '1004244'. (They have data type of char(50).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i Load them into qlikview, &lt;/P&gt;&lt;P&gt;'0016' become '000016' (2 zeros were added) &lt;/P&gt;&lt;P&gt;and '1004244' become '1004244.' (there's a dot at the end)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i put 'where condition' in my sql select statement in qlikview :&lt;/P&gt;&lt;P&gt;WHERE INVNO = '0016' OR INVO = '1004244';&lt;/P&gt;&lt;P&gt;the data appeared as is without additional character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have that field in another table (Table B) as foreign key and it loads perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else ever faced the same problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 09:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408847#M152033</guid>
      <dc:creator />
      <dc:date>2012-12-05T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Some characters magically appear in my data</title>
      <link>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408848#M152034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reynold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV tries to format the data according to the values in the first few records it reads. In your case, you want to keep the values as text - use the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD Text(INVNO) As INVNO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the values will be the same as in the source database (0016 and 1004244)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 09:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408848#M152034</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-12-05T09:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Some characters magically appear in my data</title>
      <link>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408849#M152035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reynald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what is happening.&lt;/P&gt;&lt;P&gt;When QlikView loads data values that is has already loaded before, it merely creates a reference to this value, so each unique value is stored once.&lt;/P&gt;&lt;P&gt;In the case of 0016 and 000016, QlikView will interpret them as the same value (16), and it will use the 1st encountered version to represent all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you load the following field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;000016&lt;/P&gt;&lt;P&gt;0016&lt;/P&gt;&lt;P&gt;16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have three values (16) that are represented as 000016, since it's the first instance of 16. If you want to break this auto-association for your field you can use Text() around the fieldname and QlikView will respect the characters in the field instead of applying a numerical interpretation on the field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 10:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408849#M152035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-05T10:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some characters magically appear in my data</title>
      <link>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408850#M152036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I get for typing a long answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 10:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Some-characters-magically-appear-in-my-data/m-p/408850#M152036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-05T10:02:27Z</dc:date>
    </item>
  </channel>
</rss>

