<?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: SUM raises general script error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534977#M199863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use noconcatenate befor you are loading your table containing sum expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As when you are not using it, it will try to concatenate with previous loaded table and provide you error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Dec 2013 11:25:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-30T11:25:55Z</dc:date>
    <item>
      <title>SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534975#M199861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to execute a load statement that´s concatenate a lot of tables then sum it´s columns in another one. Such like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET PED_STATUS_ABERTO_TOTAL = 1;&lt;/P&gt;&lt;P&gt;LET PED_STATUS_ABERTO_PARCIAL = 2;&lt;/P&gt;&lt;P&gt;LET PED_STATUS_LIQUIDADO = 4;&lt;/P&gt;&lt;P&gt;LET PED_STATUS_CANCELADO = 5;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PassiveisDeCancelamento:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 AS CAN_QTDCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 AS CAN_VLRCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(PED_INTEGR = 'Integrado', PED_QTDPED/PED_VLRCNV, PED_QTDPED) as PAS_QTDPAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(PED_INTEGR = 'Integrado', (PED_QTDPED/PED_VLRCNV) * (PED_PREUNI*PED_VLRCNV), PED_QTDPED * PED_PREUNI)&amp;nbsp; as PAS_VLRPAS&lt;/P&gt;&lt;P&gt;RESIDENT Pedido&lt;/P&gt;&lt;P&gt;WHERE PED_SITPED = $(PED_STATUS_ABERTO_PARCIAL)&lt;/P&gt;&lt;P&gt;&amp;nbsp; AND PED_QTDCAN &amp;gt; 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TotalmenteCancelados:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(PED_INTEGR = 'Integrado', PED_QTDPED/PED_VLRCNV, PED_QTDPED) as CAN_QTDCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; (if(PED_INTEGR = 'Integrado', (PED_QTDPED/PED_VLRCNV)*(PED_PREUNI*PED_VLRCNV), PED_QTDPED*PED_VLRCNV)) as CAN_VLRCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0 AS PAS_QTDPAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0 AS PAS_VLRPAS&lt;/P&gt;&lt;P&gt;RESIDENT Pedido&lt;/P&gt;&lt;P&gt;WHERE PED_SITPED = $(PED_STATUS_CANCELADO);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SaldoFaturadoVsPedido:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(PED_INTEGR = 'Integrado', PED_QTDFAT/PED_VLRCNV, PED_QTDPED) AS FAT_QTDFAT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(PED_INTEGR = 'Integrado', PED_QTDPED/PED_VLRCNV, PED_QTDPED) AS FAT_QTDPED,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(PED_INTEGR = 'Integrado', PED_PREUNI*PED_VLRCNV, PED_PREUNI) AS FAT_VLRUNI&lt;/P&gt;&lt;P&gt;RESIDENT Pedido&lt;/P&gt;&lt;P&gt;WHERE PED_SITPED = $(PED_STATUS_LIQUIDADO);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CancelamentoDeLiquidados:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(FAT_QTDPED-FAT_QTDFAT &amp;gt; 0, FAT_QTDPED-FAT_QTDFAT, 0) AS CAN_QTDCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(FAT_QTDPED-FAT_QTDFAT &amp;gt; 0, FAT_QTDPED*FAT_VLRUNI, 0) AS CAN_VLRCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0 AS PAS_QTDPAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0 AS PAS_VLRPAS&lt;/P&gt;&lt;P&gt;RESIDENT SaldoFaturadoVsPedido;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCancelamentos:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDFIL AS CAN_PEDFIL,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDCOD AS CAN_PEDCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDSEQ AS CAN_PEDSEQ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PROCOD AS CAN_PROCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_QTDCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_VLRCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PAS_QTDPAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PAS_VLRPAS &lt;/P&gt;&lt;P&gt;RESIDENT CancelamentoDeLiquidados;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDFIL AS CAN_PEDFIL,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDCOD AS CAN_PEDCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDSEQ AS CAN_PEDSEQ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PROCOD AS CAN_PROCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_QTDCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_VLRCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PAS_QTDPAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PAS_VLRPAS &lt;/P&gt;&lt;P&gt;Resident TotalmenteCancelados;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDFIL AS CAN_PEDFIL,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDCOD AS CAN_PEDCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PEDSEQ AS CAN_PEDSEQ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PED_PROCOD AS CAN_PROCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_QTDCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_VLRCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PAS_QTDPAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PAS_VLRPAS &lt;/P&gt;&lt;P&gt;RESIDENT PassiveisDeCancelamento;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Debugging statement&lt;/P&gt;&lt;P&gt;call inspect ('TCancelamentos')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cancelamentos:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PEDFIL,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PEDCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PEDSEQ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PROCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM(CAN_QTDCAN) AS CAN_QTDCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM(CAN_VLRCAN) AS CAN_VLRCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM(PAS_QTDPAS) AS PAS_QTDPAS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM(PAS_VLRPAS) AS PAS_VLRPAS&lt;/P&gt;&lt;P&gt;RESIDENT TCancelamentos&lt;/P&gt;&lt;P&gt;GROUP BY&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PEDFIL,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PEDCOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PEDSEQ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN_PROCOD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Debugging statement&lt;/P&gt;&lt;P&gt;call inspect('Cancelamentos')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The debugging statement is a function to inspect data at resident tables... the fact is with SUM expressions at 'Cancelamentos' resident table the script raises an error. If I let only simple columns without SUM expression the script loads fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone have one idea that what could I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 11:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534975#M199861</guid>
      <dc:creator />
      <dc:date>2013-12-30T11:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534976#M199862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample of debugging method with Qviewer for those who are interesting in it.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/groups/qlikview-brasil/blog/2013/12/27/inspecting-qvd-files-at-script-runtime-with-qviewer"&gt;http://community.qlik.com/groups/qlikview-brasil/blog/2013/12/27/inspecting-qvd-files-at-script-runtime-with-qviewer&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 11:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534976#M199862</guid>
      <dc:creator />
      <dc:date>2013-12-30T11:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534977#M199863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use noconcatenate befor you are loading your table containing sum expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As when you are not using it, it will try to concatenate with previous loaded table and provide you error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 11:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534977#M199863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-30T11:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534978#M199864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you let us us know what error says?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 11:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534978#M199864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-30T11:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534979#M199865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do I think that the problem is in the NoConcatenate, but I do no think so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hacking a little bit, at "Cancelamentos" if I let the columns:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SUM(CAN_QTDCAN) AS CAN_QTDCAN,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SUM(CAN_VLRCAN) AS CAN_VLRCAN,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SUM(PAS_QTDPAS) AS PAS_QTDPAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The scripts works fine.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I think the problem is the SUM(PAS_VLRPAS) AS PAS_VLRPAS column.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the first I think that was a NULL state at this column and this is raising the error at SUM, but there are no Null values at 'TCancelamentos' resident table&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The behavior is so strange.. At debug time the load statement executes like the table was created properly, but when I try to store into a QVD file the Qlikview says that Table does not exists.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please take a look at TCancelamentos Data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 11:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534979#M199865</guid>
      <dc:creator />
      <dc:date>2013-12-30T11:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534980#M199866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior is strange.. The load statement executes at step by step debug but the Qlikview said that table does not exists at store command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 11:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534980#M199866</guid>
      <dc:creator />
      <dc:date>2013-12-30T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534981#M199867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;João Dias de Carvalho Neto wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;...Qlikview said that table does not exists at store command&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the table is loaded but then concatenated into the previous table, meaning the table no longer exists when trying to store.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;João Dias de Carvalho Neto wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think the problem is the SUM(PAS_VLRPAS) AS PAS_VLRPAS column.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe QlikView sees &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PAS_VLRPAS&lt;/SPAN&gt; as a string? QlikView normally handles leading/trailing spaces well but it is worth double-checking or trimming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534981#M199867</guid>
      <dc:creator />
      <dc:date>2013-12-30T12:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534982#M199868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;João Dias de Carvalho Neto wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Here is a sample of debugging method with Qviewer for those who are interesting in it.&lt;/P&gt;
