<?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: Month and Year Set Analysis Comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468844#M175105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mm .. I did some test ... if the final result is 566 .. &lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/266217/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to get a table similar to the left side? right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;IMG alt="Capture.PNG" class="jive-image" src="https://community.qlik.com/legacyfs/online/22963_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 20:41:51 GMT</pubDate>
    <dc:creator>GabrielAraya</dc:creator>
    <dc:date>2012-10-04T20:41:51Z</dc:date>
    <item>
      <title>Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468837#M175098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me why this expression is returning nothing. The dates are both in MMM-YYYY format. My dimension is CalendarMonthAndYear and the dashboard is Comings and Goings the object is Monthly Turnover.&amp;nbsp; I have attached the .qvw for someone if they want to look at it. Much appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count ({&amp;lt;CalendarMonthAndYear = {"&amp;lt;=$(=MonthEnd(Date(Date#(NLE_MonthName, 'MMM-YYYY'))))"}&amp;gt;} EmployeeDirectory.ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;OnePuttGirl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 16:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468837#M175098</guid>
      <dc:creator />
      <dc:date>2012-10-04T16:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468838#M175099</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 seems, everithing works well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 18:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468838#M175099</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-10-04T18:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468839#M175100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whiteline,&lt;/P&gt;&lt;P&gt;Did you check my Monthly turnover object. It doesn't populate and my expression isn't working. If you look at the Yellow NLE Date Code on the right it is ignoring the Set Analysis. Do you have an suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;OnePuttGirl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 19:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468839#M175100</guid>
      <dc:creator />
      <dc:date>2012-10-04T19:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468840#M175101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mmm I thought that you have problem with the expression ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You Wrote:&lt;/P&gt;&lt;P&gt;(Count ({&amp;lt;CalendarMonthAndYear = {"$(=MonthEnd(Date(Date#(NLE_MonthName, 'MMM-YY'))))"}&amp;gt;} EmployeeDirectory.ID))&lt;/P&gt;&lt;P&gt;//&amp;gt;*&amp;lt;CalendarMonthAndYear = {"&amp;gt;=$(=MonthEnd(Date(Date#(EmployeeDirectory.DOH, 'MMM-YYYY'))))"}&lt;/P&gt;&lt;P&gt;//(Count({&amp;lt;DOH_Year={'&amp;lt;=$(vCurrentYear)'}&amp;gt;} EmployeeDirectory.ID))&lt;/P&gt;&lt;P&gt;if (([CalendarMonthName])='Sep',(Count({&amp;lt;NLE_Year={'$(vCurrentYear)'},NLE_Month={'Sep'}&amp;gt;} EmployeeDirectory.ID))/(Count({&amp;lt;EmployeeDirectory.DOH={'&amp;lt;=$(09/30/2012)'},NLEIndicator={'0'}&amp;gt;} EmployeeDirectory.ID)))&lt;/P&gt;&lt;P&gt;//if (([CalendarMonthName])='Sep',(Count({&amp;lt;NLE_Year={'$(vCurrentYear)'},NLE_Month={'Sep'}&amp;gt;} EmployeeDirectory.ID))/(Count({&amp;lt;NLE_Year={'&amp;lt;=$(vCurrentYear)'},NLE_MonthNum={'&amp;lt;=9'}&amp;gt;} EmployeeDirectory.ID)))&lt;/P&gt;&lt;P&gt; //&amp;nbsp;&amp;nbsp;&amp;nbsp; if (WeekDay([vToday])='Tue',(Sum({$&amp;lt;DaysFilled.Date = {'$(=vSevenDayAgo)'} &amp;gt;} DaysFilled.Days)-Sum({$&amp;lt;DaysFilled.Date = {'$(=vEightDayAgo)'} &amp;gt;}DaysFilled.Days)),&lt;/P&gt;&lt;P&gt; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (WeekDay([vToday])='Wed',(Sum({$&amp;lt;DaysFilled.Date = {'$(=vEightDayAgo)'} &amp;gt;} DaysFilled.Days)-Sum({$&amp;lt;DaysFilled.Date = {'$(=vNineDayAgo)'} &amp;gt;}DaysFilled.Days)),&lt;/P&gt;&lt;P&gt; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (WeekDay([vToday])='Thu',(Sum({$&amp;lt;DaysFilled.Date = {'$(=vNineDayAgo)'} &amp;gt;} DaysFilled.Days)-Sum({$&amp;lt;DaysFilled.Date = {'$(=vTenDayAgo)'} &amp;gt;}DaysFilled.Days)),&lt;/P&gt;&lt;P&gt; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (WeekDay([vToday])='Fri',(Sum({$&amp;lt;DaysFilled.Date = {'$(=vTenDayAgo)'} &amp;gt;} DaysFilled.Days)-Sum({$&amp;lt;DaysFilled.Date = {'$(=vElevenDayAgo)'} &amp;gt;}DaysFilled.Days)))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fist of all, the field CalendarMonthAndYear has a format MMM YY and you wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"$(=MonthEnd(Date(Date#(NLE_MonthName, 'MMM-YY'))))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with format MMM-YY with dash ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second .. the DATE function is in wrong position .. It should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"$(=Date(MonthEnd(Date#(NLE_MonthName, 'MMM YY')),'MMM YY'))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another issue is ... you have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count ({&amp;lt;CalendarMonthAndYear = {"$(=MonthEnd(Date(Date#(NLE_MonthName, 'MMM-YY'))))"}&amp;gt;} EmployeeDirectory.ID)) and the next line no commented is an IF ... I thin that you omitted an operator ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 19:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468840#M175101</guid>
      <dc:creator>GabrielAraya</dc:creator>
      <dc:date>2012-10-04T19:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468841#M175102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gabriel,&lt;/P&gt;&lt;P&gt;Isn't the CalendarMonthAndYear date format is 'MMM YYYY'&amp;nbsp; which would be 'Jan 2012 and doesn't 'MMM YY' return 'Jan 12'? I still am not getting any return results from the expression you gave me. The resulting count of 566 is the total records in the table and is ignoring the Set Analysis. Any other suggestions. Maybe you can attach your working expresssion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;OnePuttGirl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 19:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468841#M175102</guid>
      <dc:creator />
      <dc:date>2012-10-04T19:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468842#M175103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mm Test the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;CalendarMonthAndYear = {"$(=Date(MonthEnd(Date#(NLE_MonthName, 'MMM YYYY')),'MMM YYYY'))"}&amp;gt;} &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmployeeDirectory.ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 19:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468842#M175103</guid>
      <dc:creator>GabrielAraya</dc:creator>
      <dc:date>2012-10-04T19:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468843#M175104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gabriel,&lt;/P&gt;&lt;P&gt;I get the same thing returned. Is there anyway I can set the CalendarMonthAndYear and then test that the expression is returning the correct count?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 20:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468843#M175104</guid>
      <dc:creator />
      <dc:date>2012-10-04T20:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468844#M175105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mm .. I did some test ... if the final result is 566 .. &lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/266217/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to get a table similar to the left side? right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;IMG alt="Capture.PNG" class="jive-image" src="https://community.qlik.com/legacyfs/online/22963_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 20:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468844#M175105</guid>
      <dc:creator>GabrielAraya</dc:creator>
      <dc:date>2012-10-04T20:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468845#M175106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Correct what you have on the right is what I am looking for. Can you attach the .qvw that gave you this object? Thank you so much for helping me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 20:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468845#M175106</guid>
      <dc:creator />
      <dc:date>2012-10-04T20:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468846#M175107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you are ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 20:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468846#M175107</guid>
      <dc:creator>GabrielAraya</dc:creator>
      <dc:date>2012-10-04T20:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468847#M175108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The object on the left is the count without Set Analysis. 566 is the total count of employee with out any date selections. What was the set analysis of the object on the right? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 21:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468847#M175108</guid>
      <dc:creator />
      <dc:date>2012-10-04T21:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468848#M175109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hellow!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;visit my post ---&amp;gt; thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/63138?tstart=0" title="http://community.qlik.com/thread/63138?tstart=0"&gt;http://community.qlik.com/thread/63138?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 21:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468848#M175109</guid>
      <dc:creator />
      <dc:date>2012-10-04T21:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468849#M175110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi .. but, really do you need set analysis ? If the object in the right side has the correct information .. yuo don't need SA .. perhaps I didn't understand your requeriment .. in general I use K.I.S.S ( Keep It Simple and Straightforward)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 21:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468849#M175110</guid>
      <dc:creator>GabrielAraya</dc:creator>
      <dc:date>2012-10-04T21:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Month and Year Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468850#M175111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I haven't given you the total requirement. What I am looking for is Percentage of Turnover by Month. The complete set analysis would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (([CalendarMonthName])='Sep',(Count({&amp;lt;NLE_Year={'$(vCurrentYear)'},NLE_Month={'Sep'}&amp;gt;} EmployeeDirectory.ID))&lt;/P&gt;&lt;P&gt;/Count ({&amp;lt;CalendarMonthAndYear = {"$(&amp;lt;=Date(MonthEnd(Date#(NLE_MonthName, 'MMM YYYY')),'MMM YYYY'))"},CalendarMonthAndYear = {"$(&amp;gt;=Date(MonthEnd(Date#(NLE_MonthName, 'MMM YYYY')),'MMM YYYY'))"}&amp;gt;} Total &amp;lt;CalendarMonthName&amp;gt;&amp;nbsp; EmployeeDirectory.ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am taking the people in Sep. who are no longer here and then dividing it by the total amount of people who were here at that time. I am looking for a percentage of Turnover for that month. I had to build a independant calendar because I couldn't use the DOH_Date or the NLE_Date and that is why I am using CalendarMonthName from code I found on the Community. Any ideas I know you are probably growing weary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;OnePuttGril&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 21:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Set-Analysis-Comparison/m-p/468850#M175111</guid>
      <dc:creator />
      <dc:date>2012-10-04T21:45:40Z</dc:date>
    </item>
  </channel>
</rss>

