<?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 Load only on certain condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-only-on-certain-condition/m-p/672308#M1088168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the attached Excel sample, I have 2 rows for each transaction based on EMPID.&amp;nbsp; I only want to load the 2 rows if the "Matched" column has equal values for the 2 rows.&amp;nbsp; So in my example, I don't want the first 2 or last 2 rows to load because the values are "I" and "O" for EMPID 1,&amp;nbsp; and "A" and "B" for EMPID 4.&amp;nbsp; Is there a way to do this on a load statement, and if not, how can it be done in the dashboard?&amp;nbsp; I don't want to see those rows at all in the dashboard if the "Matched" values are not equal.&amp;nbsp; I've tried different things with a Where clause, but I can't figure out how to compare the rows to find out if they match or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2014 02:07:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-13T02:07:27Z</dc:date>
    <item>
      <title>Load only on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-on-certain-condition/m-p/672308#M1088168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the attached Excel sample, I have 2 rows for each transaction based on EMPID.&amp;nbsp; I only want to load the 2 rows if the "Matched" column has equal values for the 2 rows.&amp;nbsp; So in my example, I don't want the first 2 or last 2 rows to load because the values are "I" and "O" for EMPID 1,&amp;nbsp; and "A" and "B" for EMPID 4.&amp;nbsp; Is there a way to do this on a load statement, and if not, how can it be done in the dashboard?&amp;nbsp; I don't want to see those rows at all in the dashboard if the "Matched" values are not equal.&amp;nbsp; I've tried different things with a Where clause, but I can't figure out how to compare the rows to find out if they match or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 02:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-on-certain-condition/m-p/672308#M1088168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-13T02:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load only on certain condition</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-on-certain-condition/m-p/672309#M1088170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below script may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tbl1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; EmpID&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where RecCnt=1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD EmpID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(DISTINCT [I/O]) as RecCnt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Matched.xlsx&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Group by EmpID;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tbl2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD EmpID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpName, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustName, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Item, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Desc, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qty, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [I/O]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Matched.xlsx&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where Exists(EmpID);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table tbl1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 02:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-on-certain-condition/m-p/672309#M1088170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-13T02:23:28Z</dc:date>
    </item>
  </channel>
</rss>

