<?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: or clause in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718523#M258160</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;"&gt;condition1 AND (condition2 OR condition3) = (cond1 And cond2) Or (cond1 And cond3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;SUM({&amp;lt;FIELD1 = {1},FIELD2 = {2}&amp;gt; + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;FIELD1 = {1},FIELD3 = {3}&amp;gt;&lt;/SPAN&gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 11:56:17 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-09-29T11:56:17Z</dc:date>
    <item>
      <title>or clause in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718517#M258154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if it is possible to handle the following issue in a set analysis:&lt;/P&gt;&lt;P&gt;have the next data structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEY| numericValue|&amp;nbsp; FIELD1 | FIELD2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate a sum on a certain field (numericValue) under to conditions:&lt;/P&gt;&lt;P&gt;1) FIELD1 = 1 OR FIELD2= 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at first I had only FIELD1 and I used a sum with a simple set analysis, not I have an OR clause and&lt;/P&gt;&lt;P&gt;I'm trying to find a solution, and don't know whether set analysis supports OR clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718517#M258154</guid>
      <dc:creator />
      <dc:date>2014-09-29T11:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: or clause in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718518#M258155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({&amp;lt;FIELD1 = {1}&amp;gt; + &amp;lt;FIELD2 = {2}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718518#M258155</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-29T11:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: or clause in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718519#M258156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Field={1}&amp;gt;+&amp;lt;Field={2}&amp;gt;} values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718519#M258156</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-29T11:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: or clause in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718520#M258157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+ means OR?&lt;/P&gt;&lt;P&gt;what about AND then? is it represented by a comma?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you give me an example for this type of set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condition1 AND (condition2 OR condition3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718520#M258157</guid>
      <dc:creator />
      <dc:date>2014-09-29T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: or clause in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718521#M258158</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;"&gt;FIELD1 = 1 And &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FIELD2 = 2&lt;/SPAN&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;"&gt;SUM({&amp;lt;FIELD1 = {1},FIELD2 = {2}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718521#M258158</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-29T11:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: or clause in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718522#M258159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM({&amp;lt;Region = {'R1','R3'}&amp;gt;+&amp;lt;Country = {'Holand'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above will give you SUM(Sales) for Region = either R1 and R3 or Country = Holand...&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Region = {'R1','R3'}&amp;gt;}Sales) + SUM({&amp;lt;Country = {'Holand'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718522#M258159</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-29T11:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: or clause in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718523#M258160</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;"&gt;condition1 AND (condition2 OR condition3) = (cond1 And cond2) Or (cond1 And cond3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;SUM({&amp;lt;FIELD1 = {1},FIELD2 = {2}&amp;gt; + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;FIELD1 = {1},FIELD3 = {3}&amp;gt;&lt;/SPAN&gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 11:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/or-clause-in-set-analysis/m-p/718523#M258160</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-29T11:56:17Z</dc:date>
    </item>
  </channel>
</rss>

