<?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 Set Analysis with OR in P function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999548#M339832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the sum of sales for all compaigns (main dimension) which are part&lt;/P&gt;&lt;P&gt;of either the sales-b campaigns or the sales-c campaigns (sub dimensions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can it be done? Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;CAMPAIGN=P([SALES_B CAMPAIGN]) OR CAMPAIGN=P([SALES_C CAMPAIGN])&amp;lt;} SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 10:13:19 GMT</pubDate>
    <dc:creator>hugmarcel</dc:creator>
    <dc:date>2015-08-26T10:13:19Z</dc:date>
    <item>
      <title>Set Analysis with OR in P function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999548#M339832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the sum of sales for all compaigns (main dimension) which are part&lt;/P&gt;&lt;P&gt;of either the sales-b campaigns or the sales-c campaigns (sub dimensions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can it be done? Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;CAMPAIGN=P([SALES_B CAMPAIGN]) OR CAMPAIGN=P([SALES_C CAMPAIGN])&amp;lt;} SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 10:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999548#M339832</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2015-08-26T10:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with OR in P function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999549#M339833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;CAMPAIGN=P([SALES_B CAMPAIGN])&lt;STRONG&gt;&amp;gt; + &amp;lt;&lt;/STRONG&gt; CAMPAIGN=P([SALES_C CAMPAIGN])&amp;gt;} SALES)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 10:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999549#M339833</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-08-26T10:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with OR in P function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999550#M339834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that's fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the correct formula if I want to have all campaigns which are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ( [SALES_B CAMPAIGN] OR [SALES_C CAMPAIGN] ) but NOT in [SALES_D CAMPAIGN]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 07:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999550#M339834</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2015-08-27T07:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with OR in P function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999551#M339835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;CAMPAIGN=P([SALES_B CAMPAIGN])&lt;STRONG&gt;&amp;gt; + &amp;lt;&lt;/STRONG&gt; CAMPAIGN=P([SALES_C CAMPAIGN])&lt;STRONG&gt;&amp;gt; - &amp;lt;&lt;/STRONG&gt; CAMPAIGN=P([SALES_&lt;STRONG&gt;D&lt;/STRONG&gt; CAMPAIGN])&amp;gt;} SALES)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 08:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-OR-in-P-function/m-p/999551#M339835</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-08-27T08:05:31Z</dc:date>
    </item>
  </channel>
</rss>

