<?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: Link fields based on first 6 digits in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-fields-based-on-first-6-digits/m-p/502796#M1137218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load Field1&lt;/P&gt;&lt;P&gt;from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;load Field2 as field3, left(Field2, 6) as Field2&lt;/P&gt;&lt;P&gt;from table2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will only get the first 6 digit of field2, as a new field Field2,&lt;/P&gt;&lt;P&gt;then it will automatically link the two table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 09:07:00 GMT</pubDate>
    <dc:creator>israrkhan</dc:creator>
    <dc:date>2013-10-22T09:07:00Z</dc:date>
    <item>
      <title>Link fields based on first 6 digits</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-based-on-first-6-digits/m-p/502795#M1137217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am new to QlikView so please bear with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of SQL tables with totally different field names, the data in the two fields kind of links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first field contains a 16 digit number, the second field contains only the first 6 digits of that same number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Field 1&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12345678910112&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;56521245556232&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;44444554112255&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;7885533256+6+3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Field 2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;565212&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;444445&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;788553&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I go about linking these 2 fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 08:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-based-on-first-6-digits/m-p/502795#M1137217</guid>
      <dc:creator />
      <dc:date>2013-10-22T08:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Link fields based on first 6 digits</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-based-on-first-6-digits/m-p/502796#M1137218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load Field1&lt;/P&gt;&lt;P&gt;from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;load Field2 as field3, left(Field2, 6) as Field2&lt;/P&gt;&lt;P&gt;from table2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will only get the first 6 digit of field2, as a new field Field2,&lt;/P&gt;&lt;P&gt;then it will automatically link the two table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 09:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-based-on-first-6-digits/m-p/502796#M1137218</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-10-22T09:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Link fields based on first 6 digits</title>
      <link>https://community.qlik.com/t5/QlikView/Link-fields-based-on-first-6-digits/m-p/502797#M1137219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great, works a treat. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks your your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 09:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-fields-based-on-first-6-digits/m-p/502797#M1137219</guid>
      <dc:creator />
      <dc:date>2013-10-22T09:46:29Z</dc:date>
    </item>
  </channel>
</rss>

