<?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 A - B Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225478#M77778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts&lt;/P&gt;&lt;P&gt;I have 2 Excel files and i want to load them in QlikView, but I only want to load the records which occored only once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets suppose 1st file name is A and second file name is B so I want A - B functionality.&lt;/P&gt;&lt;P&gt;I dont want to load records which are in both tables, only those records should be loaded which appears only once in either File A or B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waqas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Dec 2010 13:53:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-12-16T13:53:21Z</dc:date>
    <item>
      <title>A - B Load</title>
      <link>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225478#M77778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts&lt;/P&gt;&lt;P&gt;I have 2 Excel files and i want to load them in QlikView, but I only want to load the records which occored only once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets suppose 1st file name is A and second file name is B so I want A - B functionality.&lt;/P&gt;&lt;P&gt;I dont want to load records which are in both tables, only those records should be loaded which appears only once in either File A or B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waqas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225478#M77778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-16T13:53:21Z</dc:date>
    </item>
    <item>
      <title>A - B Load</title>
      <link>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225479#M77779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Look at this example:&lt;/P&gt;&lt;P style="direction: ltr; font-style: italic; margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; unicode-bidi: embed"&gt;temp:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;load F1,F2 from excel1.xls&lt;/B&gt; (biff, embedded labels, table is [Sheet1$]);&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;load F1,F2 from excel2.xls&lt;/B&gt; (biff, embedded labels, table is [Sheet1$]);&lt;/P&gt;&lt;P style="direction: ltr; font-weight: bold; margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; unicode-bidi: embed"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="direction: ltr; font-style: italic; margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; unicode-bidi: embed"&gt;temp2:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; F1, count(&lt;B&gt;distinct&lt;/B&gt; F2) &lt;B&gt;as&lt;/B&gt; totalLinesOfF2&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;resident&lt;/B&gt; temp &lt;B&gt;group&lt;/B&gt; &lt;B&gt;by&lt;/B&gt; F1;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="direction: ltr; font-style: italic; margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; unicode-bidi: embed"&gt;temp3:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;inner&lt;/B&gt; &lt;B&gt;keep&lt;/B&gt; (temp)&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; F1, totalLinesOfF2, 1 &lt;B&gt;as&lt;/B&gt; additional_char&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;resident&lt;/B&gt; temp2 &lt;B&gt;where&lt;/B&gt; totalLinesOfF2=1;&lt;/P&gt;&lt;P style="direction: ltr; font-weight: bold; margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; unicode-bidi: embed"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left;mso-layout-grid-align:none;"&gt;&lt;B&gt;drop&lt;/B&gt; &lt;B&gt;table&lt;/B&gt; &lt;I&gt;temp2;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;F1 is/are the key/s. F2 is/are the fields which are not the unique key (other dimension, or just measures).&lt;/P&gt;&lt;P&gt;In the example we are loading the excels' data, grouping it to count the number of rows for each key, and then inner joining/keeping them with the lines which appear only once.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Montal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 15:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225479#M77779</guid>
      <dc:creator />
      <dc:date>2010-12-16T15:10:45Z</dc:date>
    </item>
    <item>
      <title>A - B Load</title>
      <link>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225480#M77780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the where not exists function in this case.&lt;/P&gt;&lt;P&gt;for this you will need to know which field needs to be checked for uniqueness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *, KEY from table1;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;LOAD *, KEY from table2 where not exists(KEY);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, KEY can be a concatenated or hash expression of multiple fields.&lt;/P&gt;&lt;P&gt;(For example, may be date and ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 15:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225480#M77780</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-12-16T15:59:48Z</dc:date>
    </item>
    <item>
      <title>A - B Load</title>
      <link>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225481#M77781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. it worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 16:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225481#M77781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-16T16:05:58Z</dc:date>
    </item>
    <item>
      <title>A - B Load</title>
      <link>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225482#M77782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And just a clarification,&lt;/P&gt;&lt;P&gt;I dont think what you want A-B.&lt;/P&gt;&lt;P&gt;Because, A-B will give all of what's in A excluding what's in B.&lt;/P&gt;&lt;P&gt;I dont think that's what you want.&lt;/P&gt;&lt;P&gt;Can you please confirm the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 16:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-B-Load/m-p/225482#M77782</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-12-16T16:06:03Z</dc:date>
    </item>
  </channel>
</rss>

