<?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 analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106217#M912232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this example you have posted, this seems to be working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Month = {$(=Num(Max(Month), '00')), $(=Num(Min(Month)-1, '00'))}&amp;gt;}[No of employees])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 13:28:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-01T13:28:24Z</dc:date>
    <item>
      <title>Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106216#M912231</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 have a table that looks a bit like this:&lt;/P&gt;&lt;P&gt;Year, Month, "No of employees"&lt;/P&gt;&lt;P&gt;2015, 10, 100&lt;/P&gt;&lt;P&gt;2015, 11, 102&lt;/P&gt;&lt;P&gt;2015, 12, 104&lt;/P&gt;&lt;P&gt;2016, 01, 103&lt;/P&gt;&lt;P&gt;2016, 02, 106&lt;/P&gt;&lt;P&gt;2016, 03, 108&lt;/P&gt;&lt;P&gt;2016, 04, 105&lt;/P&gt;&lt;P&gt;2016, 05, 110&lt;/P&gt;&lt;P&gt;2016, 06, 107&lt;/P&gt;&lt;P&gt;2016, 07, 111&lt;/P&gt;&lt;P&gt;2016, 08, 107&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;For example: If I select month 02,03 and 04 in a listbox I want QlikView to sum the no of emloyees for month &lt;STRONG&gt;01 &lt;/STRONG&gt;and &lt;STRONG&gt;04!&lt;/STRONG&gt; (103 and 105 for the year 2016) and if I select month 08,09,10,11 qlikview should take the no employees for month &lt;STRONG&gt;07&lt;/STRONG&gt; and &lt;STRONG&gt;11 &lt;/STRONG&gt;and sum it up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106216#M912231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106217#M912232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this example you have posted, this seems to be working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Month = {$(=Num(Max(Month), '00')), $(=Num(Min(Month)-1, '00'))}&amp;gt;}[No of employees])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 13:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106217#M912232</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-01T13:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106218#M912233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 13:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106218#M912233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-01T13:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106219#M912234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Another thought....&lt;/P&gt;&lt;P&gt;If I want to make a selection from 201509 to 201602 i will get a month that is = 00 and it will not work.&lt;/P&gt;&lt;P&gt;I want QV to use 201508 and 201602 for the calculation.&lt;/P&gt;&lt;P&gt;How can i solve that with a set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 06:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106219#M912234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-02T06:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106220#M912236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are absolutely right and that is why I don't like to use numbers and I prefer using Date fields (such as YearMonth in your case) here. Do you have this as date in your original application or numbers?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 09:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/1106220#M912236</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-02T09:13:12Z</dc:date>
    </item>
  </channel>
</rss>

