<?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: Join two fields with different data types in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154127#M376853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 07:51:35 GMT</pubDate>
    <dc:creator>master_student</dc:creator>
    <dc:date>2016-07-01T07:51:35Z</dc:date>
    <item>
      <title>Join two fields with different data types</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154123#M376849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;if i have 2 tables linked by a field A but those fields haven't the same data type, field A in table 1 is varchar and the other is a number. it affects the join or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 22:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154123#M376849</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-06-30T22:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Join two fields with different data types</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154124#M376850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They would just be force concatenated.Take a look ate the below example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 6&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c, 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;When we create a table box using Table A and B :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 132px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="40"&gt;A&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="31"&gt;B&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="61"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;a&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;- &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;- &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;c&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;- &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;- &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; -&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; -&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 22:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154124#M376850</guid>
      <dc:creator>vikramv</dc:creator>
      <dc:date>2016-06-30T22:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Join two fields with different data types</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154125#M376851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the kind of data you have?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 22:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154125#M376851</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-30T22:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Join two fields with different data types</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154126#M376852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does affect the join, yes. Just convert one of the fields to match the other when reading them in. If you want them to be text, then do this when loading the table where it's a number:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;text(A) as A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if you want them to be numbers, do this when loading the table where it's text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;num(A) as A&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 22:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154126#M376852</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-06-30T22:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Join two fields with different data types</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154127#M376853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 07:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-fields-with-different-data-types/m-p/1154127#M376853</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-07-01T07:51:35Z</dc:date>
    </item>
  </channel>
</rss>

