<?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 New to QlikView (Not even a baby) - How to do selection with &amp;quot;OR&amp;quot;  condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-to-QlikView-Not-even-a-baby-How-to-do-selection-with-quot-OR/m-p/317100#M1196825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt; I am very new to QlikView . We are in the process of evaluating QV. I have downloaded the personal edition and was playing with it showing demos to our executives and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once key thing came up in our discussion was doing an "OR" selection between two fileds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX.&amp;nbsp; If I want to see orders were “created on 1/1/2011”&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt; &lt;/SPAN&gt; “Product_Code = 10002”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default (according to my very little understanding withQV) if I select two fields they are being joined using “AND”&amp;nbsp; and theabove selection will retrieve all the order for 10002 on 1/1/2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another example.&lt;/P&gt;&lt;P&gt;If I want to see orders that were generated for“Product_Code = 10002” on 1/1/2011&amp;nbsp; also for “Product_Code = 80009” on 4/1/2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Product_Code = 10002&amp;nbsp; AND ORD_DT = 1/1/2011")&amp;nbsp;&amp;nbsp; OR&amp;nbsp;&amp;nbsp; (Product_Code = 80009&amp;nbsp;&amp;nbsp; AND ORD_DT = 4/1/2010)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 21:02:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-20T21:02:25Z</dc:date>
    <item>
      <title>New to QlikView (Not even a baby) - How to do selection with "OR"  condition</title>
      <link>https://community.qlik.com/t5/QlikView/New-to-QlikView-Not-even-a-baby-How-to-do-selection-with-quot-OR/m-p/317100#M1196825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt; I am very new to QlikView . We are in the process of evaluating QV. I have downloaded the personal edition and was playing with it showing demos to our executives and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once key thing came up in our discussion was doing an "OR" selection between two fileds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX.&amp;nbsp; If I want to see orders were “created on 1/1/2011”&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt; &lt;/SPAN&gt; “Product_Code = 10002”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default (according to my very little understanding withQV) if I select two fields they are being joined using “AND”&amp;nbsp; and theabove selection will retrieve all the order for 10002 on 1/1/2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another example.&lt;/P&gt;&lt;P&gt;If I want to see orders that were generated for“Product_Code = 10002” on 1/1/2011&amp;nbsp; also for “Product_Code = 80009” on 4/1/2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Product_Code = 10002&amp;nbsp; AND ORD_DT = 1/1/2011")&amp;nbsp;&amp;nbsp; OR&amp;nbsp;&amp;nbsp; (Product_Code = 80009&amp;nbsp;&amp;nbsp; AND ORD_DT = 4/1/2010)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 21:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-to-QlikView-Not-even-a-baby-How-to-do-selection-with-quot-OR/m-p/317100#M1196825</guid>
      <dc:creator />
      <dc:date>2011-05-20T21:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: New to QlikView (Not even a baby) - How to do selection with "OR"  condition</title>
      <link>https://community.qlik.com/t5/QlikView/New-to-QlikView-Not-even-a-baby-How-to-do-selection-with-quot-OR/m-p/317101#M1196826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;AP,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;3 Months back, I was in your shoes...evaluating QV. Anyway here is the information...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;A multiple selection within a list box is usually interpreted as logical &lt;STRONG&gt;"OR"&lt;/STRONG&gt;, meaning that data entries associated with any of the selected values will be shown. However, under certain circumstances it can be set to be interpreted as &lt;STRONG&gt;"AND"&lt;/STRONG&gt;, implying that QlikView must find the solutions that are associated to all the selected field values, not just to any of them. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;The mode for the field is set in the list box dialog &lt;STRONG&gt;(Object menu &amp;gt;&amp;gt; Properties &amp;gt;&amp;gt; General &amp;gt;&amp;gt; And mode).&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;A value in a list box in &lt;STRONG&gt;"And"&lt;/STRONG&gt; mode will be marked with an ampersand &lt;STRONG&gt;"&amp;amp;"&lt;/STRONG&gt; when selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;And-Tables :&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;A field cannot always be set to logical and mode. The reason for this is that the and alternative is logically meaningful only if the concerned field is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;linked to only one other field. The following criteria must be fulfilled:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; • the field must only exist in one logical table,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; • the field must be the second column, and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; • the field must be distinct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Also you should explore "&lt;STRONG&gt;Set Analysis" &lt;/STRONG&gt;features. With Set Analysis the possibilities are endless... I mean you can do pretty much everything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I am also attaching a simple presentation on Set Analysis for your consumption.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Do let me know if you need further help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2011 09:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-to-QlikView-Not-even-a-baby-How-to-do-selection-with-quot-OR/m-p/317101#M1196826</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-05-22T09:57:39Z</dc:date>
    </item>
  </channel>
</rss>

