<?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: How can i combine two sets into one expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329648#M121340</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;think of them of 2 sets of data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( { &amp;lt;set1&amp;gt; + &amp;lt;set2&amp;gt; } formula).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your case you can put the other fields you may choose as using the * character on the first expression (ex below with field 'ConsumerId' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( { &amp;lt;ConsumerId={'*'}, &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Year={2009},Month={11}&lt;/SPAN&gt;&amp;gt; + &amp;lt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Area={'North'},Group={'Direct'}&lt;/SPAN&gt;&amp;gt; } &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 17:52:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-02T17:52:47Z</dc:date>
    <item>
      <title>How can i combine two sets into one expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329646#M121338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I combine the following 2 sets into one expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to ignore current selections for the first part, but not the second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to combine the following;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set 1 = SUM({1&amp;lt;Year={2009},Month={11}&amp;gt;} Sales)&lt;BR /&gt;Set 2 = SUM({$&amp;lt;Area={'North'},Group={'Direct'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is is possible??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329646#M121338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-02T16:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can i combine two sets into one expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329647#M121339</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;It depends what you want to achive by combining. If you need an arthemetic operation between Set 1 and 2 then can directly join them. If you want set 1 and set 2 to made for union/intersection or any other "set theory" operations, QV support them thru set analysis operators. You can read about them more in QV help (Section "Set Operators" in "set analysis")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 17:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329647#M121339</guid>
      <dc:creator />
      <dc:date>2012-07-02T17:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can i combine two sets into one expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329648#M121340</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;think of them of 2 sets of data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( { &amp;lt;set1&amp;gt; + &amp;lt;set2&amp;gt; } formula).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your case you can put the other fields you may choose as using the * character on the first expression (ex below with field 'ConsumerId' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( { &amp;lt;ConsumerId={'*'}, &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Year={2009},Month={11}&lt;/SPAN&gt;&amp;gt; + &amp;lt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Area={'North'},Group={'Direct'}&lt;/SPAN&gt;&amp;gt; } &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 17:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329648#M121340</guid>
      <dc:creator />
      <dc:date>2012-07-02T17:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can i combine two sets into one expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329649#M121341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the adrianoalmeida.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({1&amp;lt;Year={2009},Month={11}&amp;gt; + $&amp;lt;Area={'North'},Group={'Direct'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i am getting unexpected results. I want the Area and Group selections to be based on the results of the Year and Month Set, but this doesn;t seem to be happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas anyone??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 19:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-combine-two-sets-into-one-expression/m-p/329649#M121341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-02T19:09:26Z</dc:date>
    </item>
  </channel>
</rss>

