<?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: Successive Joins Not Working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447392#M613091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you want leads_created to be a key field for the JOIN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe explain your setting with a few lines of sample records for your input tables and also post your expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2017 19:22:18 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-08-22T19:22:18Z</dc:date>
    <item>
      <title>Successive Joins Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447391#M613090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a reference table (maintained by another user so I can't alter it) that I need to join to my fact table. There are three fields that need to match for the join, and the first join works as expected, however the third load statement is not joining on all three columns. If the Join is Outer it gives leads_created as NULL, and if a Left Join is used that leads_created is NULL means none of the tv_cash_cost_pl data is loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qv_metrics:&lt;/P&gt;&lt;P&gt;LOAD lead_id&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, dim_date_key_activity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, initial_channel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, leads_created&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;, leads_sent_to_field&lt;/P&gt;&lt;P&gt;, referred_lead&lt;/P&gt;&lt;P&gt;FROM $(QVDPath)\qv_metrics.qvd(qvd)&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (qv_metrics)&lt;/P&gt;&lt;P&gt;LOAD &lt;STRONG&gt;dim_date_key_activity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, 'TV-PI' AS initial_channel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, 1 AS leads_created&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;, tv_pi_cost_pl AS marketing_tv_pl&lt;/P&gt;&lt;P&gt;FROM [$(MetricDefinitionPath)\TVCostEstimates.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [TVEstimates])&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (qv_metrics)&lt;/P&gt;&lt;P&gt;LOAD &lt;STRONG&gt;dim_date_key_activity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, 'TV-Cash' AS initial_channel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, 1 AS leads_created&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;, tv_cash_cost_pl AS marketing_tv_pl&lt;/P&gt;&lt;P&gt;FROM [$(MetricDefinitionPath)\TVCostEstimates.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [TVEstimates])&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 17:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447391#M613090</guid>
      <dc:creator />
      <dc:date>2017-08-22T17:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Successive Joins Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447392#M613091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you want leads_created to be a key field for the JOIN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe explain your setting with a few lines of sample records for your input tables and also post your expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447392#M613091</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-08-22T19:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Successive Joins Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447393#M613092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I want the cost metric to be applied to all new leads, so that later when I aggregate the data I can get a simple sum() of the cost, rather than needing to multiply the cost_pl by the sum of the leads_created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447393#M613092</guid>
      <dc:creator />
      <dc:date>2017-08-22T19:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Successive Joins Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447394#M613093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, you are renaming your costs to the same field name? That will result in a fourth key field...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447394#M613093</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-08-22T19:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Successive Joins Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447395#M613094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe first concatenate your two cost estimate tables, then JOIN the concatenated table to the metrics table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447395#M613094</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-08-22T19:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Successive Joins Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447396#M613095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also avoiding a JOIN completely should be possible:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447396#M613095</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-08-22T19:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Successive Joins Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447397#M613096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it. Still don't understand why only one of the two joins work when they're structured identically, but at least I got this report working. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Successive-Joins-Not-Working/m-p/1447397#M613096</guid>
      <dc:creator />
      <dc:date>2017-08-22T19:53:06Z</dc:date>
    </item>
  </channel>
</rss>

