<?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: Logical OR in QlikView? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448355#M558083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is an example showing what Gysbert suggested. I've put the two listboxes in different states so the selections don't interfere with one another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2013 19:19:39 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2013-06-06T19:19:39Z</dc:date>
    <item>
      <title>Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448353#M558081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like a simple request, but also seems difficult to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you have 2 list boxes:&lt;/P&gt;&lt;P&gt;State&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Season&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User wants to see a Sum of some field where State = some value OR Season = some other value.&amp;nbsp; So for example, Sum number of storms where State = Florida OR Season = Spring.&amp;nbsp; I know how to hardcode these specific selections using set analysis, but how can I allow the users to rapidly qlik different values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 18:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448353#M558081</guid>
      <dc:creator />
      <dc:date>2013-06-06T18:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448354#M558082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use this with just listboxes. A selection in one field may contradict with a selection in another field. In that case the selections in the other field would be cleared. If you have QV11 you can use alternate states for the different listboxes so the selections don't interfere with each other. This can be confusing for the user though if you don't make clear exactly how the setup works. You can use the alternate states in set analysis expressions. You can also try using input boxes with variables and use the variables in the set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The kind of set analysis expression for the logical OR looks like sum({&amp;lt;State={'some value'}&amp;gt; &lt;STRONG&gt;+&lt;/STRONG&gt; &amp;lt;Season={'some other value'}&amp;gt;} Value). The + adds the two sets together. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 18:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448354#M558082</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-06T18:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448355#M558083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is an example showing what Gysbert suggested. I've put the two listboxes in different states so the selections don't interfere with one another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 19:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448355#M558083</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-06-06T19:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448356#M558084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, both of you.&amp;nbsp; I had a feeling it would have to be done some way like this.&amp;nbsp; Now I'm wondering if there can be any easy way to fast swap between AND and OR.&amp;nbsp; A switch of some sort to dynamically change the "&amp;gt; + &amp;lt;" part of the set analysis with ", ".&amp;nbsp; Although if there were 5 listboxes, they may want to use something like (A OR B) AND (C OR D) AND E, but at that point, the business user may have to learn set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 19:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448356#M558084</guid>
      <dc:creator />
      <dc:date>2013-06-06T19:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448357#M558085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's an intriguing idea. See attached sample. I believe the set operator in this case will be "*", not ",".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 22:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448357#M558085</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-06-06T22:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448358#M558086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are examples and discussion on this topic over on this thread also: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-5113" style="font-size: 10pt; line-height: 1.5em;"&gt;http://community.qlik.com/docs/DOC-5113&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use of multiple states certainly seems like a good way to de-couple selections from the rest of data model, and Set Analysis provides a neat mechanism for pulling things back together again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2013 07:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448358#M558086</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-10-20T07:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448359#M558087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a solution that doesn't use alternate states, just set analysis. You can find more information, including the full, reusable expression and a sample application, here: &lt;A href="http://www.qlikfix.com/2013/10/23/and-or-mode-selections-in-qlikview/" title="http://www.qlikfix.com/2013/10/23/and-or-mode-selections-in-qlikview/"&gt;Or-mode selections in QlikView The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 21:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448359#M558087</guid>
      <dc:creator>barryharmsen</dc:creator>
      <dc:date>2013-10-24T21:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Logical OR in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448360#M558088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Barry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please send me the example QVW for the same. I was unable to implement the solution specified above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logical-OR-in-QlikView/m-p/448360#M558088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T10:45:04Z</dc:date>
    </item>
  </channel>
</rss>

