<?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 &amp;quot;Between&amp;quot; dates using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173350#M42567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but still not working. This is driving me nuts. It's like QV doesn't even try to evaluate the expression (no progress bar on the chart after apply). Any pointers as to what can be wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2009 04:58:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-02T04:58:30Z</dc:date>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173346#M42563</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'm old to QV but new to set analysis and was wondering how to do something similar to "variable between date1 and date2" but I can't seem to figure it out. Anybody wanna help me out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 01:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173346#M42563</guid>
      <dc:creator />
      <dc:date>2009-09-02T01:53:19Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173347#M42564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use multiple conditions in your Set Modifier. Dates always seem to take a couple of tries for me.&lt;/P&gt;&lt;P&gt;It should be something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt;Field = {'&amp;gt;1/1/2009&amp;lt;1/31/2009'}&amp;gt;} Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 02:48:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173347#M42564</guid>
      <dc:creator />
      <dc:date>2009-09-02T02:48:14Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173348#M42565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response, but for some reason I can't get this to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to duplicate this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum( if(InvoiceDate &amp;gt;= makedate(2008,6,6) and InvoiceDate &amp;lt;= makedate(2008,8,8), Sales))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;which works, with this:&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;InvoiceDate= {'&amp;gt;=6/6/2008&amp;lt;=8/8/2008'} &amp;gt;} Sales)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;InvoiceDate= {'&amp;gt;=$(=makedate(2008,6,6)) &amp;lt;= $(=makedate(2008,8,8))}' &amp;gt;} Sales)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but it doesn't work..what can be wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 04:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173348#M42565</guid>
      <dc:creator />
      <dc:date>2009-09-02T04:10:23Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173349#M42566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that you are using single quotes... You need to use double quotes to signify "search" (as opposed to a simple list of values):&lt;/P&gt;&lt;H2 style="margin:0px;"&gt;sum({&amp;lt;InvoiceDate= {&lt;B&gt;"&lt;/B&gt;&amp;gt;=6/6/2008&amp;lt;=8/8/2008&lt;B&gt;"&lt;/B&gt;} &amp;gt;} Sales)&lt;/H2&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="refHTML"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 04:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173349#M42566</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-09-02T04:21:31Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173350#M42567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but still not working. This is driving me nuts. It's like QV doesn't even try to evaluate the expression (no progress bar on the chart after apply). Any pointers as to what can be wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 04:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173350#M42567</guid>
      <dc:creator />
      <dc:date>2009-09-02T04:58:30Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173351#M42568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just figured out what's wrong: I have to specify the date with the month name instead of the number, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;{"&amp;gt;=06/Jun/2008&amp;lt;=06/Aug/2008"}&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;IMG alt="Indifferent" src="http://community.qlik.com/emoticons/emotion-8.gif" /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;anyway to turn off this insanity and use numbers for the months?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 05:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173351#M42568</guid>
      <dc:creator />
      <dc:date>2009-09-02T05:24:25Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173352#M42569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The date format needs to be the same date format as you're using for your date field. So it looks like your real date field is formatted that way, which is to say 'DD/MMM/YYYY'. To use the number for the month, use 'DD/MM/YYYY' instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 01:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173352#M42569</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-03T01:18:44Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173353#M42570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Is there anywhere else to specify the date format apart from the script? Cause in the script I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;DateFormat='DD/MM/YYYY'&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but I also have &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;MonthNames&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;declared in the script. Could that be causing this mess?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 02:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173353#M42570</guid>
      <dc:creator />
      <dc:date>2009-09-03T02:20:35Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173354#M42571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have these two in my Scripts:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SET DateFormat='M/D/YYYY';&lt;BR /&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;MM is usually 01-12, but maybe it could Jan-Dec? It may be worth it to try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SET DateFormat='D/M/YYYY';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 02:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173354#M42571</guid>
      <dc:creator />
      <dc:date>2009-09-03T02:26:14Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173355#M42572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The month names shouldn't be causing a problem unless you tell QlikView to USE the month names. Format DD/MM/YYYY doesn't use month names. It uses month numbers.&lt;/P&gt;&lt;P&gt;Yes, there are a ton of places to set the date format. There's the variable that is normally set at the top of the script. You can override that when loading specific fields, such as date(MyDate,'MMMM, DD YYY') as MyLongDate. You can override it in the document properties for the field and setting "survive reload". You can override it on a chart by going to the Number tab and giving it a format for the date. There are probably other spots as well.&lt;/P&gt;&lt;P&gt;I have typically been explicit in my loading script for each date field which format I want. I can't think of any convincing reason why, though. I guess I just want to see it - here is my script, here is my format explicitly spelled out. I don't override at the document level, and I only rarely override at the chart level, so that's usually the end of the story in my applications.&lt;/P&gt;&lt;P&gt;In any case, here is a working example for you with some very simple data. Hopefully it will be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 05:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173355#M42572</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-03T05:38:12Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173356#M42573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one thing I don't understand is why makedate() doesn't default to that format too &lt;IMG alt="Confused" src="http://community.qlik.com/emoticons/emotion-42.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 10:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173356#M42573</guid>
      <dc:creator />
      <dc:date>2009-09-03T10:52:24Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173357#M42574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working for me. I'm doing a sample script with a makedate() in it, changing the SET DateFormat, and on a reload, the format of the date in a chart changes to match the new SET. But like I said, there are a LOT of places that the date format can get overridden, so your application is likely overriding it somewhere.&lt;/P&gt;&lt;P&gt;First place I'd check is the chart, but I'm guessing that isn't it.&lt;/P&gt;&lt;P&gt;Second place I'd check is settings -&amp;gt; document properties -&amp;gt; number -&amp;gt; your field. Does it have a date format? Is "Survive Reload" checked? Hmmm. Interesting, in my example, it DID have a date format, and survive reload WAS checked. I removed it, and put it back, and now it IS functioning as an override, where it wasn't before. Anyway, remove the checkmark on "Survive Reload" if it's there to stop overriding the default, or just set the date format you want to override the default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 01:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173357#M42574</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-04T01:22:25Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173358#M42575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran into this problem too. Changing the number properties of the field in Document Settings was the fix. I also received the suggestion:&lt;/P&gt;&lt;P&gt;The best way is to use the integer value of the string as in Date#('01/01/2009', 'mm/dd/yyyy')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 09:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173358#M42575</guid>
      <dc:creator />
      <dc:date>2009-10-13T09:51:17Z</dc:date>
    </item>
    <item>
      <title>"Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173359#M42576</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 a german Qlikview, can you hardcopie, where do you changed in Document Settings.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 13:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173359#M42576</guid>
      <dc:creator />
      <dc:date>2009-10-13T13:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: "Between" dates using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173360#M42577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John, i know this post is old but i think you can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/dragonauta" id="jive-1003626851185854158706"&gt;Juan Fibonacci&lt;/A&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;, i want to get the sum of all the sales made between two dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;this is what i got:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=sum({&amp;lt;Date ={"&amp;gt;=01/11/2012 &amp;lt;=01/02/2013"}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is just the value that has this date value: '01/02/2013' if i take out the '=' it returns 0. For what i understood, it isn't looking for the other values, or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it worked this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date ={"&amp;gt;=01/11/2012 &amp;lt;=01/02/2013"},month=,year=&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gave me the sum, but there are two details here, first that in my proyect i am not using dates like this "01/11/2012" but as a field. and second that if i use the month=,year= those fields wouldn't work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am out of ideas do you have any? thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 18:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Between-quot-dates-using-set-analysis/m-p/173360#M42577</guid>
      <dc:creator />
      <dc:date>2013-07-10T18:44:41Z</dc:date>
    </item>
  </channel>
</rss>

