<?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 Variable for current year? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368162#M704576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone helpme in this issue.i created variable current_year=max(field name_year),but i used this variable in edit script level that is in Raw application.it displaying table not found.some sql error.&lt;/P&gt;&lt;P&gt;anyone know how to create variable for current year insted of 2012 or any other ways todo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 12:15:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-26T12:15:01Z</dc:date>
    <item>
      <title>Variable for current year?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368157#M704571</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me in variable,i am having ycode=2012 in my applications now i want to create a variable and i want to call that variable in instead of 2012.&lt;/P&gt;&lt;P&gt;where i want to create that variable and how to wright that variable for current year.example ycode displays the current year records from the adatabase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 05:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368157#M704571</guid>
      <dc:creator />
      <dc:date>2012-03-26T05:57:02Z</dc:date>
    </item>
    <item>
      <title>Variable for current year?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368158#M704572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ctrl +alt+v&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add -&amp;gt; variable name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: &lt;/P&gt;&lt;P&gt;var1=max(ycode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take a text box and wrte &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(var1)&amp;nbsp; it will show you 2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 05:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368158#M704572</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-03-26T05:59:25Z</dc:date>
    </item>
    <item>
      <title>Variable for current year?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368159#M704573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Heelo sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for reply,..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i forgot to post for current month variable which they wrote in applications.i.e.,&lt;/P&gt;&lt;P&gt;LET CURRENT_MONTH = IF(NUM(MONTH(NUM(TODAY())))&amp;gt;3,NUM(MONTH(NUM(TODAY())))-3,NUM(MONTH(NUM(TODAY())))+9);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also tell me it would be work in 2013 and soon..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 06:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368159#M704573</guid>
      <dc:creator />
      <dc:date>2012-03-26T06:03:55Z</dc:date>
    </item>
    <item>
      <title>Variable for current year?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368160#M704574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is created for financial month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 06:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368160#M704574</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-03-26T06:30:11Z</dc:date>
    </item>
    <item>
      <title>Variable for current year?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368161#M704575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;happy to your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still some confussion, actually what happen is i am having 20 company codes like 'Y'.they wrote year=2012 in every company in script level.now the current month is 12,after this month, mar-2012 is 13 like this wrote some sql quary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to write some variable in script insted of 2012(year=2012).i am writing some variables but it is not showing correctly.this will work after financial year end also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;bar&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 07:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368161#M704575</guid>
      <dc:creator />
      <dc:date>2012-03-26T07:33:20Z</dc:date>
    </item>
    <item>
      <title>Variable for current year?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368162#M704576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone helpme in this issue.i created variable current_year=max(field name_year),but i used this variable in edit script level that is in Raw application.it displaying table not found.some sql error.&lt;/P&gt;&lt;P&gt;anyone know how to create variable for current year insted of 2012 or any other ways todo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 12:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-current-year/m-p/368162#M704576</guid>
      <dc:creator />
      <dc:date>2012-03-26T12:15:01Z</dc:date>
    </item>
  </channel>
</rss>

