<?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 Month and Year Date Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Date-Set-Analysis/m-p/387834#M144700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I am attaching an Employee Hiring.qvw and there is an Monthly Turnover straight table object where I need an expression that makes this table work. I want the count to include all the employees that have a Date of Hire 'DOH_Date' &amp;lt;= to the CalendarMonthAndYear date and the No longer here 'NLE_Month &amp;lt;= to the CalendarMonthAndYear as well . I used the Master Calendar function from another post and I really don't know if I can use it the way I am trying. Once I get the above working then I divide in the count of the employees who ended in that month of Sep which is 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (([CalendarMonthName])='Sep',Count ({&amp;lt;CalendarMonthAndYear = {"$(&amp;lt;=Date(MonthEnd(Date#(DOH_MonthName, 'MMM YYYY')),'MMM YYYY'))"},CalendarMonthAndYear = {"$(&amp;lt;=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;Then the count of people who left in Sep. &lt;/P&gt;&lt;P&gt;(Count({&amp;lt;NLE_Year={'$(vCurrentYear)'},NLE_Month={'Sep'}&amp;gt;} EmployeeDirectory.ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see both of these in the attach file. Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and regards,&lt;/P&gt;&lt;P&gt;OnePuttGirl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2012 16:54:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-05T16:54:26Z</dc:date>
    <item>
      <title>Month and Year Date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Month-and-Year-Date-Set-Analysis/m-p/387834#M144700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I am attaching an Employee Hiring.qvw and there is an Monthly Turnover straight table object where I need an expression that makes this table work. I want the count to include all the employees that have a Date of Hire 'DOH_Date' &amp;lt;= to the CalendarMonthAndYear date and the No longer here 'NLE_Month &amp;lt;= to the CalendarMonthAndYear as well . I used the Master Calendar function from another post and I really don't know if I can use it the way I am trying. Once I get the above working then I divide in the count of the employees who ended in that month of Sep which is 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (([CalendarMonthName])='Sep',Count ({&amp;lt;CalendarMonthAndYear = {"$(&amp;lt;=Date(MonthEnd(Date#(DOH_MonthName, 'MMM YYYY')),'MMM YYYY'))"},CalendarMonthAndYear = {"$(&amp;lt;=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;Then the count of people who left in Sep. &lt;/P&gt;&lt;P&gt;(Count({&amp;lt;NLE_Year={'$(vCurrentYear)'},NLE_Month={'Sep'}&amp;gt;} EmployeeDirectory.ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see both of these in the attach file. Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and regards,&lt;/P&gt;&lt;P&gt;OnePuttGirl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 16:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-and-Year-Date-Set-Analysis/m-p/387834#M144700</guid>
      <dc:creator />
      <dc:date>2012-10-05T16:54:26Z</dc:date>
    </item>
  </channel>
</rss>

