<?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: Rolling 12 months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547517#M1144417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind... I answered my own question 2 minutes after I posted it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Appt Arrived Flag]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BHN Dept Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Health Centers'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Appt Datetime]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=Addmonths(max([Appt Datetime]),-12))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CountAppt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2013 15:33:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-29T15:33:20Z</dc:date>
    <item>
      <title>Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547516#M1144416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am confused!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to make a chart that shows the number of visits over the course of the last 12 months.&amp;nbsp; My expression works until I include the 12 month piece....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Appt Arrived Flag]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BHN Dept Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Health Centers'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt; text-decoration: underline;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;={'&amp;gt;=(Date(floor(max(Month))-365))'&lt;/SPAN&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CountAppt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If I take the expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(floor(max(Month))-365)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and put it into a text box, it works!&amp;nbsp; (I get 8/1/2012)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I add it as part of the set analysis I get NOTHING!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547516#M1144416</guid>
      <dc:creator />
      <dc:date>2013-08-29T15:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547517#M1144417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind... I answered my own question 2 minutes after I posted it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Appt Arrived Flag]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BHN Dept Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Health Centers'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Appt Datetime]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=Addmonths(max([Appt Datetime]),-12))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CountAppt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547517#M1144417</guid>
      <dc:creator />
      <dc:date>2013-08-29T15:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547518#M1144418</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; =Date(floor(max(Month))-365) gives date.&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;So you map with date in set analysis , not with month&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;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Appt Arrived Flag]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={1}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[BHN Dept Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'Health Centers'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000; text-decoration: underline;"&gt;DateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;={'&amp;gt;=$(=AddYears(Max(DateField),-1))'&lt;/SPAN&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;CountAppt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; 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-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope it helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547518#M1144418</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-08-29T15:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547519#M1144419</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 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;month={"&amp;lt;= $(=date(floor(max(month())-365)) "}&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;DAAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/547519#M1144419</guid>
      <dc:creator />
      <dc:date>2013-08-29T15:34:26Z</dc:date>
    </item>
  </channel>
</rss>

