<?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: syntax problem less than or equal to addyears with variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392819#M32124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;works like a charm, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder why in some case you need the additional "=" and in some you don't...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 08:33:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-10-05T08:33:41Z</dc:date>
    <item>
      <title>syntax problem less than or equal to addyears with variable</title>
      <link>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392816#M32121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you could help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to calculate a sum till a certain time point in previous year, depending on what do I choose in a variable, below is what I came up with, nevertheless it doesn't work, although similar builds in the project do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P&gt;[Date]= {"$(&amp;lt;=addyears(date('$(vRollingForecastBeginning)'), -1))"}&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;ActualsValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The expression alone:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;addyears(date('$(vRollingForecastBeginning)'), -1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;returns '07/01/2016' and reacts to variable changing correctly, [Date] is formatted as Date in script so the formats should be aligned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;do you have any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Bart&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 09:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392816#M32121</guid>
      <dc:creator />
      <dc:date>2017-10-04T09:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: syntax problem &lt;= addyears with variable</title>
      <link>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392817#M32122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression should be rather look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; &lt;/P&gt;&lt;P&gt;[Date]= {"&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;$(&lt;STRONG&gt;=&lt;/STRONG&gt;addyears(date('$(vRollingForecastBeginning)'), -1))"}&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;ActualsValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 15:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392817#M32122</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-10-04T15:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: syntax problem less than or equal to addyears with variable</title>
      <link>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392818#M32123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bartosz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've edited the title of this thread to replace "&amp;lt;=" with "less than or equal to", as the symbols were cause a page display issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Qlik Community Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392818#M32123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T17:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: syntax problem less than or equal to addyears with variable</title>
      <link>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392819#M32124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;works like a charm, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder why in some case you need the additional "=" and in some you don't...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 08:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392819#M32124</guid>
      <dc:creator />
      <dc:date>2017-10-05T08:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: syntax problem less than or equal to addyears with variable</title>
      <link>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392820#M32125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 08:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392820#M32125</guid>
      <dc:creator />
      <dc:date>2017-10-05T08:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: syntax problem less than or equal to addyears with variable</title>
      <link>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392821#M32126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it's very well explained why and where the "=" made a difference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3996"&gt;The Little Equals Sign&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 06:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/syntax-problem-less-than-or-equal-to-addyears-with-variable/m-p/1392821#M32126</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-10-06T06:36:13Z</dc:date>
    </item>
  </channel>
</rss>

