<?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: last 12 months count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418432#M155648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Check with this..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count({&amp;lt;DateField={'&amp;gt;=$(=TimeStamp(MonthStart(Max(DateField), -11)))&amp;lt;=$(=Max(DateField))'}&amp;gt;} Employee)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2013 15:12:14 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-03-07T15:12:14Z</dc:date>
    <item>
      <title>last 12 months count</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418428#M155644</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;Can anyone please help me with simple requirement. I need to show last 12 months count of employees in a pivot table..I do have a date column and the latest month in the database is not the current month..i have tried to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(if(date(floor(datefield))&amp;gt;=$(v11Months) and date(floor(datefield)) &amp;lt;= $(vEnddate),employee)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having timestamp in the date filed so I used floor function to remove timestamp..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where v11months=date(floor(AddMonths(max(datefield),-11)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and enddate=date(floor(max(OBGRADEAPPROVED),-11))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution might be simple and I might be doing in the wrong way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help is highly appreciated..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 13:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418428#M155644</guid>
      <dc:creator />
      <dc:date>2013-03-07T13:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 months count</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418429#M155645</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;DateField={'&amp;gt;=$(=MonthStart(Max(DateField), -11))&amp;lt;=$(=Max(DateField))'}&amp;gt;} Employee)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418429#M155645</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-03-07T14:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 months count</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418430#M155646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no luck it is always showing total count..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418430#M155646</guid>
      <dc:creator />
      <dc:date>2013-03-07T14:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 months count</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418431#M155647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418431#M155647</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-03-07T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 months count</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418432#M155648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Check with this..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count({&amp;lt;DateField={'&amp;gt;=$(=TimeStamp(MonthStart(Max(DateField), -11)))&amp;lt;=$(=Max(DateField))'}&amp;gt;} Employee)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418432#M155648</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-03-07T15:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 months count</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418433#M155649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my bad it was working..if I was selecting a time period,but what if I want to show the data from the past 12 months from the latest month always..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418433#M155649</guid>
      <dc:creator />
      <dc:date>2013-03-07T15:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: last 12 months count</title>
      <link>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418434#M155650</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;If you have any other date filters like Month, Year, Quarter then use like thi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;YearField=, MonthField=, QuarterField=, WeekField=, DateField={'&amp;gt;=$(=MonthStart(Max(DateField), -11))&amp;lt;=$(=Max(DateField))'}&amp;gt;} Employee)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-12-months-count/m-p/418434#M155650</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-03-07T15:46:40Z</dc:date>
    </item>
  </channel>
</rss>

