<?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: Loading dimension from an  ODS table with insert/update doesn't work ! in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loading-dimension-from-an-ODS-table-with-insert-update-doesn-t/m-p/2236234#M25015</link>
    <description>&lt;P&gt;Hello &lt;BR /&gt;Do a left outer join, change the expression of variable1 to :&lt;BR /&gt;row2.Contact==null?false:true&lt;BR /&gt;// if row2.Contact is null, means the CodeCNAM does not exist in cnamDim table, otherwise, it exists.&lt;BR /&gt;change the expression of variable2 to:&lt;BR /&gt;Var.Existe==true&amp;amp;&amp;amp;!row1.Contact.equals(row2.Contact)?true:false&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2017 05:48:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-19T05:48:21Z</dc:date>
    <item>
      <title>Loading dimension from an  ODS table with insert/update doesn't work !</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-dimension-from-an-ODS-table-with-insert-update-doesn-t/m-p/2236233#M25014</link>
      <description>&lt;P&gt;Hello folks, I am gonna need your help over here! &amp;nbsp;I am using Talend open studio&amp;nbsp;Version: 6.3.0 and I am trying to load a dimension (cnamDIM) from an ODS table (cnamODS) using the Insert/update method.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have created 2 variables in my t_map component:&lt;/P&gt; 
&lt;P&gt;-The first variable will check if the CodeCNAM (Unique attribute) already exists in cnamDim. If it doesn't exists , talend will insert the inside row into cnamDim table.&lt;/P&gt; 
&lt;P&gt;-The second variable will check if the CodeCNAM already exists and that the value of the column "Contact" had been changed or not compared to the one that already exists cnamDim. In this case ,&amp;nbsp;talend will update Contact column with it's new value.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is the issue, in the case the CodeCnam dosn't exists, the job is inserting new data inside cnamDim table. Unfortunatly in the case that CodeCNAM already exists in cnamDim , talend&amp;nbsp;do ,not update the contact&amp;nbsp;collumn with it's new value once changed into the cnamODS table.&lt;/P&gt; 
&lt;P&gt;You can find bellow screenshots of my job configuration.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your help in advance !&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltsn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132932i28ECC94C8EC6AABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltsn.png" alt="0683p000009Ltsn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltnl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134585iFCE2191CF7513FE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltnl.png" alt="0683p000009Ltnl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltoq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140782i628C9F19A295CD2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltoq.png" alt="0683p000009Ltoq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtwZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148824i9F657454A8042ADA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtwZ.png" alt="0683p000009LtwZ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtiK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156778i72E5537E36594B28/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtiK.png" alt="0683p000009LtiK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtSO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144813iBC37B0538A4A35F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtSO.png" alt="0683p000009LtSO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltwe.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149318i17095FC24C0687F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltwe.png" alt="0683p000009Ltwe.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtQM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148197i805045FEC69A9401/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtQM.png" alt="0683p000009LtQM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltwt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130222i04DBE8AFC6ECE272/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltwt.png" alt="0683p000009Ltwt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltx8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158226i1BACC017D42B6A16/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltx8.png" alt="0683p000009Ltx8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 16:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-dimension-from-an-ODS-table-with-insert-update-doesn-t/m-p/2236233#M25014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-27T16:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loading dimension from an  ODS table with insert/update doesn't work !</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-dimension-from-an-ODS-table-with-insert-update-doesn-t/m-p/2236234#M25015</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;Do a left outer join, change the expression of variable1 to :&lt;BR /&gt;row2.Contact==null?false:true&lt;BR /&gt;// if row2.Contact is null, means the CodeCNAM does not exist in cnamDim table, otherwise, it exists.&lt;BR /&gt;change the expression of variable2 to:&lt;BR /&gt;Var.Existe==true&amp;amp;&amp;amp;!row1.Contact.equals(row2.Contact)?true:false&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 05:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-dimension-from-an-ODS-table-with-insert-update-doesn-t/m-p/2236234#M25015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T05:48:21Z</dc:date>
    </item>
  </channel>
</rss>

