<?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: Calculate difference since set year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-difference-since-set-year/m-p/1570096#M41576</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Sum("Passenger Count")  - Sum(&lt;FONT color="#FF0000"&gt;TOTAL&lt;/FONT&gt; {&amp;lt;[Year]={'2012'} &amp;gt;}"Passenger Count")&lt;/PRE&gt;</description>
    <pubDate>Tue, 16 Apr 2019 16:49:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-04-16T16:49:19Z</dc:date>
    <item>
      <title>Calculate difference since set year</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-difference-since-set-year/m-p/1570084#M41574</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi guys, I need to calculate the increase/decrease every year compared to 2012.&lt;/P&gt;&lt;P&gt;The field expression I am using is: &amp;nbsp;&lt;STRONG&gt;Sum("Passenger Count")&amp;nbsp; - Sum({&amp;lt;[Year]={'2012'} &amp;gt;}"Passenger Count")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The result only correctly calculates 2012:&amp;nbsp; 69-69=0. The other years show actual Passenger count, not the increase/decrease. Where am I going wrong with this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 357px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10330i5B6BD10E8BEB7302/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-difference-since-set-year/m-p/1570084#M41574</guid>
      <dc:creator>martyn_birzys</dc:creator>
      <dc:date>2019-04-16T16:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference since set year</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-difference-since-set-year/m-p/1570096#M41576</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Sum("Passenger Count")  - Sum(&lt;FONT color="#FF0000"&gt;TOTAL&lt;/FONT&gt; {&amp;lt;[Year]={'2012'} &amp;gt;}"Passenger Count")&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-difference-since-set-year/m-p/1570096#M41576</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-16T16:49:19Z</dc:date>
    </item>
  </channel>
</rss>

