<?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: &amp;quot;Left outer join&amp;quot; for two text files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969944#M647337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First - avoid the join. It is in most cases unnecessary and can cause both excessive memory usage and record duplication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, if the two tables have different fields, they will not be concatenated. They will be associated through the keys (as in your data model viewer). Like a "pending" join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you click a "location" and no associated stats are displayed, it just means that you have no stats for this specific location. However, you may have complete disjunct data sets in the key field. If you right-click "location" and "Select All", are then all stats excluded? Or are there stats for some of the mac addresses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 14:10:46 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-10-13T14:10:46Z</dc:date>
    <item>
      <title>"Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969936#M647329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to join two statistical data sources from text files.&amp;nbsp; I'm having an issue where all I can seem to make happen is a pure concatenation of the data.&amp;nbsp; Key fields are an autocreated index in each table, and a "mac" address.&amp;nbsp; Each line of data in my stats table has a mac address.&amp;nbsp; I need to create a one to many relationship between this mac address, location, and each stats line in my base stats file so I can quickly see stats data from internal or external sources (my two locations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BaseStats:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD RecNo() AS Index,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mac, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;other stats&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, no eof);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Join(BaseStats) (I have tried with and without this statement, results appear to be the same)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD RecNo() AS MacIndex,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mac, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, no eof);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Qlik ultimately concat's the data and links the tables, so if I click a "location" it shows the list of mac address, but no associated stats data from the first file.&amp;nbsp; The list of mac addresses grows as a pure addition of DISTINCT count(mac) in the first table, plus the mac's in the second table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101886_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I've done this with SQL using WHERE clauses as part of the loads (where x = y), but I've yet to figure out how to use that for two text files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969936#M647329</guid>
      <dc:creator />
      <dc:date>2015-10-13T13:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969937#M647330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post a demo document or sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969937#M647330</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-13T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969938#M647331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try concatenating both the tables using &lt;STRONG&gt;Concatenate keyword&lt;/STRONG&gt; and then see the results in front end. I think you should see for a same Mac address, associated other stats, as well as the locations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969938#M647331</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-10-13T13:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969939#M647332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have posted two snippets of data.&amp;nbsp; Not all fields are present in the case of stats, but a few key ones are in each record (mac, ts).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;mac,location&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FC31A6,external&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FC31A2,external&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FC30CC,external&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FC30E6,external&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FC30F0,internal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FC319E,internal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FC305C,internal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stats list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;rxCodec,jitter,tx,val,txLost,hwreg,drop,rx,txCodec,ts,hwpn,mac,avgJitter,key,bld,dts,ver,hwrev,hwname,id,vdt,rxFastUpdateCnt,rxWidth,rxHeight,rxFrameRate,rxActRateKbps,txFastUpdateCnt,txActRateKbps,txWidth,txFrameRate,txHeight&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;G.722.1C,12,88980,dummy,11,0,2,88965,G.722.1C,2015-10-06T00:00:00.446Z,3111-65290-001,fc31a6,0,callinfo-audio,10681,2015-10-05T23:59:55.000Z,XXX,5,XXX,56130807_27437b0,29-Sep-15 00:32,,,,,,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;H.264-HP,0,,dummy,,0,0,0,,2015-10-06T00:00:00.446Z,3111-65290-001,fc305c,0,callinfo-far-content,10681,2015-10-05T23:59:55.000Z,XXX,5,XXX,56130807_27437b0,29-Sep-15 00:32,0,0,0,0,0,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;H.264-HP,12,580148,dummy,136,0,0,449126,H.264-HP,2015-10-06T00:00:00.446Z,3111-65290-001,fc319e,1,callinfo-video,10681,2015-10-05T23:59:55.000Z,XXX,5,XXX,56130807_27437b0,29-Sep-15 00:32,0,1920,1080,30,2035,782,2993,1920,30,1080&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,,127669,dummy,13,0,,,G.722.1C,2015-10-06T00:00:00.478Z,3111-65290-001,fc32a8,,callinfo-audio,10839,1970-01-02T05:24:11.000Z,XXX,5,XXX,17933_2666e50,01-Oct-15 17:48,,,,,,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;G.722,4,5436,dummy,0,,2,3186,G.722,2015-10-06T00:00:01.881Z,3111-65290-001,fc30fc,0,callinfo-audio,XXXX,2015-10-05T23:59:56.000Z,XXX,5,XXX,56130e90_1ebcb00,05-Oct-15 17:37,,,,,,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,0,,dummy,,,0,0,,2015-10-06T00:00:01.881Z,3111-65290-001,fc30fc,0,callinfo-far-content,XXXX,2015-10-05T23:59:56.000Z,XXX,5,XXX,56130e90_1ebcb00,05-Oct-15 17:37,0,0,0,0,0,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969939#M647332</guid>
      <dc:creator />
      <dc:date>2015-10-13T14:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969940#M647333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;two macs fields are of the same lenght? Did you ensure that there are no spaces in one file and not in the other?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ad Krishna said, post a sample data.&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969940#M647333</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2015-10-13T14:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969941#M647334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I think I just spotted my issue, one file uses upper case, the other file uses lower case for the address field, so Qlik doesn't see them as matching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I converted both to lower in the load and now it joins up as I would expect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969941#M647334</guid>
      <dc:creator />
      <dc:date>2015-10-13T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969942#M647335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at uppercases!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;fc31a6 is not equal to FC31A6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;S.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969942#M647335</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2015-10-13T14:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969943#M647336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I just recognized this.&amp;nbsp; I hate posting for help when it's something this simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969943#M647336</guid>
      <dc:creator />
      <dc:date>2015-10-13T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969944#M647337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First - avoid the join. It is in most cases unnecessary and can cause both excessive memory usage and record duplication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, if the two tables have different fields, they will not be concatenated. They will be associated through the keys (as in your data model viewer). Like a "pending" join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you click a "location" and no associated stats are displayed, it just means that you have no stats for this specific location. However, you may have complete disjunct data sets in the key field. If you right-click "location" and "Select All", are then all stats excluded? Or are there stats for some of the mac addresses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969944#M647337</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-13T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: "Left outer join" for two text files</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969945#M647338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Mac field in the 1st table has all caps and the second table mac field has lower lower case letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="101897" alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101897_Capture1.PNG" style="height: 167px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check Attached and let me know if you were looking for the same..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Left-outer-join-quot-for-two-text-files/m-p/969945#M647338</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-13T14:16:30Z</dc:date>
    </item>
  </channel>
</rss>

