<?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: Applymap one to many in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applymap-one-to-many/m-p/1457092#M611657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yusuf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I &lt;STRONG&gt;VIEW&lt;/STRONG&gt; it one to many in mapping table doesn't make &lt;STRONG&gt;SENSE&lt;/STRONG&gt;.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways coming back to your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applymap should be used when there is one to one relationship in the mapping table or else apply map will only pick the first matching record. You can create duplicate record though by using some other functions like subfield,concat etc but that wont make much &lt;STRONG&gt;SENSE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is some link for you to go through.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="147241" data-objecttype="1" href="https://community.qlik.com/thread/147241?_ga=2.107238274.1456937817.1514696311-1643433312.1498286902"&gt;https://community.qlik.com/thread/147241?_ga=2.107238274.1456937817.1514696311-1643433312.1498286902&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="2049" data-containertype="14" data-objectid="17760" data-objecttype="102" href="https://community.qlik.com/docs/DOC-17760"&gt;https://community.qlik.com/docs/DOC-17760&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 Dec 2017 06:58:42 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2017-12-31T06:58:42Z</dc:date>
    <item>
      <title>Applymap one to many</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-one-to-many/m-p/1457091#M611656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 27.0204px; font-family: inherit;"&gt;"Whenever there is a one to many relationship between tables then a separate table must be loaded into the data model instead of using a mapping table and applymap." &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 27.0204px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;Ive read the existing threads and tested using an example and the above statement doesnt make sense. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;As long as the mapping function values are distinct the other table can have duplicate values, they will be correctly mapped. So a 1 to many relationship does work. It wont work on many to many relationship or on a one to many only if the mapping function values are the many. As long as the mapping function values are distinct the function will work correctly.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;Eg maptable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;Load * in line [&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;One&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;Two &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;Three&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;] ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;If the table being mapped to has many 1, 1, 1, it will still work, so one to many works just depends on which table is the many, the maptable cant be the many.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;Correct me if im wrong &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 27.0204px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Dec 2017 05:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-one-to-many/m-p/1457091#M611656</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2017-12-31T05:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap one to many</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-one-to-many/m-p/1457092#M611657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yusuf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I &lt;STRONG&gt;VIEW&lt;/STRONG&gt; it one to many in mapping table doesn't make &lt;STRONG&gt;SENSE&lt;/STRONG&gt;.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways coming back to your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applymap should be used when there is one to one relationship in the mapping table or else apply map will only pick the first matching record. You can create duplicate record though by using some other functions like subfield,concat etc but that wont make much &lt;STRONG&gt;SENSE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is some link for you to go through.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="147241" data-objecttype="1" href="https://community.qlik.com/thread/147241?_ga=2.107238274.1456937817.1514696311-1643433312.1498286902"&gt;https://community.qlik.com/thread/147241?_ga=2.107238274.1456937817.1514696311-1643433312.1498286902&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="2049" data-containertype="14" data-objectid="17760" data-objecttype="102" href="https://community.qlik.com/docs/DOC-17760"&gt;https://community.qlik.com/docs/DOC-17760&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Dec 2017 06:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-one-to-many/m-p/1457092#M611657</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-31T06:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap one to many</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-one-to-many/m-p/1457093#M611658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;if I understood properly ..you have a mapping table with distinct value s i.e. 1:1 relation and if your fact/calling table has 1:M then your totally rite here &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2018 09:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-one-to-many/m-p/1457093#M611658</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2018-01-01T09:51:06Z</dc:date>
    </item>
  </channel>
</rss>

