<?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: Conditional sum depending on Todays date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-sum-depending-on-Todays-date/m-p/409117#M1155713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pari Pari&lt;/P&gt;&lt;P&gt;Thanks for your reply, I've been working on another solution to the problem and found it eventually. Therefore I'm in no more need for help on this on &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;Cheers Bruno &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 09:58:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-13T09:58:08Z</dc:date>
    <item>
      <title>Conditional sum depending on Todays date</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-depending-on-Todays-date/m-p/409115#M1155711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I've a problem with an expression in my Pivot table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data consists of app. 10.000 student applications in each of the years 2010, 2011 and 2012 handed in between 1. February and 7. July and app. 100 applications in 2013 handed in between 1. February and todays date (6. February). Each datarow has a record of which date the application was handed in.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my table I want to show the difference of the accumulated sum of this years recieved applications so far (being 2013 1. February to 6. February today, 1. February to 7. February tomorrow an so on) compared to the accumulated sum the same period last year (being 2012 1. February to 6. February today, 1. February to 7. February tomorrow etc.). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my editor I made the following new variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DayNumberOfYear&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date of Enrollment&lt;/SPAN&gt;)-&lt;SPAN style="color: #0000ff;"&gt;DayNumberOfYear&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;()) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Difference_DoE_Today&lt;/SPAN&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And in my expression I have written:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;( {&amp;lt;&lt;SPAN style="color: #800000;"&gt;Difference_DoE_Today&lt;/SPAN&gt;={'&amp;lt;1'} &amp;gt;} &lt;SPAN style="color: #800000;"&gt;StudenID&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But I can't seem to get it rigth. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Furthermore it also I cannot seem to hide 2010 and 2011 since I only want this year compared to last year no matter wat the user have selected in years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is this possible? (it probably is &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cheers &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Bruno&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 11:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-depending-on-Todays-date/m-p/409115#M1155711</guid>
      <dc:creator />
      <dc:date>2013-02-06T11:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional sum depending on Todays date</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-depending-on-Todays-date/m-p/409116#M1155712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do You mean new variable? You are calculating new field in script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post Table View of your file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 08:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-depending-on-Todays-date/m-p/409116#M1155712</guid>
      <dc:creator />
      <dc:date>2013-02-11T08:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional sum depending on Todays date</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-depending-on-Todays-date/m-p/409117#M1155713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pari Pari&lt;/P&gt;&lt;P&gt;Thanks for your reply, I've been working on another solution to the problem and found it eventually. Therefore I'm in no more need for help on this on &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;Cheers Bruno &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 09:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-depending-on-Todays-date/m-p/409117#M1155713</guid>
      <dc:creator />
      <dc:date>2013-02-13T09:58:08Z</dc:date>
    </item>
  </channel>
</rss>

