<?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 Mapping load across multiple tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-load-across-multiple-tables/m-p/221897#M74654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LEFT JOIN ([Link])&lt;BR /&gt;LOAD&lt;BR /&gt; TaskId&lt;BR /&gt;,match(Priority,'Low','Medium','High') as NumericPriority&lt;BR /&gt;RESIDENT [Tasks]&lt;BR /&gt;;&lt;BR /&gt;LEFT JOIN ([Projects])&lt;BR /&gt;LOAD&lt;BR /&gt; ProjectId&lt;BR /&gt;,pick(max(NumericPriority),'Low','Medium','High') as HighestTaskPriority&lt;BR /&gt;RESIDENT [Link]&lt;BR /&gt;GROUP BY ProjectId&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD NumericPriority&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2010 02:02:44 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-01-26T02:02:44Z</dc:date>
    <item>
      <title>Mapping load across multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-across-multiple-tables/m-p/221896#M74653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. I have a question regarding a specific mapping problem. So say I have a table called Projects with a field ProjectId. I've got a table called Tasks with fields TaskId and Priority. Priority can be High, Med, Low. I've also got a link table between them called Link with fields ProjectId and TaskId.&lt;/P&gt;&lt;P&gt;I want to create a new field in the Projects table called HighestTaskPriority, which takes all the Tasks that link to a given Project and finds the highest priority of all those tasks. So if Project A links to Tasks 1,2,3 and their respective priorities are high, medium, medium, Project A will have HighestTaskPriority equal to High. Does this make sense?&lt;/P&gt;&lt;P&gt;Does anyone have a good solution for this? I was thinking to use mappings to do this. So I'd have one mapping for each priority and do a nested if statement to pick the highest one for each project.&lt;/P&gt;&lt;P&gt;Please let me know if you have any ideas. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2010 00:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-across-multiple-tables/m-p/221896#M74653</guid>
      <dc:creator />
      <dc:date>2010-01-26T00:43:38Z</dc:date>
    </item>
    <item>
      <title>Mapping load across multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-across-multiple-tables/m-p/221897#M74654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LEFT JOIN ([Link])&lt;BR /&gt;LOAD&lt;BR /&gt; TaskId&lt;BR /&gt;,match(Priority,'Low','Medium','High') as NumericPriority&lt;BR /&gt;RESIDENT [Tasks]&lt;BR /&gt;;&lt;BR /&gt;LEFT JOIN ([Projects])&lt;BR /&gt;LOAD&lt;BR /&gt; ProjectId&lt;BR /&gt;,pick(max(NumericPriority),'Low','Medium','High') as HighestTaskPriority&lt;BR /&gt;RESIDENT [Link]&lt;BR /&gt;GROUP BY ProjectId&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD NumericPriority&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2010 02:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-across-multiple-tables/m-p/221897#M74654</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-01-26T02:02:44Z</dc:date>
    </item>
  </channel>
</rss>

