<?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: Mapping load with multiple values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785749#M61263</link>
    <description>&lt;P&gt;Mail is at different occurances . sometimes it's at first, sometims 2nd or 3rd position.&lt;/P&gt;&lt;P&gt;@&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 11:39:16 GMT</pubDate>
    <dc:creator>stonecold111</dc:creator>
    <dc:date>2021-02-24T11:39:16Z</dc:date>
    <item>
      <title>Mapping load with multiple values</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785742#M61262</link>
      <description>&lt;P&gt;Hi qlikss,&lt;/P&gt;&lt;P&gt;I have mapping table with multiple values.&lt;/P&gt;&lt;P&gt;Mapping table:&lt;/P&gt;&lt;P&gt;Key.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mail&lt;/P&gt;&lt;P&gt;100.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sri@gmail.com&lt;/P&gt;&lt;P&gt;100.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 999-6667-778&lt;/P&gt;&lt;P&gt;100.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6785-889-888&lt;/P&gt;&lt;P&gt;200.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;998- 5466-766&lt;/P&gt;&lt;P&gt;200.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;John@gmail.com&lt;/P&gt;&lt;P&gt;Applyma p(table,key)&lt;/P&gt;&lt;P&gt;How can I get only mail IDs in applymap when multiple values are there in mapping table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 19:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785742#M61262</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2021-12-22T19:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load with multiple values</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785749#M61263</link>
      <description>&lt;P&gt;Mail is at different occurances . sometimes it's at first, sometims 2nd or 3rd position.&lt;/P&gt;&lt;P&gt;@&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 11:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785749#M61263</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2021-02-24T11:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load with multiple values</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785752#M61264</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121051"&gt;@QFabian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 11:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785752#M61264</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2021-02-24T11:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load with multiple values</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785754#M61265</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/33298"&gt;@stonecold111&lt;/a&gt;&amp;nbsp; you can always use script like :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;DataMap:

load * inline [
Key,Mail
5,sdsdsdsd@ss
100,Sri@gmail.com
100,999-6667-778
100,6785-889-888
200,998- 5466-766
200,John@gmail.com
]; left join load Key,count(Mail) as counttmp resident DataMap group by Key;


TmpMap:

load Key,Mail resident DataMap where counttmp&amp;gt;1 and WildMatch(Mail,'*@*')&amp;gt;0;
load Key,Mail resident DataMap where counttmp=1;

drop table DataMap;

Map1:
mapping load * resident TmpMap;

drop table TmpMap;
Data:

load Key1, applymap('Map1',Key1,'ND') as Mail inline [
Key1
100
200
5
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1614167576996.png"&gt;&lt;img src="https://community.qlik.com/skins/images/68186FF59415FE3F2BA91703C2AE6652/responsive_peak/images/image_not_found.png" alt="Taoufiq_Zarra_0-1614167576996.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 11:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785754#M61265</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-02-24T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load with multiple values</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785767#M61268</link>
      <description>&lt;P&gt;Just by taking resident load with where condition&lt;/P&gt;&lt;P&gt;As wildmatch(mail,*@*) loads only records that has @ ,then we can join or use applymap.&lt;/P&gt;&lt;P&gt;Do we really need all these count function etc..&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 12:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785767#M61268</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2021-02-24T12:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load with multiple values</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785775#M61269</link>
      <description>&lt;P&gt;if you you have alway one row with&amp;nbsp;@&amp;nbsp; you don't need all these count&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 12:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1785775#M61269</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-02-24T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load with multiple values</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1786138#M61299</link>
      <description>&lt;P&gt;Ok thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 12:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-with-multiple-values/m-p/1786138#M61299</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2021-02-25T12:21:51Z</dc:date>
    </item>
  </channel>
</rss>

