<?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 start and end dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/start-and-end-dates/m-p/392464#M1156254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posted a question about a rolling 12 month calculation which I've managed to get right now, using expression below. But now I'm unable to make any further selections i.e. select regions etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if I should use a variable to select a start and end date - are there any other options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I have for the rolling year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateRaised&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=addmonths(monthend(max(DateRaised))+1,-12)) &amp;lt;=$(=max(DateRaised))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusFlagID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2013 09:42:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-26T09:42:34Z</dc:date>
    <item>
      <title>start and end dates</title>
      <link>https://community.qlik.com/t5/QlikView/start-and-end-dates/m-p/392464#M1156254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posted a question about a rolling 12 month calculation which I've managed to get right now, using expression below. But now I'm unable to make any further selections i.e. select regions etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if I should use a variable to select a start and end date - are there any other options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I have for the rolling year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateRaised&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=addmonths(monthend(max(DateRaised))+1,-12)) &amp;lt;=$(=max(DateRaised))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusFlagID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 09:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/start-and-end-dates/m-p/392464#M1156254</guid>
      <dc:creator />
      <dc:date>2013-03-26T09:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: start and end dates</title>
      <link>https://community.qlik.com/t5/QlikView/start-and-end-dates/m-p/392465#M1156255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;count&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;DateRaised&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;"&amp;gt;=$(=addmonths(monthend(max(DateRaised))+1,-12)) &amp;lt;=$(=max(DateRaised))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;StatusFlagID&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 1 or $ sign means that you base you calculation on the complete set of data (1) or the current selection ($). By using current selections ($), you can still change the region selections and such.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 10:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/start-and-end-dates/m-p/392465#M1156255</guid>
      <dc:creator />
      <dc:date>2013-03-26T10:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: start and end dates</title>
      <link>https://community.qlik.com/t5/QlikView/start-and-end-dates/m-p/392466#M1156256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that seems to be working find now, although I have noticed that when I select a region the date range changes which I assume has something to do with the $(=max(DateRaised)) part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 15:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/start-and-end-dates/m-p/392466#M1156256</guid>
      <dc:creator />
      <dc:date>2013-03-26T15:27:56Z</dc:date>
    </item>
  </channel>
</rss>

