<?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: Just one small thing on mapping table use in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1690669#M52767</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6144"&gt;@pablolabbe&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Forget about it -- that question didn't make sense&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2020 09:26:37 GMT</pubDate>
    <dc:creator>valpassos</dc:creator>
    <dc:date>2020-04-03T09:26:37Z</dc:date>
    <item>
      <title>Just one small thing on mapping table use</title>
      <link>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688599#M52527</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;This will be for an easy and quick wedge.&lt;/P&gt;&lt;P&gt;A mapping table always returns one and one only value, right.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MAPPING LOAD
%KEY_PRODUCT,
MIN(Order_Date)
FROM Table
GROUP BY %KEY_PRODUCT;&lt;/LI-CODE&gt;&lt;P&gt;So, this mapping table will return the MIN(Order_Date) for the product.&lt;/P&gt;&lt;P&gt;But if I have multiple Order_Dates, varying for each version of the product, a mapping table no longer makes sense to use, right? Even if I GROUP BY the version of the product?&lt;/P&gt;&lt;P&gt;Is this true under any circunstance?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, what should I do, then - a LEFT JOIN?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688599#M52527</guid>
      <dc:creator>valpassos</dc:creator>
      <dc:date>2024-11-16T18:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Just one small thing on mapping table use</title>
      <link>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688612#M52533</link>
      <description>&lt;P&gt;The mapping table returns one value for each key value. In yout Example, the mapply will return the minium order_date for each KEY_PRODUCT.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 17:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688612#M52533</guid>
      <dc:creator>Wederson</dc:creator>
      <dc:date>2020-03-27T17:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Just one small thing on mapping table use</title>
      <link>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688614#M52534</link>
      <description>&lt;P&gt;You have two options:&lt;/P&gt;&lt;P&gt;Use a left join using %KEY_PRODUCT and VERSION (field with version of the product) as matching fields.&lt;/P&gt;&lt;P&gt;Or you can create a mapping table concatenating product key and product version fields in one single field and use it as the mapping column:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MAPPING LOAD
%KEY_PRODUCT&amp;amp;'|'&amp;amp;VERSION,
MIN(Order_Date)
FROM Table
GROUP BY %KEY_PRODUCT,VERSION;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 17:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688614#M52534</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2020-03-27T17:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Just one small thing on mapping table use</title>
      <link>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688911#M52570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6144"&gt;@pablolabbe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Immediately after I posted the question I realized that using a composite key, as you describe, on the mapping table maybe could also make sense&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&amp;nbsp;And it sure beats the LEFT JOIN in terms of performance, right?&lt;/P&gt;&lt;P&gt;I haven't acted upon that approach yet on my model, but using this composite key, can the Version field then be used as a filter on the front-end, so I can vary the order date?&lt;/P&gt;&lt;P&gt;Thanks once again!,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 09:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1688911#M52570</guid>
      <dc:creator>valpassos</dc:creator>
      <dc:date>2020-03-30T09:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Just one small thing on mapping table use</title>
      <link>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1689181#M52598</link>
      <description>&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm not sure on what you are saying&amp;nbsp; "so I can&amp;nbsp;&lt;SPAN&gt;so I can vary the order date?" . It depends on your data model. The Version field must exists in the table which you are applying the applymap function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 19:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1689181#M52598</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2020-03-30T19:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Just one small thing on mapping table use</title>
      <link>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1690669#M52767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6144"&gt;@pablolabbe&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Forget about it -- that question didn't make sense&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 09:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-one-small-thing-on-mapping-table-use/m-p/1690669#M52767</guid>
      <dc:creator>valpassos</dc:creator>
      <dc:date>2020-04-03T09:26:37Z</dc:date>
    </item>
  </channel>
</rss>