&lt;P&gt;&lt;A _jive_internal="true" data-containerid="1021" data-containertype="37" data-objectid="3514" data-objecttype="38" href="https://community.qlik.com/groups/qlikview-brasil/blog/2013/12/27/inspecting-qvd-files-at-script-runtime-with-qviewer"&gt;http://community.qlik.com/groups/qlikview-brasil/blog/2013/12/27/inspecting-qvd-files-at-script-runtime-with-qviewer&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds interesting but unfortunately this is a private group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534982#M199868</guid>
      <dc:creator />
      <dc:date>2013-12-30T12:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534983#M199869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nitin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message confundes me..&amp;nbsp; The problem was really related at noConcatenate statement &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534983#M199869</guid>
      <dc:creator />
      <dc:date>2013-12-30T12:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534984#M199870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Is your problem got resolved?????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534984#M199870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-30T12:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534985#M199871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really do not understand why some columns SUM properly and another one raises error, but setting the noConcatenate command all SUM expressions works correctly &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534985#M199871</guid>
      <dc:creator />
      <dc:date>2013-12-30T12:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534986#M199872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It happens when we are using aggreate functions with the resident load and not using noconcatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore always try to use it, or just store the previous table in qvd and then drop it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you will load the final table from qvd, you can easily apply any aggreate functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also had this problem previously, thats why I suggested you to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way, it gud to get resolved the issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day and Happy new year in advance. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534986#M199872</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-30T12:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: SUM raises general script error</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534987#M199873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nitin...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish a happy new year too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-raises-general-script-error/m-p/534987#M199873</guid>
      <dc:creator />
      <dc:date>2013-12-30T12:24:39Z</dc:date>
    </item>
  </channel>
</rss>

