<?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: Problem with document_level triggers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-document-level-triggers/m-p/896489#M312023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay. This is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 09:06:11 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-07-07T09:06:11Z</dc:date>
    <item>
      <title>Problem with document_level triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-document-level-triggers/m-p/896487#M312021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following issue:&lt;/P&gt;&lt;P&gt;- In a new app of mine, I compare two datasets along three or four different dimensions.&lt;/P&gt;&lt;P&gt;- The comparisons in the script are done on subsequent script_tabs in a nr. of RESIDENT LOADs&lt;/P&gt;&lt;P&gt;=&amp;gt; I end up with three or four fields flagging the differences along those dimensions.&lt;/P&gt;&lt;P&gt;=&amp;gt; On one sheet, I have a number of charts depicting those detail differences; These are using those different fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; On another sheet, I have an all-in-one chart (a horizontal barchart, with the 0 in the middle) depicting all the differences at a glance to provide the user with a possibility of getting a quick overview and then having a closer look at the "biggest chunks".&lt;/P&gt;&lt;P&gt;=&amp;gt; This chart cannot use four different dimensions, so on the last script_tab I combine those four into one field for the differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I want to fix now is that when the user clicks one of the bars on that all-in-one chart, the reduction of the dataset is of course reflected on the other sheet, but the selection is still on another field - some things on that other sheet query the selections using &lt;STRONG&gt;Getfieldselections()&lt;/STRONG&gt; - that doesn't work of course.&lt;/P&gt;&lt;P&gt;=&amp;gt; So I tried to implement several triggers on document_level, &lt;STRONG&gt;upon selection&lt;/STRONG&gt; on that combined field, to automatically select the&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; corresponding values on the three other fields.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; QlikView seems to get confused somehow when I have three document_level triggers reacting to selections on the same field - it&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worked fine when I had only the first one, but now I added the second one and only one is being fired, the first one remains&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; untouched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me there? Do I perhaps have to have an if_element inside my IF_clause for every possible selection and just a dummy else_element? I will try that (up to now, I do have an else_element, but - well, something must be the cause of this malfunction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 08:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-document-level-triggers/m-p/896487#M312021</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-07T08:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document_level triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-document-level-triggers/m-p/896488#M312022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. It seems that was the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a PICK(MATCH()) formula for the first trigger, encompassing all possible scenarios.&lt;/P&gt;&lt;P&gt;The second and third trigger (those fields come into play only when the first comparison returns a specific result) have an IF_construct, encompassing all the scenarios for which they can be relevant&lt;/P&gt;&lt;P&gt;=&amp;gt; I have no implicit ELSE_elements anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This, however, raised another problem - one for which I had been here before and which was solved actually.&lt;/P&gt;&lt;P&gt;There is a percentage displayed on the different bars in my all-in-one chart - those show the correct value with no selections yet made - as soon as the user has selected one of the bars, that shows 100%.&lt;/P&gt;&lt;P&gt;I guess I already have an idea, though,&lt;/P&gt;&lt;P&gt;Let's see. I will be back here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 08:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-document-level-triggers/m-p/896488#M312022</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-07T08:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document_level triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-document-level-triggers/m-p/896489#M312023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay. This is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 09:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-document-level-triggers/m-p/896489#M312023</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-07T09:06:11Z</dc:date>
    </item>
  </channel>
</rss>

