<?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: Text appending 0 while coercing to string in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558124#M40639</link>
    <description>&lt;P&gt;&lt;BR /&gt;but you have related the 2 tables in the model?&lt;/P&gt;&lt;P&gt;you should have them relaconadas and add the text () in both key fields (field by which the tables are related) and there you will have everything related, remember that if text '20' and 20 are not equal. so I recommend using text in cambas, not number because it breaks the '020' that is not equal to '20'.&lt;BR /&gt;regards!!!&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 20:31:51 GMT</pubDate>
    <dc:creator>Marcos_rv</dc:creator>
    <dc:date>2019-03-18T20:31:51Z</dc:date>
    <item>
      <title>Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558119#M40638</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have to join two tables based on string field. '&lt;EM&gt;referral&lt;/EM&gt;' and &lt;EM&gt;'refprov'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The &lt;EM&gt;referral&lt;/EM&gt; has column '&lt;EM&gt;refer_from&lt;/EM&gt;' and &lt;EM&gt;refprov&lt;/EM&gt; has '&lt;EM&gt;rfocode&lt;/EM&gt;'. When I use text(), the string '20' and '020' both turns to '020'.&lt;/P&gt;&lt;P&gt;But in reality they are separate physician code.&lt;/P&gt;&lt;P&gt;Data of refprov:&lt;/P&gt;&lt;P&gt;rfocode&amp;nbsp; &amp;nbsp;rfoname&lt;/P&gt;&lt;P&gt;20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Robert W&lt;/P&gt;&lt;P&gt;020&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sultan A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data for referral:&lt;/P&gt;&lt;P&gt;refer_from&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;referralnum&lt;/P&gt;&lt;P&gt;20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2842&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;result expected:&lt;/P&gt;&lt;P&gt;Table 1&amp;nbsp; View&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Table 2 view&lt;/P&gt;&lt;P&gt;referring Phy.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Code&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ref.no.&lt;/P&gt;&lt;P&gt;Robert W&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2842&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This must be displayed in QlikSense sheet on table.&lt;/P&gt;&lt;P&gt;Can someone please guide me on what might be causing this? Is there any work around or am I missing anything?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558119#M40638</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-03-18T20:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558124#M40639</link>
      <description>&lt;P&gt;&lt;BR /&gt;but you have related the 2 tables in the model?&lt;/P&gt;&lt;P&gt;you should have them relaconadas and add the text () in both key fields (field by which the tables are related) and there you will have everything related, remember that if text '20' and 20 are not equal. so I recommend using text in cambas, not number because it breaks the '020' that is not equal to '20'.&lt;BR /&gt;regards!!!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558124#M40639</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-03-18T20:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558126#M40640</link>
      <description>&lt;P&gt;Yes I have them related. I have used text() on both sides. But no success.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558126#M40640</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-03-18T20:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558128#M40641</link>
      <description>&lt;P&gt;&lt;SPAN&gt;you have to call the field the same on both sides, for example &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table 1: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;load ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;text (rfocode) as key &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from.... ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;table2: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;load ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;text (refer_from) as key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from .... ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There should relate without any problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558128#M40641</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-03-18T20:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558129#M40642</link>
      <description>&lt;P&gt;This is what exactly I have written. But when the script encounters '020' or '018' and '20' and '18' then it treats both as '020' and '018' which is where the script fails. I am struggling with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558129#M40642</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-03-18T20:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558133#M40643</link>
      <description>&lt;P&gt;well you should check in the extraction part, there you should use the sentence text, this is because when qv sees a value '002' it will take it as a number, and when a record falls with the value '02' or ' 2 ', it will leave it as' 002', this is because '002' was the first to be loaded in the table.&lt;/P&gt;&lt;P&gt;what you have to do is move to text after extracting from the database.&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;table1:&lt;BR /&gt;load&lt;BR /&gt;id,&lt;BR /&gt;text (key_number) as key_number;&lt;BR /&gt;sql select id, key_number&lt;BR /&gt;from something.table1;&lt;/P&gt;&lt;P&gt;there you would have the values ​​like '002', '02', '2' all as text.&lt;/P&gt;&lt;P&gt;for me there you could work.&lt;/P&gt;&lt;P&gt;if I'm not clear you could pass me the script with some data.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!!!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558133#M40643</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-03-18T20:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558140#M40645</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Subfield-Issue/m-p/1380597/highlight/true#M342770" target="_self"&gt;https://community.qlik.com/t5/New-to-QlikView/Subfield-Issue/m-p/1380597/highlight/true#M342770&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 22:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558140#M40645</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2019-03-18T22:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558142#M40646</link>
      <description>&lt;P&gt;I added text in extraction layer as well but to no avail.&amp;nbsp; it still treats 20 and 020 as either both '020' or 20 rather than separate.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 22:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558142#M40646</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-03-18T22:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558144#M40647</link>
      <description>&lt;P&gt;Dear Marco,&lt;/P&gt;&lt;P&gt;I went through the link but I was unable to relate how that would solve my problem. My very problem is text appending 0 to 20 making it 020.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 22:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558144#M40647</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-03-18T22:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558147#M40648</link>
      <description>can you post a small sample application that demonstrates the issue?</description>
      <pubDate>Mon, 18 Mar 2019 22:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558147#M40648</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2019-03-18T22:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Text appending 0 while coercing to string</title>
      <link>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558483#M40675</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I went through few articles and tried using Text function as per one of the suggestions here during QVD creation. I recreated everything from scratch and now it is working. Thank you here to everyone for your help. It was frustrating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take Care.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 13:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-appending-0-while-coercing-to-string/m-p/1558483#M40675</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-03-19T13:54:43Z</dc:date>
    </item>
  </channel>
</rss>

