<?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: Set inside a set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408236#M426193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are only looking for output '7' then try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum({1}Mailpiece_Count) -&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Pre_Adv_Customer-={"$(=Only({&amp;lt;Omc_Location_Id={3704}&amp;gt;}Notcus))"}&amp;gt;}Mailpiece_Count)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The logic you are assuming to exclude the field values and get the output is not correct, because the values are not mutually exclusive against other field values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2017 06:28:22 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-08-16T06:28:22Z</dc:date>
    <item>
      <title>Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408230#M426187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in writing an expression in which I want exclude POL1,POL3,POL4 for location 3704&amp;nbsp; in a way that I should get the remaining one. Eg total mailpiece count is 9 and exclusion is 2 so and should be 7. Attaching the sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ferha Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 05:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408230#M426187</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-08-16T05:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408231#M426188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which expression are you working on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 05:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408231#M426188</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-16T05:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408232#M426189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({&amp;lt;Omc_Location_Id={$(=Concat({&amp;lt;Pre_Adv_Customer-={$(vCustomer_Not)}&amp;gt;}Location_Not,','))}&amp;gt;}Mailpiece_Count)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write an expression in a way that it give me a result of 7 as 9 -2 =7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 05:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408232#M426189</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-08-16T05:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408233#M426190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferha,&lt;/P&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Location_Not&lt;/SPAN&gt;={'3704'},&lt;SPAN style="color: #800000;"&gt;Pre_Adv_Customer&lt;/SPAN&gt;={'POL1*','POL3*','POL4*'}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Mailpiece_Count&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 06:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408233#M426190</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-16T06:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408234#M426191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where we need to look? I mean which sheet? Which object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 06:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408234#M426191</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-16T06:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408235#M426192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sheet 2 and object table , expression is mentioned above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 06:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408235#M426192</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-08-16T06:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408236#M426193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are only looking for output '7' then try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum({1}Mailpiece_Count) -&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Pre_Adv_Customer-={"$(=Only({&amp;lt;Omc_Location_Id={3704}&amp;gt;}Notcus))"}&amp;gt;}Mailpiece_Count)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The logic you are assuming to exclude the field values and get the output is not correct, because the values are not mutually exclusive against other field values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 06:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408236#M426193</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-16T06:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408237#M426194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes that is correct but my condition is I want to get 7 without implementing a condition as sum(mailpiececount)-&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #800000;"&gt;Location_Not&lt;/SPAN&gt;={'3704'},&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #800000;"&gt;Pre_Adv_Customer&lt;/SPAN&gt;={'POL1*','POL3*','POL4*'}&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #800000;"&gt;Mailpiece_Count&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;) as 9-2=7 ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to write&amp;nbsp; a expression as one to get the result.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 07:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408237#M426194</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-08-16T07:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408238#M426195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can You explain why result is 7 ?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173536_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Edit : my expression is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Location_Not&lt;/SPAN&gt;={'3704'},&lt;SPAN style="color: #800000;"&gt;Pre_Adv_Customer-&lt;/SPAN&gt;={'POL1*','POL3*','POL4*'}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Mailpiece_Count&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 07:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408238#M426195</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-16T07:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408239#M426196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;because I want to exclude it , so the sum of mailpiececount is 9 and the condition will give 2 so the ans is 7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 08:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408239#M426196</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-08-16T08:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408240#M426197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp; Tresesco , I understood the expression but did not understand the reason which you gave, it would be helpful if you elaborate it more ,as why the condition cannot be implemented as I want it to implement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 11:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408240#M426197</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-08-16T11:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set inside a set</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408241#M426198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you exclude &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;POL1,POL3,POL4 and sum it, it actually sums for rest (selected in screenshot 1) of the &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Pre_Adv_Customer&lt;/EM&gt;&lt;/SPAN&gt; which is like in case 1 in screenshot that doesn't give you 7. If you fix the selection of &lt;EM&gt;Omc_location_id&lt;/EM&gt; to '3704' then the sum becomes 1( screen shot 2), because only one from rest members of &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Pre_Adv_Customer&lt;/EM&gt;&lt;/SPAN&gt; is relevant to it (refer 2 and 3).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG __jive_id="173563" alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173563_Untitled.png" style="height: auto;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 11:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inside-a-set/m-p/1408241#M426198</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-16T11:37:04Z</dc:date>
    </item>
  </channel>
</rss>

