<?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 Create an exception table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441159#M432411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I'm trying to find a way to create a table that will selectively override the data in another table under certain conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables are something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MainTable:&lt;/P&gt;&lt;P&gt;Employee ID&lt;/P&gt;&lt;P&gt;Manager Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExceptionTable:&lt;/P&gt;&lt;P&gt;Employee ID&lt;/P&gt;&lt;P&gt;Manager Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if an employee ID is listed in the ExceptionTable, I would want to use the Manager Name listed there instead of the one in the MainTable.&amp;nbsp; I've never had a situation like this, so if anyone has ideas on how it could be accomplished it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 16:11:03 GMT</pubDate>
    <dc:creator>dukane24</dc:creator>
    <dc:date>2017-12-06T16:11:03Z</dc:date>
    <item>
      <title>Create an exception table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441159#M432411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I'm trying to find a way to create a table that will selectively override the data in another table under certain conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables are something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MainTable:&lt;/P&gt;&lt;P&gt;Employee ID&lt;/P&gt;&lt;P&gt;Manager Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExceptionTable:&lt;/P&gt;&lt;P&gt;Employee ID&lt;/P&gt;&lt;P&gt;Manager Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if an employee ID is listed in the ExceptionTable, I would want to use the Manager Name listed there instead of the one in the MainTable.&amp;nbsp; I've never had a situation like this, so if anyone has ideas on how it could be accomplished it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 16:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441159#M432411</guid>
      <dc:creator>dukane24</dc:creator>
      <dc:date>2017-12-06T16:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create an exception table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441160#M432412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a Mapping Table and the ApplyMap function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 16:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441160#M432412</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-12-06T16:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create an exception table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441161#M432413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two mapping tables, one based on the Main Table, the other on the Exceptions.&lt;/P&gt;&lt;P&gt;Then use two nested apply map statements, using the Exception mapping first, then the main mapping if the exception does not return a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See these posts&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.quickintelligence.co.uk/applymap-is-it-so-wrong/" title="https://www.quickintelligence.co.uk/applymap-is-it-so-wrong/"&gt;https://www.quickintelligence.co.uk/applymap-is-it-so-wrong/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 16:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441161#M432413</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-12-06T16:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create an exception table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441162#M432414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't the Exception table be the mapping Table? When the Main table is loaded, use applymap for the Manager Name field like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MappingTableName',[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Employee ID],[Manager Name]) as [Manager Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Or am I missing something?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 16:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441162#M432414</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-12-06T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create an exception table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441163#M432415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but using a mapping table allows you to specify a value if the Manager data is missing.&lt;/P&gt;&lt;P&gt;If all employees have the manager field populated then your example will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;ApplyMap('ExceptionMgrMap',[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Employee ID], &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;ApplyMap('EmployeeMgrMap',[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Employee ID],"Not Specified") &lt;/SPAN&gt;as [Manager Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 16:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-an-exception-table/m-p/1441163#M432415</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-12-06T16:50:22Z</dc:date>
    </item>
  </channel>
</rss>

