<?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 Exclusion Of Table Data Based On A Flag in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclusion-Of-Table-Data-Based-On-A-Flag/m-p/1392791#M423236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. I have a situation where I need to exclude information from a query based on a set flag. I would like to use a case statement as shown below in my sql code and not rely on expressions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE WHEN PN.SWPARTNUMBER &amp;lt;&amp;gt; A.ATNETWORKPARTNUMBER and (A.ATPARTNUMBERDISCREPANCYVALID = '1') Then 1 else 0 END as DR02_Part_Number_Validated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a join setup between the two tables. The field that contains the flag set to 1 is the ATPARTNUMBERDISCREPANCYVALID field. If this is true or "1" than the SWPARTNUMBER AND ATNETWORKPARTNUMBER essentially match and therefore should not be included in the table data on the sheet that pulls this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas are greatly appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2017 16:49:44 GMT</pubDate>
    <dc:creator>pandreozzi</dc:creator>
    <dc:date>2017-10-18T16:49:44Z</dc:date>
    <item>
      <title>Exclusion Of Table Data Based On A Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-Of-Table-Data-Based-On-A-Flag/m-p/1392791#M423236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. I have a situation where I need to exclude information from a query based on a set flag. I would like to use a case statement as shown below in my sql code and not rely on expressions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE WHEN PN.SWPARTNUMBER &amp;lt;&amp;gt; A.ATNETWORKPARTNUMBER and (A.ATPARTNUMBERDISCREPANCYVALID = '1') Then 1 else 0 END as DR02_Part_Number_Validated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a join setup between the two tables. The field that contains the flag set to 1 is the ATPARTNUMBERDISCREPANCYVALID field. If this is true or "1" than the SWPARTNUMBER AND ATNETWORKPARTNUMBER essentially match and therefore should not be included in the table data on the sheet that pulls this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas are greatly appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 16:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-Of-Table-Data-Based-On-A-Flag/m-p/1392791#M423236</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-18T16:49:44Z</dc:date>
    </item>
  </channel>
</rss>

