<?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: Sum with Set analysis for a distinct period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879434#M306981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;may be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month_Date={'&amp;gt;=$(=Min(Month_Date))&amp;lt;=$(=Max({1}Month_Date))'},Month_name=&amp;gt;} Days)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 12:34:13 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2015-07-15T12:34:13Z</dc:date>
    <item>
      <title>Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879430#M306977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck with set analysis in my straight table. &lt;/P&gt;&lt;P&gt;I need to get a sum of days for the period:&lt;STRONG&gt; from&lt;/STRONG&gt; the month picked by user in my "Months" filter &lt;STRONG&gt;till Dec- 2015. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this purpose I used the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month_Date={"&amp;gt;=$(=Date(addmonths(Month_Date,1),'MMM-YY')&amp;lt;='Dec-15'"},Month_name=&amp;gt;} Days)&lt;/P&gt;&lt;P&gt;But it's not working! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need sum of days for previous month ( the one before the month that picked by user in &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"Months" filter&lt;/SPAN&gt;) :&lt;/P&gt;&lt;P&gt;Again the expression I used:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month_Date={"=$(=addmonths(Month_Date,-1)"},Month_name=&amp;gt;} Days)&lt;/P&gt;&lt;P&gt;Again the same result as the previous one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please help me to sort this out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample app is attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879430#M306977</guid>
      <dc:creator />
      <dc:date>2015-07-15T10:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879431#M306978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this is what you wanted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Vacations current month till December&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month_Date={"$(='&amp;gt;=' &amp;amp; Date(addmonths(Max(Month_Date),1),'MMM-YY') &amp;amp; '&amp;lt;=' &amp;amp; Date(YearEnd(Max(Month_Date)), 'MMM-YY'))"},Month_name=&amp;gt;} Days)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prvious Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month_Date={"$(=Date(addmonths(Max(Month_Date),-1), 'MMM-YY'))"},Month_name=&amp;gt;} Days)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879431#M306978</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-15T10:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879432#M306979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesnt seem to work properly. It doesnt sum up all the values starting from the picked month till December&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 11:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879432#M306979</guid>
      <dc:creator />
      <dc:date>2015-07-15T11:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879433#M306980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be ideal if you can let me know some selections and expected results when we make those selections. I am not familiar with the expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879433#M306980</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-15T12:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879434#M306981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;may be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month_Date={'&amp;gt;=$(=Min(Month_Date))&amp;lt;=$(=Max({1}Month_Date))'},Month_name=&amp;gt;} Days)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879434#M306981</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-15T12:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879435#M306982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, if u choose July in the filter and then look the first on in the table of employee (Emp_name: &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Aaelyjkig Wvfq), the sum of days for this employee is 0 now. However it should be 7. The total of the column "Vacations current month till December" should be 110 for July, and now it's 35.&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="162"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879435#M306982</guid>
      <dc:creator />
      <dc:date>2015-07-15T12:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879436#M306983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, it shows the sum of all year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879436#M306983</guid>
      <dc:creator />
      <dc:date>2015-07-15T12:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879437#M306984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just try to change Min(Month) to Max(Month).&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sum({&amp;lt;Month_Date={'&amp;gt;=$(=Max(Month_Date))&amp;lt;=$(=Max({1}Month_Date))'},Month_name=&amp;gt;} Days)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="comm.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92932_comm.JPG" style="height: 262px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879437#M306984</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-15T13:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with Set analysis for a distinct period</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879438#M306985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Please find the attached sample.It may be your desired result i think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Previous Month&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month_Date={"$(='&amp;gt;=' &amp;amp; Date(AddMonths(Max(Month_Date),-1),'MMM-YY'))"}&amp;gt;}Days) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-Set-analysis-for-a-distinct-period/m-p/879438#M306985</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-07-15T13:40:07Z</dc:date>
    </item>
  </channel>
</rss>

