<?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: Flag changing in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300434#M72661</link>
    <description>&lt;P&gt;row2.flag.equals("Y") ? "N": StringHandling.LEN(row2.flag)==0 ? "Y": row2.flag&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;use this expression&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ls1d"&gt;Capture.PNG&lt;/A&gt;</description>
    <pubDate>Mon, 05 Mar 2018 11:04:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-05T11:04:28Z</dc:date>
    <item>
      <title>Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300421#M72648</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a requirement where I need to change flag from y to n based on a condition.my data looks like below&lt;BR /&gt;Id;flag&lt;BR /&gt;1;y&lt;BR /&gt;2;y&lt;BR /&gt;1;&lt;BR /&gt;My output should be&lt;BR /&gt;Id;flag&lt;BR /&gt;1;n&lt;BR /&gt;2;y&lt;BR /&gt;1;y&lt;BR /&gt;If ids are same and have a flag value as y then it has to change to n and if the flag is null it has to change to y&lt;BR /&gt;&lt;BR /&gt;Can anyone Suggest a solution, if so would be a great help.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Lmit&lt;/P&gt;</description>
      <pubDate>Sun, 04 Mar 2018 19:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300421#M72648</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-04T19:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300422#M72649</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You can use&amp;nbsp;ternary operator for if-else scenario in tMap or join your two tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Condition?value if true:value if false&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 03:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300422#M72649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T03:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300423#M72650</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sabrina,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply . but can you be little bit clear about what you said??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lmit&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 04:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300423#M72650</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T04:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300424#M72651</link>
      <description>First sort the data based on Id and create create a Var for current Id and Previous Id and compare the Prevous Var with Current Var equls then y else n. use this way.</description>
      <pubDate>Mon, 05 Mar 2018 05:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300424#M72651</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T05:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300425#M72652</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks manohar for the reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the data in file can have n number of rows with same id and other ids which are not same like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id,flag&lt;/P&gt;
&lt;P&gt;1,Y&lt;/P&gt;
&lt;P&gt;2,Y&lt;/P&gt;
&lt;P&gt;3,Y&lt;/P&gt;
&lt;P&gt;1,&lt;/P&gt;
&lt;P&gt;1,Y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;both the id's 1 with flag Y should be become N and with null should become N&lt;/P&gt;
&lt;P&gt;but id's 2 with flag Y should be Y only&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;lmit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300425#M72652</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T06:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300426#M72653</link>
      <description>&lt;P&gt;since you can sort the data based on&amp;nbsp;Id Asc and Flag Asc order in tSortrow,you wil lget in required way and then you can compare in tmap and derive new flag.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300426#M72653</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T06:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300427#M72654</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If this help please&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;give kudos when a reply is helpful and click Accept the solution when you think you're good with it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 06:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300427#M72654</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T06:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300428#M72655</link>
      <description>&lt;P&gt;still you have issue?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 07:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300428#M72655</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T07:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300429#M72656</link>
      <description>&lt;P&gt;Yes Manohar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flag still not changing, after sorting and comparing also the flag is not changing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for both values its changing, i mean for all values where Y is there is getting changed to N&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lmit&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 08:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300429#M72656</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T08:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300430#M72657</link>
      <description>Can you show your job design?</description>
      <pubDate>Mon, 05 Mar 2018 09:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300430#M72657</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T09:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300431#M72658</link>
      <description>&lt;P&gt;screenshot is not allowed to take,jib flow is as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inputfile --&amp;gt; tuniqrow --&amp;gt; tmap --&amp;gt; outputfile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i appiled uniqrow on both columns id and flag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the output is :&lt;/P&gt;&lt;P&gt;1,N&lt;/P&gt;&lt;P&gt;1,Y&lt;/P&gt;&lt;P&gt;2,N&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;lmit&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 09:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300431#M72658</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T09:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300432#M72659</link>
      <description>&lt;P&gt;why you used tuniqrow?i asked you to do sort using tSortrow&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 09:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300432#M72659</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T09:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300433#M72660</link>
      <description>&lt;P&gt;sorry , my mistake i used tsortrow only&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300433#M72660</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2018-03-05T10:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300434#M72661</link>
      <description>&lt;P&gt;row2.flag.equals("Y") ? "N": StringHandling.LEN(row2.flag)==0 ? "Y": row2.flag&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;use this expression&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ls1d"&gt;Capture.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 05 Mar 2018 11:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300434#M72661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T11:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300435#M72662</link>
      <description>&lt;P&gt;Could you please let me know the conditions and variable port in tMap&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 11:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300435#M72662</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T11:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300436#M72663</link>
      <description>&lt;P&gt;hi pls find the attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkata Kiran&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lsc4"&gt;Capture2.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 05 Mar 2018 11:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300436#M72663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T11:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300437#M72664</link>
      <description>&lt;P&gt;Please find the attahced code.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsGM"&gt;Flag_changing.zip&lt;/A&gt;</description>
      <pubDate>Mon, 05 Mar 2018 11:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300437#M72664</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T11:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300438#M72665</link>
      <description>&lt;P&gt;thats a good one bro&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 11:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300438#M72665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T11:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300439#M72666</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If this help please&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;give kudos when a reply is helpful and click Accept the solution when you think you're good with it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 11:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300439#M72666</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-05T11:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Flag changing in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300440#M72667</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLyDAAW"&gt;@lmit&lt;/A&gt;&amp;nbsp;still you have issue?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 04:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Flag-changing-in-tmap/m-p/2300440#M72667</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-03-06T04:24:01Z</dc:date>
    </item>
  </channel>
</rss>

