<?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: where expression with current year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744996#M669826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2014 14:53:10 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-10-31T14:53:10Z</dc:date>
    <item>
      <title>where expression with current year</title>
      <link>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744995#M669825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to load data but only data from the current year. this is my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident job where Jahr = 2014 group by prodnr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I define the current year instead of hardcoding it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, I would like to load data from last year but only until the current date last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I habe to script this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 14:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744995#M669825</guid>
      <dc:creator />
      <dc:date>2014-10-31T14:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: where expression with current year</title>
      <link>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744996#M669826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 14:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744996#M669826</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-31T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: where expression with current year</title>
      <link>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744997#M669827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allesandro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works, cool. Do you also have an expression for the second part of my question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 14:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744997#M669827</guid>
      <dc:creator />
      <dc:date>2014-10-31T14:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: where expression with current year</title>
      <link>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744998#M669828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the year(today()) functions in order to find the current year.&lt;/P&gt;&lt;P&gt;Just use the where YourDateField&amp;gt;=makedate(year(today())-1,month(today()),day(today()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 14:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744998#M669828</guid>
      <dc:creator />
      <dc:date>2014-10-31T14:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: where expression with current year</title>
      <link>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744999#M669829</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;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hm, that expression did not work for me... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-expression-with-current-year/m-p/744999#M669829</guid>
      <dc:creator />
      <dc:date>2014-10-31T15:12:00Z</dc:date>
    </item>
  </channel>
</rss>

