<?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: Set analysis with date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date/m-p/272147#M101931</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;The syntax should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sum({&amp;lt; KEY_Date = {"&amp;gt;=$(=Date('2011/06/01'))"}&amp;gt;}NumberRegistered)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provided your regional settings in your operating system are set to 'YYYY/MM/DD', otherwise you will need to modify them or make some formatting in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2011 09:42:25 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-06-08T09:42:25Z</dc:date>
    <item>
      <title>Set analysis with date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date/m-p/272146#M101930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp; I am trying to sum a field from a certain date onwards.&amp;nbsp; This works:&lt;/P&gt;&lt;P&gt;sum(if(KEY_Date&amp;gt;='2011/06/01',NumberRegistered))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis approach which actually what I want does not work:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;KEY_Date={"&amp;gt;=2011/06/01"}&amp;gt;}NumberRegistered) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me where I am going wrong?&amp;nbsp; Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 09:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date/m-p/272146#M101930</guid>
      <dc:creator />
      <dc:date>2011-06-08T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date/m-p/272147#M101931</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;The syntax should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sum({&amp;lt; KEY_Date = {"&amp;gt;=$(=Date('2011/06/01'))"}&amp;gt;}NumberRegistered)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provided your regional settings in your operating system are set to 'YYYY/MM/DD', otherwise you will need to modify them or make some formatting in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 09:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date/m-p/272147#M101931</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-08T09:42:25Z</dc:date>
    </item>
    <item>
      <title>Set analysis with date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date/m-p/272148#M101932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel - works perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date/m-p/272148#M101932</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:11:28Z</dc:date>
    </item>
  </channel>
</rss>

