<?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: error in expression ')' expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658820#M730125</link>
    <description>&lt;P&gt;I used:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;='Current Year:'&amp;amp; Num((Sum({&amp;lt;week = {"&amp;gt;=$(vMinDate)&amp;lt;=$(vMaxdate)"}&amp;gt;} RTL_QTY)/Count(DISTINCT( week))/1000000),'##.00')
&amp;amp; ' Last Year:'&amp;amp;num(Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period=&amp;gt;} RTL_QTY)/Count(DISTINCT( week))
-
Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period= {'LYTD'}&amp;gt; }RTL_QTY)/Count(DISTINCT( week)),'##.00')&lt;/LI-CODE&gt;&lt;P&gt;and got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 220px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25703iEF92D5F66CF84379/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 07:39:11 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2019-12-18T07:39:11Z</dc:date>
    <item>
      <title>error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658810#M730122</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i using the below expression to find the number of units sold. i'm getting a error saying (error in expression ')' expected ). can someone help me on this?&lt;/P&gt;&lt;P&gt;='Current Year:'&amp;amp; Num((Sum({&amp;lt;week = {"&amp;gt;=$(vMinDate)&amp;lt;=$(vMaxdate)"}&amp;gt;} RTL_QTY)/Count(DISTINCT(week)),'##.00')&lt;BR /&gt;&amp;amp; ' Last Year:'&amp;amp;num((((Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period=&amp;gt;} RTL_QTY)/Count(DISTINCT(week))&lt;BR /&gt;-&lt;BR /&gt;Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period= {'LYTD'}&amp;gt; } RTL_QTY)/Count(DISTINCT(week))),'##.00')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658810#M730122</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658812#M730123</link>
      <description>&lt;P&gt;Remove extra three braces after 2nd num function, like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Current Year:'&amp;amp; Num((Sum({&amp;lt;week = {"&amp;gt;=$(vMinDate)&amp;lt;=$(vMaxdate)"}&amp;gt;} RTL_QTY)/Count(DISTINCT(week)),'##.00')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;amp; ' Last Year:'&amp;amp;num(&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;STRIKE&gt;(((&lt;/STRIKE&gt;&lt;/FONT&gt;&lt;/STRONG&gt;Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period=&amp;gt;} RTL_QTY)/Count(DISTINCT(week))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period= {'LYTD'}&amp;gt; } RTL_QTY)/Count(DISTINCT(week))),'##.00')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658812#M730123</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-12-18T07:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658813#M730124</link>
      <description>&lt;P&gt;i removed the brackets, still not working.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658813#M730124</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T07:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658820#M730125</link>
      <description>&lt;P&gt;I used:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;='Current Year:'&amp;amp; Num((Sum({&amp;lt;week = {"&amp;gt;=$(vMinDate)&amp;lt;=$(vMaxdate)"}&amp;gt;} RTL_QTY)/Count(DISTINCT( week))/1000000),'##.00')
&amp;amp; ' Last Year:'&amp;amp;num(Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period=&amp;gt;} RTL_QTY)/Count(DISTINCT( week))
-
Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period= {'LYTD'}&amp;gt; }RTL_QTY)/Count(DISTINCT( week)),'##.00')&lt;/LI-CODE&gt;&lt;P&gt;and got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 220px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25703iEF92D5F66CF84379/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658820#M730125</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-12-18T07:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658823#M730128</link>
      <description>&lt;P&gt;the answer is not correct, it should be close to 1200,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if i select last year, then it shoould be retail quanity /52(number of weeks in a year). if i select current year from period filter, suppose current&amp;nbsp;month is jan then calculation be like retail quantity/4(number of weeks in jan month) if current month is aug then calculation should be retail quanity/36(number weeks till august)&amp;nbsp; and if the current month is oct then calculation be like retail quantity/40(number of weeks till oct) .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression-expected/m-p/1658823#M730128</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T07:44:52Z</dc:date>
    </item>
  </channel>
</rss>

