<?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 Can I do this with SET analys? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-I-do-this-with-SET-analys/m-p/349824#M1176144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have YearMonth, StartDate and EndDate. What I want is to count a field with ID that have StartDate up to the month selected and Enddate = Today(). &lt;/P&gt;&lt;P&gt;The second picture in the middel desribe what I want and the first what I now get when I select the YearMonth field. (But the EndDate are manually marked at both picts, will just use Today() as expression in the set)&amp;nbsp; &lt;/P&gt;&lt;P&gt;I tried this =Count({$&amp;lt;StartDate={"&amp;gt;0"},EndDate={'$(=Today())'}&amp;gt;}INSATSID)&amp;nbsp; but I need it to cut after the month selected so it dont count StartDate in ex 2012 in this example. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV Set.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12094_QV+Set.JPG" width="450" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2012 10:18:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-13T10:18:35Z</dc:date>
    <item>
      <title>Can I do this with SET analys?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-do-this-with-SET-analys/m-p/349824#M1176144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have YearMonth, StartDate and EndDate. What I want is to count a field with ID that have StartDate up to the month selected and Enddate = Today(). &lt;/P&gt;&lt;P&gt;The second picture in the middel desribe what I want and the first what I now get when I select the YearMonth field. (But the EndDate are manually marked at both picts, will just use Today() as expression in the set)&amp;nbsp; &lt;/P&gt;&lt;P&gt;I tried this =Count({$&amp;lt;StartDate={"&amp;gt;0"},EndDate={'$(=Today())'}&amp;gt;}INSATSID)&amp;nbsp; but I need it to cut after the month selected so it dont count StartDate in ex 2012 in this example. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV Set.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12094_QV+Set.JPG" width="450" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 10:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-do-this-with-SET-analys/m-p/349824#M1176144</guid>
      <dc:creator />
      <dc:date>2012-03-13T10:18:35Z</dc:date>
    </item>
    <item>
      <title>Can I do this with SET analys?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-do-this-with-SET-analys/m-p/349825#M1176145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;StartDate={"&amp;lt;$(=monthend(makedate(left(YEARMONTH,4),right(YEARMONTH,2)))"},EndDate={'$(=Today())'}&amp;gt;}INSATSID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makedate(..) could be replaced by YEARMONTH, if YEARMONTH is of type date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 10:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-do-this-with-SET-analys/m-p/349825#M1176145</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-13T10:25:02Z</dc:date>
    </item>
  </channel>
</rss>

