<?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 Issue with Formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213123#M388850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to sum all the activity for a particular chosen financial year, but for some reason I can't get it to work.&amp;nbsp; Here is the formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[FiscalYear]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(varFiscalYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Activity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;varFiscalYear is a variable that evaluates to 2016_17.&amp;nbsp; The error message I get is "Error: Error in set modifier adhoc element list: ',' or ')' expected" but I'm not too sure what the issue is.&amp;nbsp; Any help with this will be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 13:59:22 GMT</pubDate>
    <dc:creator>paul_hallwood</dc:creator>
    <dc:date>2016-12-06T13:59:22Z</dc:date>
    <item>
      <title>Issue with Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213123#M388850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to sum all the activity for a particular chosen financial year, but for some reason I can't get it to work.&amp;nbsp; Here is the formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[FiscalYear]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(varFiscalYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Activity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;varFiscalYear is a variable that evaluates to 2016_17.&amp;nbsp; The error message I get is "Error: Error in set modifier adhoc element list: ',' or ')' expected" but I'm not too sure what the issue is.&amp;nbsp; Any help with this will be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 13:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213123#M388850</guid>
      <dc:creator>paul_hallwood</dc:creator>
      <dc:date>2016-12-06T13:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213124#M388851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[FiscalYear]={$(&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;=&lt;/SPAN&gt;varFiscalYear)}&amp;gt;} [Activity])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213124#M388851</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T14:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213125#M388852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that hasn't worked unfortunately.&amp;nbsp; Thanks for the speedy response though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213125#M388852</guid>
      <dc:creator>paul_hallwood</dc:creator>
      <dc:date>2016-12-06T14:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213126#M388853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...if I substitute the varFiscalYear for '2016_17' the formula seems to work.&amp;nbsp; Here is the working formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[FiscalYear]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'2016_17'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Activity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Would declaring varFiscalYear as a variable and then using it in a formula be causing it any problems at all???&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213126#M388853</guid>
      <dc:creator>paul_hallwood</dc:creator>
      <dc:date>2016-12-06T14:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213127#M388854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try one of these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[FiscalYear]={'$(=varFiscalYear)'}&amp;gt;} [Activity])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[FiscalYear]={'$(=$(varFiscalYear))'}&amp;gt;} [Activity])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213127#M388854</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T14:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213128#M388855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it seems as though your first formula has done what I have wanted!&amp;nbsp; Brilliant - thank you very much for your responses, they've been much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213128#M388855</guid>
      <dc:creator>paul_hallwood</dc:creator>
      <dc:date>2016-12-06T14:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213129#M388856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Formula/m-p/1213129#M388856</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T14:36:12Z</dc:date>
    </item>
  </channel>
</rss>

