<?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: Include the current year in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Include-the-current-year-in-Expression/m-p/1366254#M828347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the current year you can use:&lt;/P&gt;&lt;P&gt;S&lt;EM&gt;um ({&amp;lt;Year = {$(=Year(Today()))}&amp;gt;} Cant_Vend) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the year before:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum ({&amp;lt;Year = {$(=Year(Today())-1)}&amp;gt;} Cant_Vend)&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum ({&amp;lt;Year = {$(=Year(Today())-2)}&amp;gt;} Cant_Vend)&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need a dynamic number of Charts (maybe different number of years), the "Trelllis..." option in the Dimension properties tab is maybe worthy to have a look for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2017 18:38:03 GMT</pubDate>
    <dc:creator>andre_mueller</dc:creator>
    <dc:date>2017-06-27T18:38:03Z</dc:date>
    <item>
      <title>Include the current year in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Include-the-current-year-in-Expression/m-p/1366252#M828345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;I have the following expression:&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;Year = {'2017'}&amp;gt;} Cant_Vend)&lt;/P&gt;&lt;P&gt;What I need is to change the 2017 for a function that takes me the Current Year for a chart and on a following chart subtract one year and show me the year before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="años.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168333_años.JPG" style="height: 99px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can use the lists as a filter, but that's how they request it.&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-the-current-year-in-Expression/m-p/1366252#M828345</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Include the current year in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Include-the-current-year-in-Expression/m-p/1366253#M828346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Year&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {$(=Year(Today()))}&amp;gt;} Cant_Vend)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Previous Year&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {$(=Year(Today())-1)}&amp;gt;} Cant_Vend)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-the-current-year-in-Expression/m-p/1366253#M828346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-27T18:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Include the current year in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Include-the-current-year-in-Expression/m-p/1366254#M828347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the current year you can use:&lt;/P&gt;&lt;P&gt;S&lt;EM&gt;um ({&amp;lt;Year = {$(=Year(Today()))}&amp;gt;} Cant_Vend) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the year before:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum ({&amp;lt;Year = {$(=Year(Today())-1)}&amp;gt;} Cant_Vend)&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum ({&amp;lt;Year = {$(=Year(Today())-2)}&amp;gt;} Cant_Vend)&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need a dynamic number of Charts (maybe different number of years), the "Trelllis..." option in the Dimension properties tab is maybe worthy to have a look for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Include-the-current-year-in-Expression/m-p/1366254#M828347</guid>
      <dc:creator>andre_mueller</dc:creator>
      <dc:date>2017-06-27T18:38:03Z</dc:date>
    </item>
  </channel>
</rss>

