<?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: How to compare two values to hold back one and insert it in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-two-values-to-hold-back-one-and-insert-it/m-p/2331122#M100140</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What about something like this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsp3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133363i726874E8F516EF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsp3.jpg" alt="0683p000009Lsp3.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 16:35:05 GMT</pubDate>
    <dc:creator>lojdr</dc:creator>
    <dc:date>2018-01-30T16:35:05Z</dc:date>
    <item>
      <title>How to compare two values to hold back one and insert it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-two-values-to-hold-back-one-and-insert-it/m-p/2331121#M100139</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some problem, i want find your support please.&lt;/P&gt;
&lt;P&gt;I have a source table "Medicament " and a target table "dim_medicament".&lt;/P&gt;
&lt;P&gt;in Medicament i have two variables "&lt;SPAN&gt;PrixUnitaire&lt;/SPAN&gt;" and "&lt;SPAN&gt;EtatMed&lt;/SPAN&gt;"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PrixUnitaire&amp;nbsp;is an float&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and&amp;nbsp;EtatMed is an integer (who take the 1 if medicament it's available and 0 if isn't)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the target table , i want add a "Prix" variable who receive the "PrixUnitaire" if the medicament is available and 0 if isn't.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;for dim_medicament.Prix i wrote this expression , and i found a some mistakes:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;(Medicament.EtatMed = 1) ? (Prix = Medicament.PrixUnitaire) : (Prix = 0)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I ask your help above.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-two-values-to-hold-back-one-and-insert-it/m-p/2331121#M100139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two values to hold back one and insert it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-two-values-to-hold-back-one-and-insert-it/m-p/2331122#M100140</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What about something like this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsp3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133363i726874E8F516EF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsp3.jpg" alt="0683p000009Lsp3.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-two-values-to-hold-back-one-and-insert-it/m-p/2331122#M100140</guid>
      <dc:creator>lojdr</dc:creator>
      <dc:date>2018-01-30T16:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two values to hold back one and insert it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-two-values-to-hold-back-one-and-insert-it/m-p/2331123#M100141</link>
      <description>Thank you&lt;BR /&gt;my problem is resolved</description>
      <pubDate>Tue, 30 Jan 2018 17:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-two-values-to-hold-back-one-and-insert-it/m-p/2331123#M100141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T17:58:51Z</dc:date>
    </item>
  </channel>
</rss>

