<?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: Field event trigger after specific selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375527#M704137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evelien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would attempt to solve this at the script level.&lt;/P&gt;&lt;P&gt;It seems as if you know exactly what Key_IC values need to be excluded. If you really know this, then I would build a flag function&amp;nbsp; in the script marks your intercompany values with a flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(Key_IC='VIT68199',1,if(Key_IC='VIT28187',1,if(Key_IC='SNS32021',1,if(Key_IC='SNS54026',1,0)))) as Flag_Intercompany_Key_IC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on and so forth for your other values ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you can use different flags than 1 and 0, but that's up to you.&lt;/P&gt;&lt;P&gt;You would only need a trigger that reacts on a selection in Company and selects your '0' in your flag field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 13:40:49 GMT</pubDate>
    <dc:creator>jjfabian</dc:creator>
    <dc:date>2012-07-02T13:40:49Z</dc:date>
    <item>
      <title>Field event trigger after specific selection</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375524#M704134</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 a QVW with financial data from 3 companies.&lt;/P&gt;&lt;P&gt;Now I have to find a way to do Intercompany Elimination.&lt;/P&gt;&lt;P&gt;(what means that if I select 2 companies together, the invoices they made to eachother should not be show.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to make this with buttons, which works fine.&lt;/P&gt;&lt;P&gt;The problem is that there will be 15 different companies in the same QVW, which makes for a lot of buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I would like to try the same thing as the button, but with Field Event Triggers.&lt;/P&gt;&lt;P&gt;I'm working for the first time with the Field Event Triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a possibilty you could set a trigger after a specific selection in a field?&lt;/P&gt;&lt;P&gt;Because now, I put an Event trigger on the field "company" but as soon as I click on one of those companies, the trigger is activated.&lt;/P&gt;&lt;P&gt;And you can't select an individual company anymore.&lt;/P&gt;&lt;P&gt;I would only want the trigger to activate on a specific selection in the field "company'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if this is possible?&lt;/P&gt;&lt;P&gt;And how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 09:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375524#M704134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-02T09:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Field event trigger after specific selection</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375525#M704135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there's no such possibility in the triggers. &lt;/P&gt;&lt;P&gt;But an elegant solution is probably out there, we'll just need more information on your specific problem.&lt;/P&gt;&lt;P&gt;How do you buttons work exactly? Do you have a flag for intercompany transactions or anything similar?&lt;/P&gt;&lt;P&gt;Elimininating those transactions with a flag seems like a natural way of getting rid of those numbers you don't want in your QVW (if that's what you want to do).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 10:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375525#M704135</guid>
      <dc:creator>jjfabian</dc:creator>
      <dc:date>2012-07-02T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Field event trigger after specific selection</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375526#M704136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jakob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 companies: VIT, SNS &amp;amp; NUSC&lt;/P&gt;&lt;P&gt;Now the button does the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select in Field:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (VIT|SNS)&lt;/P&gt;&lt;P&gt;Select in Field:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key_IC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (VIT68199|VIT28187|SNS32021|SNS54026)&lt;/P&gt;&lt;P&gt;Select Excluded:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key_IC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a second button for the companies (VIT|NUSC), with other Key_IC values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key_IC value is build with the company name &amp;amp; the customer/supplier number of the other company.&lt;/P&gt;&lt;P&gt;For example: In company VIT, the supplier number for supplier SNS is 68199. This gives VIT68199&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In company SNS, the customer number for customer VIT is 54026. This gives SNS28187.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives enough information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Evelien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 12:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375526#M704136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-02T12:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Field event trigger after specific selection</title>
      <link>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375527#M704137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evelien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would attempt to solve this at the script level.&lt;/P&gt;&lt;P&gt;It seems as if you know exactly what Key_IC values need to be excluded. If you really know this, then I would build a flag function&amp;nbsp; in the script marks your intercompany values with a flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(Key_IC='VIT68199',1,if(Key_IC='VIT28187',1,if(Key_IC='SNS32021',1,if(Key_IC='SNS54026',1,0)))) as Flag_Intercompany_Key_IC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on and so forth for your other values ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you can use different flags than 1 and 0, but that's up to you.&lt;/P&gt;&lt;P&gt;You would only need a trigger that reacts on a selection in Company and selects your '0' in your flag field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 13:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-event-trigger-after-specific-selection/m-p/375527#M704137</guid>
      <dc:creator>jjfabian</dc:creator>
      <dc:date>2012-07-02T13:40:49Z</dc:date>
    </item>
  </channel>
</rss>

