<?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 Circular References- Join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Circular-References-Join/m-p/197405#M57093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In order to resolve a circular reference issue I'm expecting to use the JOIN statement;&lt;/P&gt;&lt;P&gt;My problem is that I want to copy a field (FECHA_COBRO) from table1 to table2 BUT ONLY IF there's a correspondence in a field (CO_COBRO). Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Table 1: CO_COBRO, FECHA_COBRO&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1, 01/01/2009;&lt;/P&gt;&lt;P&gt;2, 09/08/2009;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Table 2:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;where CO_COBRO= 1, FECHA_COBRO= 01/01/2009&lt;/P&gt;&lt;P&gt;where CO_COBRO= 2, FECHA_COBRO= 09/08/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I've this first table:&lt;/P&gt;&lt;P&gt;&lt;B&gt;TABLE1:&lt;/B&gt;&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY CO_COBRO, FECHA_COBRO;&lt;BR /&gt;LOAD cob_num,&lt;BR /&gt; fec_cob,&lt;BR /&gt; fec_cob AS FECHA_COBRO,&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;// CO_ENTERPRISE&lt;BR /&gt; autonumber(cob_num&amp;amp;'-'&amp;amp;CO_ENTERPRISE) AS CO_COBRO&lt;BR /&gt;FROM QvD\VCOBROS.QVD (qvd);&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;and then I've this other one:&lt;/P&gt;&lt;P&gt;&lt;B&gt;TABLE2:&lt;/B&gt;&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY CO_COBRO, fact_num;&lt;BR /&gt;LOAD //cob_num,&lt;BR /&gt; .......&lt;BR /&gt; //CO_ENTERPRISE&lt;BR /&gt; autonumber(cob_num&amp;amp;'-'&amp;amp;CO_ENTERPRISE) as CO_COBRO&lt;BR /&gt;FROM QvD\VRENG_COB.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want then, add to &lt;B&gt;table2&lt;/B&gt;, FECHA_COBRO field from &lt;B&gt;table1&lt;/B&gt; but just while CO_COBRO field has the same value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read about joins and tried already, but I still dont know how to make a conditional with CO_COBRO field.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2009 22:05:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-28T22:05:46Z</dc:date>
    <item>
      <title>Circular References- Join</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-References-Join/m-p/197405#M57093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In order to resolve a circular reference issue I'm expecting to use the JOIN statement;&lt;/P&gt;&lt;P&gt;My problem is that I want to copy a field (FECHA_COBRO) from table1 to table2 BUT ONLY IF there's a correspondence in a field (CO_COBRO). Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Table 1: CO_COBRO, FECHA_COBRO&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1, 01/01/2009;&lt;/P&gt;&lt;P&gt;2, 09/08/2009;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Table 2:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;where CO_COBRO= 1, FECHA_COBRO= 01/01/2009&lt;/P&gt;&lt;P&gt;where CO_COBRO= 2, FECHA_COBRO= 09/08/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I've this first table:&lt;/P&gt;&lt;P&gt;&lt;B&gt;TABLE1:&lt;/B&gt;&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY CO_COBRO, FECHA_COBRO;&lt;BR /&gt;LOAD cob_num,&lt;BR /&gt; fec_cob,&lt;BR /&gt; fec_cob AS FECHA_COBRO,&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;// CO_ENTERPRISE&lt;BR /&gt; autonumber(cob_num&amp;amp;'-'&amp;amp;CO_ENTERPRISE) AS CO_COBRO&lt;BR /&gt;FROM QvD\VCOBROS.QVD (qvd);&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;and then I've this other one:&lt;/P&gt;&lt;P&gt;&lt;B&gt;TABLE2:&lt;/B&gt;&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY CO_COBRO, fact_num;&lt;BR /&gt;LOAD //cob_num,&lt;BR /&gt; .......&lt;BR /&gt; //CO_ENTERPRISE&lt;BR /&gt; autonumber(cob_num&amp;amp;'-'&amp;amp;CO_ENTERPRISE) as CO_COBRO&lt;BR /&gt;FROM QvD\VRENG_COB.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want then, add to &lt;B&gt;table2&lt;/B&gt;, FECHA_COBRO field from &lt;B&gt;table1&lt;/B&gt; but just while CO_COBRO field has the same value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read about joins and tried already, but I still dont know how to make a conditional with CO_COBRO field.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 22:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-References-Join/m-p/197405#M57093</guid>
      <dc:creator />
      <dc:date>2009-12-28T22:05:46Z</dc:date>
    </item>
    <item>
      <title>Circular References- Join</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-References-Join/m-p/197406#M57094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd tried already this on &lt;B&gt;table2&lt;/B&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;table2:&lt;/B&gt;&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY CO_COBRO, fact_num;&lt;BR /&gt;&lt;B&gt;LEFT join (table1)&lt;/B&gt;&lt;BR /&gt;LOAD //cob_num,&lt;BR /&gt; //CO_ENTERPRISE&lt;BR /&gt; autonumber(cob_num&amp;amp;'-'&amp;amp;CO_ENTERPRISE) as CO_COBRO,&lt;BR /&gt; &lt;B&gt;&lt;I&gt;FECHA_COBRO&lt;BR /&gt;&lt;/I&gt;&lt;/B&gt;FROM QvD\VRENG_COB.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but It gave me an error:&lt;/P&gt;&lt;P&gt;File not found- &amp;lt;FECHA_COBRO&amp;gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (table1) ..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it's because of CO_COBRO field, but i'm not sure about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have anyone idea how can I resolve this?&lt;/P&gt;&lt;P&gt;Thxs!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 22:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-References-Join/m-p/197406#M57094</guid>
      <dc:creator />
      <dc:date>2009-12-28T22:41:31Z</dc:date>
    </item>
  </channel>
</rss>

