<?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: help with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873456#M305108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SuM({$&amp;lt;TimeLine.Year={$(vPYFromDate)}&amp;gt;}(Fact.CustomerSales*$(CurrencyField)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 14:08:33 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-07-02T14:08:33Z</dc:date>
    <item>
      <title>help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873454#M305106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable&lt;STRONG&gt; vFromDate,&lt;/STRONG&gt; which i use to calculate current year sales.&lt;/P&gt;&lt;P&gt;i haanother Variable&amp;nbsp; vPYFromDate which i am using to calculate prev years sale &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;vPYFromDate &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;= 'AddYears(vFromDate,-1)'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to write an expression but doesn't work&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SuM({$&amp;lt;TimeLine.Year={$(vPYFromDate)}&amp;gt;}(Fact.CustomerSales*$(=CurrencyField)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;throws error in set modifier&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873454#M305106</guid>
      <dc:creator>arusanah</dc:creator>
      <dc:date>2015-07-02T14:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873455#M305107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;TimeLine.Year={"$(vPYFromDate)"}&amp;gt;}(Fact.CustomerSales*$(=CurrencyField)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jannet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873455#M305107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T14:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873456#M305108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SuM({$&amp;lt;TimeLine.Year={$(vPYFromDate)}&amp;gt;}(Fact.CustomerSales*$(CurrencyField)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873456#M305108</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-07-02T14:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873457#M305109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since apparently vPYFromDate contains an expression to evaluate first, you'll have to do just that to get a real date value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SuM({$&amp;lt;TimeLine.Year={"$(=$(vPYFromDate))"}&amp;gt;}(Fact.CustomerSales*$(=CurrencyField)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;although this may not work either as TimeLine.Year may now be compared to a single full date value...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression/m-p/873457#M305109</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-07-02T14:21:21Z</dc:date>
    </item>
  </channel>
</rss>

