<?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: Expression Calculation incorrect only on Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401279#M1271340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There may be a problem with the concat() function.&amp;nbsp; It doesn't work if the result is too long (don't ask me what is too long, I didn't test...).&amp;nbsp; Try to add distinct to make it shorter:&lt;/P&gt;&lt;P&gt;=CONCAT(&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; MONTH_SELECT1, ',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2013 19:44:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-10T19:44:14Z</dc:date>
    <item>
      <title>Expression Calculation incorrect only on Server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401276#M1271336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a QV document deployed on our server version 9.00.7502.8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At random points, an expression in one of our objects fails to calculate correctly, it returns zero for all values.&amp;nbsp; It is random as far as we can tell, it will work for weeks, and then stops working one day.&amp;nbsp; It requires a server restart to fix.&amp;nbsp; After the restart, everything is back to normal.&amp;nbsp; We have seen this behavior in multiple documents on our server.&amp;nbsp; If we open the document on our Qlikview Desktop application, it works fine, no issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression uses Set Analysis to select a range of periods. Here is an example.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;SEGMENT4={'401100','401200','401700','401800','401900','408200'}, CAL_YEAR={2013}, ACTUAL_FLAG = {'A'}, CAL_MONTH={$(=CONCAT(MONTH_SELECT1, ','))}, CAL_PERIOD= &amp;gt;&amp;nbsp; }&amp;nbsp; ACCTD_AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is odd, because certain months will work, say selecting Feb, Mar, Apr, but Jan will return all zeros. My hunch is that Dollar Sign expansion is failing somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping someone could provide some guidance or at least let me know if you have ever seen this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help much appreciated!&amp;nbsp; It's causing our users not to trust our data. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401276#M1271336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation incorrect only on Server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401277#M1271337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you manage to get a resolution?&lt;/P&gt;&lt;P&gt;I am faced with a similar problem on values calculated within the script, QV server version is 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are in the process of updating to 11SR4, and will rerun the script and test.&lt;/P&gt;&lt;P&gt;Very weird,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 10:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401277#M1271337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T10:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation incorrect only on Server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401278#M1271338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, we were unable to resolve.&amp;nbsp; Fortunatly we are moving to QV11 so hopefully that fixes the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 19:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401278#M1271338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T19:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation incorrect only on Server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401279#M1271340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There may be a problem with the concat() function.&amp;nbsp; It doesn't work if the result is too long (don't ask me what is too long, I didn't test...).&amp;nbsp; Try to add distinct to make it shorter:&lt;/P&gt;&lt;P&gt;=CONCAT(&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; MONTH_SELECT1, ',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 19:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401279#M1271340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T19:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation incorrect only on Server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401280#M1271341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After migrating to Qlikview version 11 we no longer have this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 22:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-incorrect-only-on-Server/m-p/401280#M1271341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-22T22:41:05Z</dc:date>
    </item>
  </channel>
</rss>

