<?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: Cannot Boolean to Integer in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197388#M1145</link>
    <description>Your expression returns a boolean ( &amp;gt;=) and then you joining it with an integer
&lt;BR /&gt;
&lt;BR /&gt;You can try like ( syntax no correct)
&lt;BR /&gt;
&lt;BR /&gt;(Minratedate &amp;gt;= miratedate) ? 1 : 0</description>
    <pubDate>Tue, 02 Jun 2020 20:53:33 GMT</pubDate>
    <dc:creator>akumar2301</dc:creator>
    <dc:date>2020-06-02T20:53:33Z</dc:date>
    <item>
      <title>Cannot Boolean to Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197387#M1144</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt; 
&lt;P&gt;Anyone know why this is error is occuring with my simple expression in my tmap?&amp;nbsp; I'm confused.&amp;nbsp; I have an integer input going to an integer output and it's bringing in an error about Boolean types?&amp;nbsp; I just want to return the date that is &amp;gt;= another date.&amp;nbsp; Please if anyone can help, I'm on a deadline.&amp;nbsp; Thank you Community!&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-06-02_1330.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZmq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144154iC1A640AB4C795CF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZmq.png" alt="0683p000009MZmq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-06-02_1329.png" style="width: 713px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZmv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128124iB84806A573EC0C65/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZmv.png" alt="0683p000009MZmv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-06-02_1328.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZT1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153408i812690FD68C8A721/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZT1.png" alt="0683p000009MZT1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 20:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197387#M1144</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-06-02T20:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boolean to Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197388#M1145</link>
      <description>Your expression returns a boolean ( &amp;gt;=) and then you joining it with an integer
&lt;BR /&gt;
&lt;BR /&gt;You can try like ( syntax no correct)
&lt;BR /&gt;
&lt;BR /&gt;(Minratedate &amp;gt;= miratedate) ? 1 : 0</description>
      <pubDate>Tue, 02 Jun 2020 20:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197388#M1145</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2020-06-02T20:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boolean to Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197389#M1146</link>
      <description>&lt;P&gt;Thanks Abhishek!&amp;nbsp; Let me try this in my design.&lt;/P&gt;
&lt;P&gt;It worked!&amp;nbsp; Thanks again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 21:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197389#M1146</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-06-02T21:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boolean to Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197390#M1147</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt; 
&lt;P&gt;I realized that this didn't work 100%.&amp;nbsp; This is what I'm using in my tmap, however, values returns are 0's and they are supposed to have dates.&lt;/P&gt; 
&lt;P&gt;Thoughts?&lt;/P&gt; 
&lt;P&gt;Anyone? Please and thank you.&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-inline" image-alt="2020-06-03_1102.png" style="width: 584px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZjZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130693iFE8891C36321EDF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZjZ.png" alt="0683p000009MZjZ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 17:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197390#M1147</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-06-03T17:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boolean to Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197391#M1148</link>
      <description>&lt;P&gt;if you need date in integer format , you need to convert youe expressions output accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;booleanExpression ? IfTrueExpression : IfFalseexpression&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 17:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197391#M1148</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2020-06-03T17:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boolean to Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197392#M1149</link>
      <description>&lt;P&gt;Thanks, so are you saying that I still need to convert the whole Boolean expression to my needed data type, which is integer?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;makethisInteger(booleanExpression)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 19:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197392#M1149</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-06-03T19:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boolean to Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197393#M1150</link>
      <description>check ternary operator documentation , you will get more idea .
&lt;BR /&gt;Try this :
&lt;BR /&gt;
&lt;A href="https://www.geeksforgeeks.org/java-ternary-operator-with-examples/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.geeksforgeeks.org/java-ternary-operator-with-examples/&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2020 19:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-Boolean-to-Integer/m-p/2197393#M1150</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2020-06-03T19:18:49Z</dc:date>
    </item>
  </channel>
</rss>

