<?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: Expressions with Year, Month, Day selectors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-with-Year-Month-Day-selectors/m-p/417281#M1156856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Thanks &lt;/SPAN&gt;Gabirela&lt;/SPAN&gt;, your suggestion &lt;SPAN class="hps"&gt;has been useful in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;other expressions,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in this case&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;does not seem to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;work for me.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;On this graph&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a line is drawn&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for each year, and the sums are not yet correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Perhaps I should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;also change&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the main query&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to include&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a date field&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to make&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;comparisons&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with the dates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;built with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;MakeDate&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;() method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 09:37:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-21T09:37:19Z</dc:date>
    <item>
      <title>Expressions with Year, Month, Day selectors</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-with-Year-Month-Day-selectors/m-p/417279#M1156854</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;I am new to qlikview and I have to do a job.&lt;/P&gt;&lt;P&gt;I have a graph with a Year, a Month and a Day selector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I select year 2012 and months 1 and 2, then days 1 to 19, I would like to sum my data starting from 2012-01-01 to 2012-02-19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my expression sum data of this two ranges: 2012-01-01 to 2012-01-19 and 2012-02-01 to 2012-01-19.&lt;/P&gt;&lt;P&gt;I miss data from 2012-01-20 to 2012-01-31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2013 01:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-with-Year-Month-Day-selectors/m-p/417279#M1156854</guid>
      <dc:creator />
      <dc:date>2013-01-12T01:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions with Year, Month, Day selectors</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-with-Year-Month-Day-selectors/m-p/417280#M1156855</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;sum({$&amp;lt;Year=,Month=,Day=,Date={"&amp;gt;=min(Date)&amp;lt;=max(Date)"}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont have a Date field, you can create it in the script using: makedate(Year,Month,Day)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2013 01:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-with-Year-Month-Day-selectors/m-p/417280#M1156855</guid>
      <dc:creator />
      <dc:date>2013-01-12T01:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions with Year, Month, Day selectors</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-with-Year-Month-Day-selectors/m-p/417281#M1156856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Thanks &lt;/SPAN&gt;Gabirela&lt;/SPAN&gt;, your suggestion &lt;SPAN class="hps"&gt;has been useful in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;other expressions,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in this case&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;does not seem to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;work for me.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;On this graph&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a line is drawn&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for each year, and the sums are not yet correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Perhaps I should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;also change&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the main query&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to include&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a date field&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to make&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;comparisons&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with the dates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;built with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;MakeDate&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;() method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 09:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-with-Year-Month-Day-selectors/m-p/417281#M1156856</guid>
      <dc:creator />
      <dc:date>2013-01-21T09:37:19Z</dc:date>
    </item>
  </channel>
</rss>

