<?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 LY variable not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/LY-variable-not-working/m-p/1400652#M32551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I created a variable for CYTD revenue that works correctly:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[%dateflag_$1]={1}, [%dateflag_CYTD]={1}, $(vExcludeDateFields)&amp;gt;}&amp;nbsp; [Transaction Line Gross Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I try to replicate this for LY revenue it is showing incorrect data:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[%dateflag_$1]={1}, [%dateflag_LY]={1}, $(vExcludeDateFields)&amp;gt;}&amp;nbsp; [Transaction Line Gross Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that the LY variable appears to be summing all revenue from LY through the current year. Any ideas as to what I need to do? Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 14:24:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-10-05T14:24:26Z</dc:date>
    <item>
      <title>LY variable not working</title>
      <link>https://community.qlik.com/t5/App-Development/LY-variable-not-working/m-p/1400652#M32551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I created a variable for CYTD revenue that works correctly:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[%dateflag_$1]={1}, [%dateflag_CYTD]={1}, $(vExcludeDateFields)&amp;gt;}&amp;nbsp; [Transaction Line Gross Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I try to replicate this for LY revenue it is showing incorrect data:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[%dateflag_$1]={1}, [%dateflag_LY]={1}, $(vExcludeDateFields)&amp;gt;}&amp;nbsp; [Transaction Line Gross Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that the LY variable appears to be summing all revenue from LY through the current year. Any ideas as to what I need to do? Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/LY-variable-not-working/m-p/1400652#M32551</guid>
      <dc:creator />
      <dc:date>2017-10-05T14:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: LY variable not working</title>
      <link>https://community.qlik.com/t5/App-Development/LY-variable-not-working/m-p/1400653#M32552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, LYTD works fine too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[%dateflag_$1]={1}, [%dateflag_LYTD]={1}, $(vExcludeDateFields)&amp;gt;}&amp;nbsp; [Transaction Line Gross Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/LY-variable-not-working/m-p/1400653#M32552</guid>
      <dc:creator />
      <dc:date>2017-10-05T14:29:25Z</dc:date>
    </item>
  </channel>
</rss>

