<?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: General script error in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500942#M4299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. However i have used Errormode=0 , which means it should continue reload of app even it has an error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then why it has thrown an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 19:12:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-21T19:12:45Z</dc:date>
    <item>
      <title>General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500937#M4294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAP_SINGLE_TAB&lt;/P&gt;&lt;P&gt;Mapping &lt;/P&gt;&lt;P&gt;Load Distinct Tracking_Num,&lt;/P&gt;&lt;P&gt;COUNT(DISTINCT Tracking_NUM_Key)&amp;nbsp; as NB_TRK_NUM_KEY&lt;/P&gt;&lt;P&gt;Resident Trace_Table1&lt;/P&gt;&lt;P&gt;GROUP BY Tracking_Case_NUM;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error i have been facing with app.&lt;/P&gt;&lt;P&gt;General Script Error&lt;/P&gt;&lt;P&gt;Execution Failed&lt;/P&gt;&lt;P&gt;Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the app is working properly in local machine .&lt;/P&gt;&lt;P&gt;I have tested this app by Setting Errormode=0.. Even then i felt the same issue and getting the same prob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest anyone on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satti &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500937#M4294</guid>
      <dc:creator />
      <dc:date>2025-07-23T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500938#M4295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot have DISTINCT and GROUP BY together. Maybe this works (don't know your field names):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAP_SINGLE_TAB&lt;/P&gt;&lt;P&gt;Mapping &lt;/P&gt;&lt;P&gt;Load Tracking_Num,&lt;/P&gt;&lt;P&gt;COUNT(DISTINCT Tracking_NUM_Key)&amp;nbsp; as NB_TRK_NUM_KEY&lt;/P&gt;&lt;P&gt;Resident Trace_Table1&lt;/P&gt;&lt;P&gt;GROUP BY Tracking_Num;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 18:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500938#M4295</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-21T18:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500939#M4296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Distinct is working in local machine ....Hence i dont think DISTINCT is the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 18:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500939#M4296</guid>
      <dc:creator />
      <dc:date>2013-10-21T18:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500940#M4297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However, the field(s) of GROUP BY has to be in the field list or aggregation expression..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500940#M4297</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-21T19:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500941#M4298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Non-grouped fields MUST exists at GROUP BY clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13823824440131099 jive_macro_code" jivemacro_uid="_13823824440131099"&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MAP_SINGLE_TAB&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mapping&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load Distinct Tracking_Num,&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;COUNT(DISTINCT Tracking_NUM_Key)&amp;nbsp; as NB_TRK_NUM_KEY&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Trace_Table1&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GROUP BY Tracking_Case_NUM;&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;should be&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13823824486958702" jivemacro_uid="_13823824486958702"&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MAP_SINGLE_TAB&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mapping&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load Distinct Tracking_Num,&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;COUNT(DISTINCT Tracking_NUM_Key)&amp;nbsp; as NB_TRK_NUM_KEY&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Trace_Table1&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GROUP BY Tracking_Case_NUM,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Tracking_Num&lt;/SPAN&gt;;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500941#M4298</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-21T19:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500942#M4299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. However i have used Errormode=0 , which means it should continue reload of app even it has an error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then why it has thrown an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500942#M4299</guid>
      <dc:creator />
      <dc:date>2013-10-21T19:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500943#M4300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But what should it do? Don't load the mapping table? Then you will have more errors later using the mapping table.. And more errors.. And so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500943#M4300</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-21T19:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500944#M4301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by mistake i have given tracking_case_num in the group by clause . but in the qlikview script i have given right script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500944#M4301</guid>
      <dc:creator />
      <dc:date>2013-10-21T19:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500945#M4302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then post the right script here..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500945#M4302</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-21T19:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500946#M4303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;Really shocked .&lt;/P&gt;&lt;P&gt;I have given &lt;STRONG&gt;Mapping load distinct&lt;/STRONG&gt; in a single line(the following script) . It's working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping_shot:&lt;/P&gt;&lt;P&gt;Mapping Load Distinct &lt;/P&gt;&lt;P&gt;Tracking_Num,&amp;nbsp; &lt;/P&gt;&lt;P&gt;COUNT(DISTINCT Tracking_NUM_Key)&amp;nbsp; as NB_TRK_NUM_KEY&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident Trace_Table1&amp;nbsp; &lt;/P&gt;&lt;P&gt;GROUP BY Tracking_Num;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satti &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500946#M4303</guid>
      <dc:creator />
      <dc:date>2013-10-21T20:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500947#M4304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However, you should omit DISTINCT. It is not needed nor makes sense here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500947#M4304</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-21T20:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500948#M4305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There should be something else.&amp;nbsp; Single line or multi-line makes no difference (unless you break the words of course).&amp;nbsp; That is,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAPPING LOAD DISTINCT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAPPING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;are exactly the same...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500948#M4305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-21T20:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: General script error</title>
      <link>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500949#M4306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael&lt;/P&gt;&lt;P&gt;You are right it will keep both are meaning less it will degrade the load performance of the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Radha krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 06:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/General-script-error/m-p/500949#M4306</guid>
      <dc:creator />
      <dc:date>2014-01-10T06:54:38Z</dc:date>
    </item>
  </channel>
</rss>

