<?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 highlight keys that dont match and throw exception in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/highlight-keys-that-dont-match-and-throw-exception/m-p/531044#M198479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Master - Defines the Items allowed&lt;/P&gt;&lt;P&gt;2. Trans&amp;nbsp; - The transaction on item level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the transaction is filled in incorrectly, and the Item number does not match the Master item, how can i throw an exception so that the user is aware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was imaging a popup window (visualization) based on a condition like match or can this be caught at load time and throw an error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my application is attached below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Oct 2013 08:46:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-26T08:46:02Z</dc:date>
    <item>
      <title>highlight keys that dont match and throw exception</title>
      <link>https://community.qlik.com/t5/QlikView/highlight-keys-that-dont-match-and-throw-exception/m-p/531044#M198479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Master - Defines the Items allowed&lt;/P&gt;&lt;P&gt;2. Trans&amp;nbsp; - The transaction on item level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the transaction is filled in incorrectly, and the Item number does not match the Master item, how can i throw an exception so that the user is aware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was imaging a popup window (visualization) based on a condition like match or can this be caught at load time and throw an error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my application is attached below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 08:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/highlight-keys-that-dont-match-and-throw-exception/m-p/531044#M198479</guid>
      <dc:creator />
      <dc:date>2013-10-26T08:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: highlight keys that dont match and throw exception</title>
      <link>https://community.qlik.com/t5/QlikView/highlight-keys-that-dont-match-and-throw-exception/m-p/531045#M198480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use exists() funtion to check on field value already exists in Master table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe like attached (using an invalid statement to throw an error on load).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 10:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/highlight-keys-that-dont-match-and-throw-exception/m-p/531045#M198480</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-26T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: highlight keys that dont match and throw exception</title>
      <link>https://community.qlik.com/t5/QlikView/highlight-keys-that-dont-match-and-throw-exception/m-p/531046#M198481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could load your transaction with a where-clause with exists(item) but then you or your user don't know if there are incorrect data. Perhaps it is better you make a mapping with applymap - if(applymap('master', item, 'error') = 'error', 'incorrect data', 'correct data') as ErrorFlagField - and you can switch per selection between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 10:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/highlight-keys-that-dont-match-and-throw-exception/m-p/531046#M198481</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-10-26T10:44:37Z</dc:date>
    </item>
  </channel>
</rss>

