<?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: Action on selection of an excluded value (or on clear field selections) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521805#M195012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;PS: Macro in Ajax - I didn't expect much, but simple selections could've worked&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: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&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: 12px; background-color: #f6f6f6;"&gt;Yes, I know... totally agree...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Sep 2013 18:57:36 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2013-09-15T18:57:36Z</dc:date>
    <item>
      <title>Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521797#M195004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a puzzle to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User makes selections in fields A, B, C, etc.&amp;nbsp; After making selection in the field A, user selects in field B.&amp;nbsp; &lt;STRONG&gt;User is allowed to select a value in B which is excluded by selection in A&lt;/STRONG&gt;.&amp;nbsp; I need to catch this situation somehow.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I wish there was an action “selection of excluded value”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When an excluded value is selected in the field B, the selection in field A is cleared.&amp;nbsp; Maybe there is a better chance to catch this event, but I didn’t find yet how to do it either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any ideas, preferably without macro, but for now anything goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 17:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521797#M195004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-13T17:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521798#M195005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Pl find attached Qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it meets you requirment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 18:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521798#M195005</guid>
      <dc:creator />
      <dc:date>2013-09-13T18:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521799#M195006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you can try to create a listbox using e(), which would give you excluded values. Or, even you can try alternate state in combination to that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 18:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521799#M195006</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-13T18:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521800#M195007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kirti,&lt;/P&gt;&lt;P&gt;Although it is not what I'm looking for, your example has a useful hint.&amp;nbsp; I can create a table, and if the number of rows = 0, this is the situation I need to catch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 18:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521800#M195007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-13T18:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521801#M195008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;This is exactly what I've been trying.&amp;nbsp; Created a list box for each field used for selections, and each in its own alternate state to allow mutually exclusive selections.&amp;nbsp; With the chart idea, it maybe an acceptable solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 18:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521801#M195008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-13T18:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521802#M195009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;Works, but not in web view.&amp;nbsp; Macro, where I check the number of rows in the staright table, simply refuses to start, although it is a safe macro, no need for system access.&amp;nbsp; It doesn't start even from a button in the web view.&amp;nbsp; Macro works fine if test it from Module, in the same web view.&lt;/P&gt;&lt;P&gt;Looking into other options...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 20:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521802#M195009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-13T20:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521803#M195010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how about this idea? Use an Action triggered off the OnChange event for the field A and set a variable to a certain value every time the current selection of the field is different (bigger/smaller) than the previous. I'm attaching a "straw man" for this approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not surprised that the macro doesn't work in AJAX - most macros don't work in AJAX...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 03:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521803#M195010</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-09-14T03:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521804#M195011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it to work with something rather similar to your idea.&amp;nbsp; My situation is in fact simpler than that, because only one value is selected in field A.&amp;nbsp; So, if it is canceled by another selection - nothing is selected in A.&amp;nbsp; Hence, the condition is:&lt;/P&gt;&lt;P&gt;if(&lt;STRONG&gt;GetSelectedCount("A")=0&lt;/STRONG&gt;,...,...)&lt;/P&gt;&lt;P&gt;And, no need for macro, alternate states, Auxiliary front end table.&amp;nbsp; Just to make sure that the selection order works correctly.&lt;/P&gt;&lt;P&gt;Marking your answer as correct - it is the closest to the actual solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;PS: Macro in Ajax - I didn't expect much, but simple selections could've worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 14:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521804#M195011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-14T14:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521805#M195012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;PS: Macro in Ajax - I didn't expect much, but simple selections could've worked&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: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&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: 12px; background-color: #f6f6f6;"&gt;Yes, I know... totally agree...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 18:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521805#M195012</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-09-15T18:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Action on selection of an excluded value (or on clear field selections)</title>
      <link>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521806#M195013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some follow-up...&lt;/P&gt;&lt;P&gt;I've created a small example of the solution, and posted here:&lt;BR /&gt;&lt;A href="https://community.qlik.com/docs/DOC-4913"&gt;Clear all selections if mutually exclusive selections requested by URL&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 20:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-on-selection-of-an-excluded-value-or-on-clear-field/m-p/521806#M195013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-24T20:16:49Z</dc:date>
    </item>
  </channel>
</rss>

