<?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: need to convert query for tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288156#M61672</link>
    <description>&lt;P&gt;check - where You miss : or routes or () or etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... or attach screenshot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... or need to check - condition list&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;? it is IF&lt;/P&gt;
&lt;PRE&gt;condition ?
true
:other condition?true:false&lt;/PRE&gt;
&lt;P&gt;need count number of conditions&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2017 08:50:30 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2017-08-08T08:50:30Z</dc:date>
    <item>
      <title>need to convert query for tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288153#M61669</link>
      <description>&lt;P&gt;Hi Talend Folks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;How to convert below query for tmap in talend&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(indicator='L',&lt;BR /&gt;if((Type='C' or Type='N') and len(Id)&amp;gt;2,0,&lt;BR /&gt;if(Name='P' or Name='R',0,Qty)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288153#M61669</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2024-11-16T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: need to convert query for tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288154#M61670</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;
&lt;PRE&gt;row1.indicator.equals("L")?
(row1.Type.equals("C")||row1.Type.equals("L") ) &amp;amp;&amp;amp; StringHandling.LEN(row1.Id) &amp;gt;2?&lt;BR /&gt;0
:(row1.Name.equals("P")||row1.Name.equals("R") )?&lt;BR /&gt;0
:row1.Qty&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 08:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288154#M61670</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-08-08T08:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: need to convert query for tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288155#M61671</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM" target="_self"&gt;vapukov&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Thanks for your immediate reply.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;when I ran your query I am getting expression to complete error. Here I enclosed the error screenshot also.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (980).png" style="width: 875px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lw62.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142199i658DD64F26EAF8B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lw62.png" alt="0683p000009Lw62.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ls7r"&gt;Screenshot (980).png&lt;/A&gt;</description>
      <pubDate>Tue, 08 Aug 2017 08:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288155#M61671</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2017-08-08T08:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: need to convert query for tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288156#M61672</link>
      <description>&lt;P&gt;check - where You miss : or routes or () or etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... or attach screenshot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... or need to check - condition list&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;? it is IF&lt;/P&gt;
&lt;PRE&gt;condition ?
true
:other condition?true:false&lt;/PRE&gt;
&lt;P&gt;need count number of conditions&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 08:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288156#M61672</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-08-08T08:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: need to convert query for tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288157#M61673</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please show the Expression which you written in tmap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bharath.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 09:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288157#M61673</guid>
      <dc:creator>javvaji</dc:creator>
      <dc:date>2017-08-08T09:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: need to convert query for tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288158#M61674</link>
      <description>&lt;P&gt;This is my&amp;nbsp;&lt;SPAN&gt;Expression for tmap&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.indicator.equals("L")?&lt;BR /&gt;(row1.Type.equals("C")||row1.Type.equals("L") ) &amp;amp;&amp;amp; (StringHandling.LEN(String.valueOf(row1.Id))) &amp;gt;2?0 : &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(row1.Name.equals("P")||row1.Name.equals("R") )? 0 : row1.Qty&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 12:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288158#M61674</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2017-08-08T12:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: need to convert query for tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288159#M61675</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;as I wrote above - calc number of conditions&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;first test this:&lt;/P&gt; 
&lt;PRE&gt;row1.indicator.equals("L")?
(row1.Type.equals("C")||row1.Type.equals("L") )&amp;amp;&amp;amp;(StringHandling.LEN(String.valueOf(row1.Id)))&amp;gt;2?
0 
:(row1.Name.equals("P")||row1.Name.equals("R") )?
0
:row1.Qty
:null &lt;/PRE&gt; 
&lt;P&gt;it will work&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;than - check where miss logic&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row1.indicator.equals("L")?
--- begin true 1
(row1.Type.equals("C")||row1.Type.equals("L") )&amp;amp;&amp;amp;(StringHandling.LEN(String.valueOf(row1.Id)))&amp;gt;2?
--- begin true 2
0
--- begin false 2 
:(row1.Name.equals("P")||row1.Name.equals("R") )?
---  begin true 3
0
--- begin false 3
:row1.Qty


???? where false 1 ????
:null  ---- (as variant)&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in other words - each IF must include both part IF YES and IF NOT&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/need-to-convert-query-for-tmap/m-p/2288159#M61675</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-08-08T13:06:14Z</dc:date>
    </item>
  </channel>
</rss>

