<?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: Year Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521826#M195016</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FYear={$(=vCYear)-2}&amp;gt;} Sales)&amp;nbsp; or =sum({&amp;lt;FYear={'$(=vCYear)-2'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 16:47:24 GMT</pubDate>
    <dc:creator>v_iyyappan</dc:creator>
    <dc:date>2013-10-07T16:47:24Z</dc:date>
    <item>
      <title>Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521824#M195014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting current year value from the script in a variable (vCYear). When I use this variable in Set Expression it works fine but when I try to do any subtractions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FYear={$(vCYear-2)}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 16:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521824#M195014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-07T16:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521825#M195015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;FYear={"$(=$(vCYear)-2)"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 16:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521825#M195015</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-07T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521826#M195016</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FYear={$(=vCYear)-2}&amp;gt;} Sales)&amp;nbsp; or =sum({&amp;lt;FYear={'$(=vCYear)-2'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 16:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521826#M195016</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2013-10-07T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Year Field</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521827#M195017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the expressions that you guys mentioned worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;FYear={"$(=$(vCYear)-2)"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;FYear={$(=vCYear)-2}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 17:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Field/m-p/521827#M195017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-07T17:16:16Z</dc:date>
    </item>
  </channel>
</rss>

