<?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 Monthstart and Monthend in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822482#M1046012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in getting the below calculation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Date=Monthstart(Date)&amp;gt;}empid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement i should get the sum(Count of Employees in Monthstart of every Month. and month end of every month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 06:25:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-26T06:25:31Z</dc:date>
    <item>
      <title>Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822482#M1046012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in getting the below calculation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Date=Monthstart(Date)&amp;gt;}empid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement i should get the sum(Count of Employees in Monthstart of every Month. and month end of every month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 06:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822482#M1046012</guid>
      <dc:creator />
      <dc:date>2014-11-26T06:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822483#M1046013</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;This must work&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Count({&amp;lt;Date={'$(=(Monthstart(Date)))'}&amp;gt;}empid)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Count({&amp;lt;Date={'$(=(Monthend(Date)))'}&amp;gt;}empid)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Format your date accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 06:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822483#M1046013</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-11-26T06:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822484#M1046015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;Date={'$(=(Monthstart(Date)))'}&amp;gt;}empid)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;Date={'$(=(Monthend(Date)))'}&amp;gt;}empid)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 07:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822484#M1046015</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-11-26T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822485#M1046016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AShfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried implementing the formula,you mentioned ,but am getting 0 value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 08:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822485#M1046016</guid>
      <dc:creator />
      <dc:date>2014-11-26T08:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822486#M1046018</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;Try this expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Date={'$(=(Monthstart(Max(Date))))'}&amp;gt;}empid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Date={'$(=(Monthend(Max(Date))))'}&amp;gt;}empid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is your expected output in this two&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 08:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822486#M1046018</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-26T08:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822487#M1046019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both are not working,If any one of the expressions work,Its fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 08:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822487#M1046019</guid>
      <dc:creator />
      <dc:date>2014-11-26T08:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822488#M1046020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priyana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do this in your script, create new field(s) to evaluate if the date is a month start or month end. Then just use that flag within your set analysis&lt;/P&gt;&lt;P&gt;EG&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;empid&lt;/P&gt;&lt;P&gt;,Date&lt;/P&gt;&lt;P&gt;,If(Date=MonthStart(Date),1) As MonthStartFlag &lt;/P&gt;&lt;P&gt;,If(Date=MonthEnd(Date),1) As MonthEndFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from xxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just make your expression&lt;/P&gt;&lt;P&gt;Count({&amp;lt;MonthStartFlag={1}&amp;gt;} empid)&lt;/P&gt;&lt;P&gt;Count({&amp;lt;MonthEndFlag={1}&amp;gt;} empid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 08:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822488#M1046020</guid>
      <dc:creator />
      <dc:date>2014-11-26T08:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822489#M1046021</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 suspect that the problem is you are trying to use it in a chart or table. The set expression is evaluated once for the chart (outside of the dimensions) and not row by row. If you need to do this row by row, you can use count(if()) or set a month end flag during the load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if()):&lt;/P&gt;&lt;P&gt;count(if(Date = MonthEnd(Date), empid))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag:&lt;/P&gt;&lt;P&gt;LOAD ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date = MonthEnd(Date), 1, 0) As IsMonthEnd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;MonthEnd = {1}, empid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I include a month end flag in my common master calendar which is in a qvd shared by many models)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 08:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822489#M1046021</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-11-26T08:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822490#M1046022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this way then by adding the fields MonthStart date and MonthEnd Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthStart(Date) as MonStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthEnd(Date) as MonEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; empid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;mockup.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in the front end write expressions in any text object or the straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For MonthStart&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Count( if(&amp;nbsp; Date = MonStartDate, empid ))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For MonthEnd&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Count( if(&amp;nbsp; Date = MonEndDate, empid ))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Output you get&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="op.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72145_op.png" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822490#M1046022</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-26T09:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822491#M1046023</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 attachment...&lt;/P&gt;&lt;P&gt;this attachment will give u the solution .........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkata Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822491#M1046023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-26T09:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822492#M1046024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was realy helpful.But Monthend Count is not showing properly.Month end count shows total emp id count.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822492#M1046024</guid>
      <dc:creator />
      <dc:date>2014-11-26T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822493#M1046025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anadh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works for monthstart .But Monthend count shows 0 value.Monthend has values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822493#M1046025</guid>
      <dc:creator />
      <dc:date>2014-11-26T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822494#M1046026</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;In Monthend expression write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count( if(&amp;nbsp; trim(Date) = &lt;STRONG&gt;Trim( &lt;/STRONG&gt;MonEndDate &lt;STRONG&gt;)&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; , empid ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822494#M1046026</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-26T09:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822495#M1046027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for month end try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Date&amp;gt;=monthstart(Date) and Date&amp;lt;=monthend(Date),1,0) as monthendflag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822495#M1046027</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-26T09:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822496#M1046028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would surely flag every row with a 1 would it not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822496#M1046028</guid>
      <dc:creator />
      <dc:date>2014-11-26T09:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822497#M1046029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no problem glad it helped. Not sure why that would be the case, if the month start works. Want to show your working so far and will see if I can help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822497#M1046029</guid>
      <dc:creator />
      <dc:date>2014-11-26T09:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822498#M1046030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is your complete script you have the date format issue i thing for this use Trim to remove spaces from field and get the script as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date,'M/D/YYYY') AS Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthStart( Trim(Date)) as MonStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthEnd(&amp;nbsp; trim( Date)) as MonEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; empid, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;mockup.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;N:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Trim(Date)) as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date( Trim( MonStartDate )) as MonStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Trim( MonEndDate )) as MonEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; empid, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;Resident tmp;&lt;/P&gt;&lt;P&gt;DROP Table tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then write expressions:-&lt;/P&gt;&lt;P&gt;Monthstart&lt;/P&gt;&lt;P&gt;=Count( if( Date = MonStartDate&amp;nbsp; , empid ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthEnd&lt;/P&gt;&lt;P&gt;=Count( if(&amp;nbsp; (Date) = Trim(MonEndDate)&amp;nbsp; , empid ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="op2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72152_op2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822498#M1046030</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-26T09:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822499#M1046031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, my bad Joe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822499#M1046031</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-26T09:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart and Monthend</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822500#M1046032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no worries, just checking it wasn't my brain being funny this early in the morning &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-and-Monthend/m-p/822500#M1046032</guid>
      <dc:creator />
      <dc:date>2014-11-26T09:31:59Z</dc:date>
    </item>
  </channel>
</rss>

