<?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: Nested if Calculation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333337#M102124</link>
    <description>You need to change "=" by "==" for evaluation.&lt;BR /&gt;However, you cannot mixe different datatypes in ternary evaluation (you have boolean, string and integer)</description>
    <pubDate>Thu, 16 Feb 2017 10:21:41 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-02-16T10:21:41Z</dc:date>
    <item>
      <title>Nested if Calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333336#M102123</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I am trying to do Nested IF in Tmap but due to some reason its throwing Error. How to fix this issue in tmap here is my condition and&amp;nbsp;&lt;BR /&gt;error&lt;BR /&gt;Var.AusValidNo ==true &amp;amp;&amp;amp; Var.LenforAusValidNo = 9 ? row3.cli_mobile:&lt;BR /&gt;Var.AusValidNo ==false &amp;amp;&amp;amp; Var.LenforAusValidNo &amp;lt;9 ? "":&lt;BR /&gt;Var.ValidLandLine==true &amp;amp;&amp;amp; Var.LenforAusValidNo = 9?"":&lt;BR /&gt;Var.ValidLandLine==false &amp;amp;&amp;amp; Var.LenforAusValidNo &amp;lt;9?"":row3.cli_mobile&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MG2y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151316i7BEF432961357DC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MG2y.png" alt="0683p000009MG2y.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 10:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333336#M102123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T10:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if Calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333337#M102124</link>
      <description>You need to change "=" by "==" for evaluation.&lt;BR /&gt;However, you cannot mixe different datatypes in ternary evaluation (you have boolean, string and integer)</description>
      <pubDate>Thu, 16 Feb 2017 10:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333337#M102124</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-02-16T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if Calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333338#M102125</link>
      <description>I tried to use like this at that time its throwing multiple error &amp;nbsp;"=="&lt;BR /&gt;if cant use multiple datatype for filtering condition using ternary operator in tmap&lt;BR /&gt;then how can i write the condition and bring my desired output</description>
      <pubDate>Thu, 16 Feb 2017 10:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333338#M102125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T10:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if Calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333339#M102126</link>
      <description>How are defined the variables? Can your share the tMap? 
&lt;BR /&gt;Independently of my previous post (I'm not completly sure) you should write like this 
&lt;BR /&gt; 
&lt;PRE&gt;(Var.AusValidNo &amp;amp;&amp;amp; Var.LenforAusValidNo == 9) ? row3.cli_mobile :[size=1][font=Verdana, Helvetica, Arial, sans-serif][/font][/size]&lt;BR /&gt;&amp;nbsp; &amp;nbsp;(!Var.AusValidNo &amp;amp;&amp;amp; Var.LenforAusValidNo &amp;lt; 9) ? "" :[size=1][font=Verdana, Helvetica, Arial, sans-serif][/font][/size]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (Var.ValidLandLine &amp;amp;&amp;amp; Var.LenforAusValidNo == 9) ? "" :[size=1][font=Verdana, Helvetica, Arial, sans-serif][/font][/size]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(!Var.ValidLandLine &amp;amp;&amp;amp; Var.LenforAusValidNo &amp;lt; 9) ? "" : row3.cli_mobile&lt;/PRE&gt; 
&lt;BR /&gt;What appens now?</description>
      <pubDate>Thu, 16 Feb 2017 11:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nested-if-Calculation/m-p/2333339#M102126</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-02-16T11:09:46Z</dc:date>
    </item>
  </channel>
</rss>

