<?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: Problems with text/num format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289760#M708458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I just tried to do like that, &lt;/P&gt;&lt;P&gt;'PID' &amp;amp; num(productID,'0000000000000000') as productID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unfortunately, still doesn´t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;//Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 21:18:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-02T21:18:32Z</dc:date>
    <item>
      <title>Problems with text/num format</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289756#M708454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I&amp;nbsp; have a problem with a application, and I don´t understand why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a new table and create a key between the new table and an existing table, using a field productID, a 16 digit number, ex 1002344001022349.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though the exact same productID-numbers exists in both of the tables they don´t seem to connect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that the format of productID is different in the two tables. But even if I try using num(productID) or text(productiD) it still doesn´t work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me figure out why this is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 22:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289756#M708454</guid>
      <dc:creator />
      <dc:date>2011-11-01T22:01:50Z</dc:date>
    </item>
    <item>
      <title>Problems with text/num format</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289757#M708455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I remember some problems with large integer numbers not being recognized as numbers on load, but as strings. Can't find the thread at the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if you try (as an experiment for the moment) to force QV to treat your ID as a string by adding text to the field values, i.e. by using a concatenation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load ...&lt;/P&gt;&lt;P&gt;productID &amp;amp; '-PID' as productID&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you should also check that the strings have the same length, maybe using len() function or trim() to remove spaces in front and at the end of your characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you upload a small sample here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 22:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289757#M708455</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-01T22:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with text/num format</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289758#M708456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried concatenation without success.&lt;/P&gt;&lt;P&gt;As you can see below the format from the two tables looks a bit different.&amp;nbsp; &lt;/P&gt;&lt;P&gt;PID2,4003111018841e+014&lt;/P&gt;&lt;P&gt;PID240031110188413&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried trim without success. When I used len(productID) the lengt is 15 for one table and 20 for the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 23:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289758#M708456</guid>
      <dc:creator />
      <dc:date>2011-11-01T23:28:56Z</dc:date>
    </item>
    <item>
      <title>Problems with text/num format</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289759#M708457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'PID' &amp;amp; num(productID,'0000000000000000') as productID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. force a 16 digit integer formatting (BTW, I noticed that both PID numbers in your above post only show 15 digits?).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 23:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289759#M708457</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-01T23:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with text/num format</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289760#M708458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I just tried to do like that, &lt;/P&gt;&lt;P&gt;'PID' &amp;amp; num(productID,'0000000000000000') as productID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unfortunately, still doesn´t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;//Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 21:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289760#M708458</guid>
      <dc:creator />
      <dc:date>2011-11-02T21:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with text/num format</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289761#M708459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hans: do try putting num(ProductID) as ProductID with the preceding load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I resolved a similar issue this way...hope it works for you too. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 21:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-text-num-format/m-p/289761#M708459</guid>
      <dc:creator />
      <dc:date>2011-11-02T21:24:58Z</dc:date>
    </item>
  </channel>
</rss>

