<?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 small script ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612234#M1103208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The qvd is attached. Sum(1) gives me all zeros in all columns. What is the meaning of sum(1) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 01:33:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-08T01:33:43Z</dc:date>
    <item>
      <title>Error in small script ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612231#M1103205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;$(vSetPreviousNMonth(0))&amp;gt;} [# Departures Performed])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I see an error after - second curly brace, ie }. What is the error ? This is taken from the book, qlikview 11 for developers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable definition is - &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;PeriodID = {$(=Max(PeriodID) – $1)},&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year = ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Quarter = ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month = ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Period =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Book output -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="56757" alt="b1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56757_b1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My output -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="56758" alt="b2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56758_b2.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 00:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612231#M1103205</guid>
      <dc:creator />
      <dc:date>2014-04-08T00:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in small script ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612232#M1103206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you add your QVW here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mean while add one more expression as sum(1) and see are you getting all values for &lt;STRONG&gt;Carrier Group&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 01:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612232#M1103206</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-04-08T01:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in small script ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612233#M1103207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="QV Script.JPG.jpg" class="jive-image" src="/legacyfs/online/56763_QV Script.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;PeriodID = {$(=Max(PeriodID) - $1)},&lt;/P&gt;&lt;P&gt;Year = ,&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Period = ,&lt;/P&gt;&lt;P&gt;Month = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added this to my expression and seems to be working fine. &lt;/P&gt;&lt;P&gt;Start with changing the dimension. Did you get the carrier Group from Carrie Group qvd?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 01:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612233#M1103207</guid>
      <dc:creator />
      <dc:date>2014-04-08T01:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in small script ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612234#M1103208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The qvd is attached. Sum(1) gives me all zeros in all columns. What is the meaning of sum(1) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 01:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612234#M1103208</guid>
      <dc:creator />
      <dc:date>2014-04-08T01:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Error in small script ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612235#M1103209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have wrong character in your variable &lt;SPAN style="font-style: normal; font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;&lt;STRONG&gt;vSetPreviousNMonth &lt;/STRONG&gt;&lt;/SPAN&gt;and I have corrected it.It has some bad character as shown below&lt;SPAN style="font-style: normal; font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/53633"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also mentioned the right expression below.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="56768" alt="Airplane2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56768_Airplane2.jpg" style="width: 620px; height: 165px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="56761" alt="Airplane.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56761_Airplane.jpg" style="width: 620px; height: 204px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 04:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612235#M1103209</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-04-08T04:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in small script ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612236#M1103210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 23:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-small-script/m-p/612236#M1103210</guid>
      <dc:creator />
      <dc:date>2014-04-11T23:29:54Z</dc:date>
    </item>
  </channel>
</rss>

