<?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 Activating one filter deactivates other filter. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Activating-one-filter-deactivates-other-filter/m-p/1427167#M34119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just wonder if there is an option to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two filters: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Profitable Companies based on 4year weighed average&lt;/P&gt;&lt;P&gt;2. Profitable Companies based on 3year weighed average&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously it does not make sense to use both at once. Thus, i am wondering if there is an option to use something like "getfieldselections" or something similar to actual deactivate one filter if the other one has been selected. (each filter works as a dummy variable, there is either a company marked as profitable based on the weighed average relevant for the type of calculation, or value is a null)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 13:38:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-15T13:38:38Z</dc:date>
    <item>
      <title>Activating one filter deactivates other filter.</title>
      <link>https://community.qlik.com/t5/App-Development/Activating-one-filter-deactivates-other-filter/m-p/1427167#M34119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just wonder if there is an option to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two filters: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Profitable Companies based on 4year weighed average&lt;/P&gt;&lt;P&gt;2. Profitable Companies based on 3year weighed average&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously it does not make sense to use both at once. Thus, i am wondering if there is an option to use something like "getfieldselections" or something similar to actual deactivate one filter if the other one has been selected. (each filter works as a dummy variable, there is either a company marked as profitable based on the weighed average relevant for the type of calculation, or value is a null)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 13:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Activating-one-filter-deactivates-other-filter/m-p/1427167#M34119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-15T13:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Activating one filter deactivates other filter.</title>
      <link>https://community.qlik.com/t5/App-Development/Activating-one-filter-deactivates-other-filter/m-p/1427168#M34120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bringing up my post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, I have tried something as the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getfieldselections([Three Years History]) = 'Three Years History',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if([Company earned weighted average operating loss] = 'Accepted', 'Profitable Companies 3Y'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Company earned weighted average operating loss 4Y] = 'Accepted', 'Profitable Companies 4Y'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filter Three Years History &lt;STRONG&gt;not active&lt;/STRONG&gt; &amp;amp; the above presented filter &lt;STRONG&gt;not active&lt;/STRONG&gt; --&amp;gt; all working fine (obviously)&lt;/P&gt;&lt;P&gt;Filter Three Years History &lt;STRONG&gt;active &lt;/STRONG&gt;&amp;amp; the above presented filter &lt;STRONG&gt;not active &lt;/STRONG&gt;--&amp;gt; all working fine&lt;/P&gt;&lt;P&gt;Filter Three Years History &lt;STRONG&gt;active &lt;/STRONG&gt;&amp;amp; the above presented filter &lt;STRONG&gt;active &lt;/STRONG&gt;--&amp;gt; all working fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;last option&lt;/P&gt;&lt;P&gt;Filter Three Years History &lt;STRONG&gt;not active &lt;/STRONG&gt;&amp;amp; the above presented filter &lt;STRONG&gt;active &lt;/STRONG&gt;--&amp;gt; activation of this while Three Years Filter is not active starts some weird actions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. it activates automatically the filter Three Years History&lt;/P&gt;&lt;P&gt;2. activates the if([Company earned weighted average operating loss 4Y] = 'Accepted', 'Profitable Companies 4Y'))&lt;/P&gt;&lt;P&gt;3. gives nonsense results as it is combining the options that are basically impossible to combine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3y history + average based on 4years...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this a bug or is this intended?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Mean I would expect that this would work in a following logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"If there is current selection x, use this filter, else use that filter" and that is it.. this seems that having that if(getfieldselections) in a given filter I can actually activate the other filter value which seems very weird to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Added a qvf (simplified version where you can see the functionality of what I mean, each filter is there as typical Qlik Filter as well as "list box version" second one is an extension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Activating-one-filter-deactivates-other-filter/m-p/1427168#M34120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T06:08:15Z</dc:date>
    </item>
  </channel>
</rss>

