<?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 AW:Previous months point in time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-months-point-in-time/m-p/219165#M72211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I think what you need is a new field, let's call it CurDay, created during load similar to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;day(Date) AS CurDay&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Values are from 1 to 31. Then use that field in the expression lik this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count ({$&amp;lt;InpatientServiceID={MED}, CurDay={"$(= '&amp;lt;=' &amp;amp; day((today())))"}&amp;gt;} MonthYear)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;HtH,&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Apr 2011 15:27:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-17T15:27:02Z</dc:date>
    <item>
      <title>Previous months point in time</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-point-in-time/m-p/219164#M72210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table that shows admissions and discharges into the hospital. These are broken down into each day. So for example if a patient was in the hospital for 3 days this visit is broken into three records. The chart counts the census for the month. That part seems to work fine.&lt;/P&gt;&lt;P&gt;Now I want to show where I was on previous months according to todays date. In the attached example there are three full months and up to the 11th day in April. I want a second bar to appear showing where I was on the 11th day in Jan, Feb, and March.&lt;/P&gt;&lt;P&gt;I started playing around with InMonthToDate but I am getting a syntax error and as usual there is probably a better way to do it (I am still using training wheels).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 14:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-point-in-time/m-p/219164#M72210</guid>
      <dc:creator>dhborchardt</dc:creator>
      <dc:date>2011-04-17T14:19:28Z</dc:date>
    </item>
    <item>
      <title>AW:Previous months point in time</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-point-in-time/m-p/219165#M72211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I think what you need is a new field, let's call it CurDay, created during load similar to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;day(Date) AS CurDay&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Values are from 1 to 31. Then use that field in the expression lik this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count ({$&amp;lt;InpatientServiceID={MED}, CurDay={"$(= '&amp;lt;=' &amp;amp; day((today())))"}&amp;gt;} MonthYear)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;HtH,&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 15:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-point-in-time/m-p/219165#M72211</guid>
      <dc:creator />
      <dc:date>2011-04-17T15:27:02Z</dc:date>
    </item>
  </channel>
</rss>

