<?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 Replicated Data analysis - how to apply a filter to a join between two input tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replicated-Data-analysis-how-to-apply-a-filter-to-a-join-between/m-p/149041#M27252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is defintely headed in the right direction. The problem is it doesn't work when applied to my script... It throws an error:&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;COMMITMENT_AMT_WF&amp;gt;&lt;BR /&gt;Problems:&lt;BR /&gt;NOCONCATENATE LOAD&lt;BR /&gt; *&lt;BR /&gt; RESIDENT&lt;BR /&gt; ods&lt;BR /&gt; WHERE&lt;BR /&gt; Len(COMMITMENT_AMT_ODS) = 0 OR Len(COMMITMENT_AMT_WF) = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt; ods:&lt;BR /&gt;ODBC CONNECT TO &amp;lt;connect string&amp;gt;;&lt;BR /&gt;select&lt;BR /&gt;deal.deal_cd as "DEAL_CD_ODS" ,&lt;BR /&gt;pricing_tranche.pricing_tranche_id AS "PRICING_TRANCHE_ID",&lt;BR /&gt;pricing_tranche.commitment_amt AS "COMMITMENT_AMT_ODS"&lt;BR /&gt;from&lt;BR /&gt;ods_workflow.core_deal deal,&lt;BR /&gt;ods_workflow.core_pricing_tranche pricing_tranche&lt;BR /&gt;where&lt;BR /&gt;pricing_tranche.deal_id = deal.deal_id;&lt;BR /&gt;wf:&lt;BR /&gt;join&lt;BR /&gt;ODBC CONNECT TO &amp;lt;connect string&amp;gt;;&lt;BR /&gt;select&lt;BR /&gt;deal.deal_cd as "DEAL_CD_WF" ,&lt;BR /&gt;pricing_tranche.pricing_tranche_id AS "PRICING_TRANCHE_ID",&lt;BR /&gt;pricing_tranche.commitment_amt AS "COMMITMENT_AMT_WF"&lt;BR /&gt;from&lt;BR /&gt;cfs_workflow.deal deal,&lt;BR /&gt;cfs_workflow.pricing_tranche pricing_tranche&lt;BR /&gt;where&lt;BR /&gt;pricing_tranche.deal_id = deal.deal_id;&lt;BR /&gt;Problems:&lt;BR /&gt;NOCONCATENATE LOAD&lt;BR /&gt; *&lt;BR /&gt; RESIDENT&lt;BR /&gt; ods&lt;BR /&gt; WHERE&lt;BR /&gt; Len(COMMITMENT_AMT_ODS) = 0 OR Len(COMMITMENT_AMT_WF) = 0;&lt;BR /&gt; DROP TABLE ods;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jul 2009 07:52:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-11T07:52:41Z</dc:date>
    <item>
      <title>Replicated Data analysis - how to apply a filter to a join between two input tables</title>
      <link>https://community.qlik.com/t5/QlikView/Replicated-Data-analysis-how-to-apply-a-filter-to-a-join-between/m-p/149039#M27250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have table A and table B which are identical in structure. They have 100% of the fields in common, so I differentiate them y changing names on all fields except the join field. So far so good. The outcome is a dataset where i can line up fields for comparison between the two tables to check for data accuracy column by column row by row.&lt;/P&gt;&lt;P&gt;I have succeeded in bringing in the full datasets into QV then manually lining up the columns in a chart and testing them there resulting in a 'TRUE' or 'FALSE' outcome in a third result field. This works fine, but I am interested in modifying the load script to perform the evaluations there so that i can return only rows where at least one field has failed validation. In other words, show me just the data problems, not rows where nothing is wrong.&lt;/P&gt;&lt;P&gt;Is there any approach general r specific that one would follow to accomplish this in the load script? I have tried loading the two tables separately with labels, then creating a third input table that would select rows where A.FIELDNAME&amp;lt;&amp;gt;B.FIELDNAME but have been unsuccessful in adding a conditional to the join. It complains that it can't find the one field or the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My thought is table A and B are loaded, then a third table created from the conditonal join, then table A and B dropped, leaving just the troubled dataset displayed in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2009 02:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicated-Data-analysis-how-to-apply-a-filter-to-a-join-between/m-p/149039#M27250</guid>
      <dc:creator />
      <dc:date>2009-07-11T02:28:40Z</dc:date>
    </item>
    <item>
      <title>Replicated Data analysis - how to apply a filter to a join between two input tables</title>
      <link>https://community.qlik.com/t5/QlikView/Replicated-Data-analysis-how-to-apply-a-filter-to-a-join-between/m-p/149040#M27251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;think that you are on the right way, please see the attached sample - is this approximately what you need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2009 03:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicated-Data-analysis-how-to-apply-a-filter-to-a-join-between/m-p/149040#M27251</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-07-11T03:02:31Z</dc:date>
    </item>
    <item>
      <title>Replicated Data analysis - how to apply a filter to a join between two input tables</title>
      <link>https://community.qlik.com/t5/QlikView/Replicated-Data-analysis-how-to-apply-a-filter-to-a-join-between/m-p/149041#M27252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is defintely headed in the right direction. The problem is it doesn't work when applied to my script... It throws an error:&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;COMMITMENT_AMT_WF&amp;gt;&lt;BR /&gt;Problems:&lt;BR /&gt;NOCONCATENATE LOAD&lt;BR /&gt; *&lt;BR /&gt; RESIDENT&lt;BR /&gt; ods&lt;BR /&gt; WHERE&lt;BR /&gt; Len(COMMITMENT_AMT_ODS) = 0 OR Len(COMMITMENT_AMT_WF) = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt; ods:&lt;BR /&gt;ODBC CONNECT TO &amp;lt;connect string&amp;gt;;&lt;BR /&gt;select&lt;BR /&gt;deal.deal_cd as "DEAL_CD_ODS" ,&lt;BR /&gt;pricing_tranche.pricing_tranche_id AS "PRICING_TRANCHE_ID",&lt;BR /&gt;pricing_tranche.commitment_amt AS "COMMITMENT_AMT_ODS"&lt;BR /&gt;from&lt;BR /&gt;ods_workflow.core_deal deal,&lt;BR /&gt;ods_workflow.core_pricing_tranche pricing_tranche&lt;BR /&gt;where&lt;BR /&gt;pricing_tranche.deal_id = deal.deal_id;&lt;BR /&gt;wf:&lt;BR /&gt;join&lt;BR /&gt;ODBC CONNECT TO &amp;lt;connect string&amp;gt;;&lt;BR /&gt;select&lt;BR /&gt;deal.deal_cd as "DEAL_CD_WF" ,&lt;BR /&gt;pricing_tranche.pricing_tranche_id AS "PRICING_TRANCHE_ID",&lt;BR /&gt;pricing_tranche.commitment_amt AS "COMMITMENT_AMT_WF"&lt;BR /&gt;from&lt;BR /&gt;cfs_workflow.deal deal,&lt;BR /&gt;cfs_workflow.pricing_tranche pricing_tranche&lt;BR /&gt;where&lt;BR /&gt;pricing_tranche.deal_id = deal.deal_id;&lt;BR /&gt;Problems:&lt;BR /&gt;NOCONCATENATE LOAD&lt;BR /&gt; *&lt;BR /&gt; RESIDENT&lt;BR /&gt; ods&lt;BR /&gt; WHERE&lt;BR /&gt; Len(COMMITMENT_AMT_ODS) = 0 OR Len(COMMITMENT_AMT_WF) = 0;&lt;BR /&gt; DROP TABLE ods;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2009 07:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicated-Data-analysis-how-to-apply-a-filter-to-a-join-between/m-p/149041#M27252</guid>
      <dc:creator />
      <dc:date>2009-07-11T07:52:41Z</dc:date>
    </item>
  </channel>
</rss>

