<?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 Loop in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Nested-Loop/m-p/1981390#M11379</link>
    <description>&lt;P&gt;It might be done with mapsubstring() - see:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Mapping-with-conditions/td-p/1981209" target="_blank"&gt;Mapping with conditions - Qlik Community - 1981209&lt;/A&gt;&amp;nbsp;and just add '' as return and skip the textbetween().&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 10:20:06 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2022-09-15T10:20:06Z</dc:date>
    <item>
      <title>Nested Loop</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Nested-Loop/m-p/1981143#M11367</link>
      <description>&lt;P&gt;I would like to create a LOAD statement that basically performs a nested loop.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the first ID in the Sentence table, scan the OLD_TEXT field to look for the first item in the REMOVE_TEXT field of the&amp;nbsp;WordsToRemove table.&amp;nbsp; If that words/phrase is found, REPLACE it with blanks ('').&amp;nbsp; Repeat for each item in the&amp;nbsp;WordsToRemove table until ID (A) is has removed all relevant words.&amp;nbsp; Then, repeat that process for every item in the ID field.&lt;/P&gt;
&lt;P&gt;Is this possible?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sentence&lt;/P&gt;
&lt;TABLE width="280"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="85"&gt;
&lt;P&gt;ID&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="195"&gt;
&lt;P&gt;OLD_TEXT&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="85"&gt;
&lt;P&gt;A&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="195"&gt;
&lt;P&gt;The car was brown.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="85"&gt;
&lt;P&gt;B&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="195"&gt;
&lt;P&gt;The car was green.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="85"&gt;
&lt;P&gt;C&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="195"&gt;
&lt;P&gt;The car was blue.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="85"&gt;
&lt;P&gt;D&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="195"&gt;
&lt;P&gt;The car was orange.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="85"&gt;
&lt;P&gt;E&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="195"&gt;
&lt;P&gt;The car was blue green.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="85"&gt;
&lt;P&gt;F&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="195"&gt;
&lt;P&gt;The car was yellow.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WordsToRemove&lt;/P&gt;
&lt;TABLE width="138"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="35"&gt;
&lt;P&gt;ID2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="104"&gt;
&lt;P&gt;REMOVE_TEXT&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="35"&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="104"&gt;
&lt;P&gt;blue green&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="35"&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="104"&gt;
&lt;P&gt;brown&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="35"&gt;
&lt;P&gt;3&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="104"&gt;
&lt;P&gt;blue&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="35"&gt;
&lt;P&gt;4&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="104"&gt;
&lt;P&gt;car&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 20:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Nested-Loop/m-p/1981143#M11367</guid>
      <dc:creator>ABC_123</dc:creator>
      <dc:date>2022-09-14T20:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loop</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Nested-Loop/m-p/1981390#M11379</link>
      <description>&lt;P&gt;It might be done with mapsubstring() - see:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Mapping-with-conditions/td-p/1981209" target="_blank"&gt;Mapping with conditions - Qlik Community - 1981209&lt;/A&gt;&amp;nbsp;and just add '' as return and skip the textbetween().&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 10:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Nested-Loop/m-p/1981390#M11379</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-09-15T10:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loop</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Nested-Loop/m-p/1981397#M11380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/198068"&gt;@ABC_123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;says, you can use MapSubString to map '' to the words that it can find in the mapping table.&lt;BR /&gt;PFA an example.&lt;/P&gt;
&lt;P&gt;-Ruben&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 10:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Nested-Loop/m-p/1981397#M11380</guid>
      <dc:creator>Ruhulessin</dc:creator>
      <dc:date>2022-09-15T10:41:16Z</dc:date>
    </item>
  </channel>
</rss>

