<?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: Use date as reference in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463824#M173233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two variables vStartDate and vEndDate and use the variable in the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;({&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;END_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12px;"&gt;{"&amp;gt;=$(vStartDate)"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;START_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12px;"&gt;{"&amp;lt;=$(vEndDate)"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;= &amp;gt;} Price&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use calendar objects or a slider object to give the variables values. See &lt;A _jive_internal="true" href="https://community.qlik.com/thread/67712"&gt;this tutorial&lt;/A&gt; for an example using calendar objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 17:44:25 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-04-17T17:44:25Z</dc:date>
    <item>
      <title>Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463823#M173232</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 trying to compare a contracts start and end date to a date to see how many contracts that are opened at a certain date. I've managed to to this using 'today()' using the following formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;({&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;END_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=today())"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;START_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;={&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;lt;=$(=today())"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;= &amp;gt;} Price&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this one works for today(), but how should I do to replace today() with all dates in a certain span to see how it changes over time? I've tried to use this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;({&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;END_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12px;"&gt;{"&amp;gt;=$(Date)"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;START_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12px;"&gt;{"&amp;lt;=$(Date)"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;= &amp;gt;} Price&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this date is connected to another Date in the Link Table which creates a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically what I want to do is generate all dates for a given span so I can use this date as I use today() i the first formula.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN lang="EN-US" style="color: #222222; background-color: #ffffff; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 12:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463823#M173232</guid>
      <dc:creator />
      <dc:date>2013-04-17T12:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463824#M173233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two variables vStartDate and vEndDate and use the variable in the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;({&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;END_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12px;"&gt;{"&amp;gt;=$(vStartDate)"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;START_DATE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12px;"&gt;{"&amp;lt;=$(vEndDate)"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;=, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;= &amp;gt;} Price&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: 'Courier New';"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use calendar objects or a slider object to give the variables values. See &lt;A _jive_internal="true" href="https://community.qlik.com/thread/67712"&gt;this tutorial&lt;/A&gt; for an example using calendar objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 17:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463824#M173233</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-17T17:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463825#M173234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the tip. However, how should I do to be able to see how the price changes over time? Let's say if I want to create a diagram with every date for a year and see how this changes over the year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 05:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463825#M173234</guid>
      <dc:creator />
      <dc:date>2013-04-18T05:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463826#M173235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No other ideas? Tried to create a Date variable that has no connection to create and start date but this doesn't work at all. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 05:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463826#M173235</guid>
      <dc:creator />
      <dc:date>2013-04-25T05:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463827#M173236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your diagram/chart you can use {1} in your set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will give you results for all date in other words your selection will not affect on your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you still have issues.. they please post the sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTh&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 05:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463827#M173236</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-25T05:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463828#M173237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is my example file. I've created some random contracts that have start and end date and I want to sum the sales for the contract that are active each day. Hopefully my file explains itself&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 05:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463828#M173237</guid>
      <dc:creator />
      <dc:date>2013-04-25T05:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463829#M173238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached modified file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463829#M173238</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-25T06:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463830#M173239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I don't choose any date, it still returns the sum of all sales on every date. I want to see how the sum of all active contracts changes over time. So i want to see every date for a whole month and the sum of sales for the active contracts. Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463830#M173239</guid>
      <dc:creator />
      <dc:date>2013-04-25T06:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463831#M173240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide me the sample output.. so that i can try to raplicate it in qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463831#M173240</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-25T06:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463832#M173241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You actually have the right output in your file when you select a date. For example, if I select the date '2013-01-26', i get 24 in the sum of sales. Which is the sum of sales for contract id 1,2 and 3. This is correct, theese are the 3 contracts that have createdate before&amp;nbsp; '2013-01-26' and enddate after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to see this sum for every date. Cause you see, if I remove the selection on date, I get 264 in the sum of sales for all dates. Which is not correct. I should still get 24 for the date&amp;nbsp; '2013-01-26'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463832#M173241</guid>
      <dc:creator />
      <dc:date>2013-04-25T06:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463833#M173242</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;please find attached and see if it is what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTh&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463833#M173242</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-25T06:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463834#M173243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid not. You were very close with the first example &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want to create a bar chart with date as dimension at the botton. Then I would want to see 24 for the date 2013-01-26 which is what you have. And then I also want to see 12 which is the value for 2013-01-17. This would let me see how the sales of active contracts changes over time. If I do this in your examples, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39681" class="jive-image-thumbnail jive-image" onclick="" alt="bar.png" src="https://community.qlik.com/legacyfs/online/39681_bar.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has the value 264 for all Date, which is wrong. The sum of sales for active contracts is not 264 for every date. It should vary over time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463834#M173243</guid>
      <dc:creator />
      <dc:date>2013-04-25T06:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463835#M173244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got your issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your issue can be resolved using interval match function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please provide me &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ework test.xlsx file so that i can load data at my local...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Sushil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463835#M173244</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-25T06:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463836#M173245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, here it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 07:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463836#M173245</guid>
      <dc:creator />
      <dc:date>2013-04-25T07:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463837#M173246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kim,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your issue is resolved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached file. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 07:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463837#M173246</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-25T07:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use date as reference in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463838#M173247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot! That was easier than i expected &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; You really saved my day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 07:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-date-as-reference-in-set-analysis/m-p/463838#M173247</guid>
      <dc:creator />
      <dc:date>2013-04-25T07:26:48Z</dc:date>
    </item>
  </channel>
</rss>

