<?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: Let year(today) problem showing todays result as today in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766884#M59329</link>
    <description>&lt;P&gt;It appears you have your Min and Max reversed.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2020 03:50:31 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2020-12-08T03:50:31Z</dc:date>
    <item>
      <title>Let year(today) problem showing todays result as today</title>
      <link>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766644#M59312</link>
      <description>&lt;P&gt;In my application i´m loading the year&amp;nbsp; 2019, 2020, 2021 from the database.&lt;/P&gt;&lt;P&gt;In my application i would like to use my own named variabel CurrentYear, so that i could divide the values between this year and last years. etc....&lt;/P&gt;&lt;P&gt;However in the database there are more than three years so i´m using the following statement in the script.&lt;/P&gt;&lt;P&gt;Let vMinYear = Year(Today))+1;&lt;/P&gt;&lt;P&gt;Let vMaxYear = Year(Today))-1;&lt;/P&gt;&lt;P&gt;On the database i´m then determing the year as i = $(vMaxYear) To $(vMinYear) so it´s only loading three years.&lt;/P&gt;&lt;P&gt;However when making a +1 statement the 2021 is determined as a currentYear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the questions is how to dermine so that the current year is 2020 and to make it possible to choose other years&amp;nbsp;&lt;/P&gt;&lt;P&gt;The currentYear should always be today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 10:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766644#M59312</guid>
      <dc:creator>richards</dc:creator>
      <dc:date>2020-12-07T10:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Let year(today) problem showing todays result as today</title>
      <link>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766884#M59329</link>
      <description>&lt;P&gt;It appears you have your Min and Max reversed.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 03:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766884#M59329</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-12-08T03:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Let year(today) problem showing todays result as today</title>
      <link>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766897#M59331</link>
      <description>&lt;P&gt;Yes of course. However this doesn´t explain why the currentYear Value that is shown is 2021. I´m woundering if this could be changed so the data that is shown is today.&lt;/P&gt;&lt;P&gt;The max and min is only used to load number of years.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 06:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766897#M59331</guid>
      <dc:creator>richards</dc:creator>
      <dc:date>2020-12-08T06:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Let year(today) problem showing todays result as today</title>
      <link>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766899#M59332</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/57213"&gt;@richards&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I didn't get it right. What do you get for &lt;FONT face="courier new,courier"&gt;year(today())&lt;/FONT&gt; ?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766899#M59332</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-12-08T07:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Let year(today) problem showing todays result as today</title>
      <link>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766901#M59333</link>
      <description>&lt;P&gt;on the variable list in the arc i have current year as defined as =Max(Year)&lt;/P&gt;&lt;P&gt;The varables vMaxYear is 2021 now after i rearanged the min and max.&amp;nbsp; i.e. now vMinYear 2020.&lt;/P&gt;&lt;P&gt;Year today is 2020.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Let-year-today-problem-showing-todays-result-as-today/m-p/1766901#M59333</guid>
      <dc:creator>richards</dc:creator>
      <dc:date>2020-12-08T07:07:48Z</dc:date>
    </item>
  </channel>
</rss>

