<?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: Same expression but different results in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837429#M11559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dear Henric&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"CopyOfKeyField" in the correct table in Sense will return the correct result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I played around a little bit with the tables in the script and what I found out is that &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;A) &lt;SPAN style="font-size: 13.3333330154419px;"&gt;the result in the &lt;/SPAN&gt;pivot table is regardless of the position of the table in the load script. When use [FY] as dimension and &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[FY]={$(=Max([FY]))}&amp;gt;} ItemCode) as measure the result is every time the same, in my case 397,701.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;B) the result in the text/kpi object depends on the position of the table inside the load script &amp;amp; will return the result only for the &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;FIRST&lt;/STRONG&gt;&lt;/SPAN&gt; loaded table. In my case the measure &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[FY]={$(=Max([FY]))}&amp;gt;} ItemCode) return the value of &lt;/SPAN&gt;Table A&amp;nbsp; (6,424 ItemCodes) or Table B (397,701 ItemCodes) in dependence which table is loaded first in the load script. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I also checked it in QlikView and I observed the same behavior for the text object and pivot table.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more time I learnt something I didn't know before but need to be aware in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Dear Henric if you still want to see the application itself please let me know &amp;amp; I will share it but I think this is a general behavior, I just didn't know until now. If possible, it also would be great if you can write a short reply why pivot table and text/kpi object show this different behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 03:08:26 GMT</pubDate>
    <dc:creator>r_wroblewski</dc:creator>
    <dc:date>2015-07-17T03:08:26Z</dc:date>
    <item>
      <title>Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837409#M11539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone give me a hint why the same expression give different results when I use it in pivot table &amp;amp; text box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="92311" alt="QlikSenseProblem.PNG" class="jive-image image-1" height="284" src="https://community.qlik.com/legacyfs/online/92311_QlikSenseProblem.PNG" style="height: 284px; width: 499.07949790795px;" width="499" /&gt;&lt;/P&gt;&lt;P&gt;The result in the pivot table is the correct one but I don't understand why using a text box give me a wrong result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is loaded from QVDs and all expressions show correct results, compared to original QlikView application, except the one expression above. Did someone has a hint or idea what could be the problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Unfortunately I can't share the QVF or reproduce the error in a separate file until now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 02:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837409#M11539</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-09T02:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837410#M11540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will you able to give&amp;nbsp; expressions what you are using for arriving this value ?&lt;/P&gt;&lt;P&gt;expession which you use in text is same like used in pivot ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 04:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837410#M11540</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-07-09T04:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837411#M11541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, expressions are exactly the same, I also replaced the pivot table expression by copy and paste but results are not changing.&lt;/P&gt;&lt;P&gt;Pivot table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 397701&lt;/P&gt;&lt;P&gt;Text box&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 6426&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[FY]={$(=Max([FY]))}&amp;gt;} ItemCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be a bug ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 05:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837411#M11541</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-09T05:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837412#M11542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to say anything sample cab you post sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 05:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837412#M11542</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-07-09T05:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837413#M11543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide the app, it would be much easier to answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 07:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837413#M11543</guid>
      <dc:creator />
      <dc:date>2015-07-09T07:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837414#M11544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I your data model, do you have others fields in the item table ? (i.e. : ItemLabel). If so, what appens if you use count on it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 20:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837414#M11544</guid>
      <dc:creator />
      <dc:date>2015-07-09T20:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837415#M11545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xavier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, [ItemName] is also available and return the same results like [ItemCode].&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pivot table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 397701&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Text box&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 6426&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 01:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837415#M11545</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-10T01:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837416#M11546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexandra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it's not possible to share the application.&lt;/P&gt;&lt;P&gt;I tried to create a sample file but I couldn't reproduce the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 01:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837416#M11546</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-10T01:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837417#M11547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the result returned by the KPI object ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Xavier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 11:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837417#M11547</guid>
      <dc:creator />
      <dc:date>2015-07-10T11:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837418#M11548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xavier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for my late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KPI object also return same value(6424) like text object.&lt;/P&gt;&lt;P&gt;I have absolute no idea why result of text/kpi object is different then pivot table/table when using same expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 01:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837418#M11548</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-13T01:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837419#M11549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ronny are you sure you don't have a DISTINCT in your KPI expression by chance? It seems that the number you are getting is very close to DISTINCT Count of ItemCode. Not sure what is the exact issue, but just trying to throw some ideas &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 01:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837419#M11549</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-13T01:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837420#M11550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes I'm sure that no distinct expression is used instead of Count. I already checked it and also created kpi / textobjects with different count &amp;amp; count distinct expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[FY]={$(=Max([FY]))}&amp;gt;} ItemCode) / &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(DISTINCT {&amp;lt;[FY]={$(=Max([FY]))}&amp;gt;} ItemCode)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(DISTINCT )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;text object&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6424&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6373&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;kpi object&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6424&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6373&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;simple table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 397701&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6373&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pivot table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 397701&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6373&lt;/SPAN&gt;&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; font-size: 13px;"&gt;The raw data is loaded from qvds which are extracted from an qvw. Except this single value all other values are correct and equal to the qvw file. I also checked the raw data but couldn't find any irregularities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Ronny&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 04:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837420#M11550</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-13T04:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837421#M11551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the issue is related to the granularity of the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, let's have this table&lt;/P&gt;&lt;P&gt;Product,&amp;nbsp;&amp;nbsp;&amp;nbsp; Client&lt;/P&gt;&lt;P&gt;PR_1, CL_1&lt;/P&gt;&lt;P&gt;PR_2, CL_1&lt;/P&gt;&lt;P&gt;PR_3, CL_2&lt;/P&gt;&lt;P&gt;PR_4, CL_3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if I create a&amp;nbsp; table per Product as dimension, and count(distinct Client) as expression then I will get 1 per each product. The total as a sum of the result column is equal 4. If you perform count(distinct Client) in a global scope then the result is 3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an idea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 09:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837421#M11551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-14T09:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837422#M11552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your post and I understand what you mean but&lt;/P&gt;&lt;P&gt;I don't think that this is an issue of granularity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;pivot table has as dimension only "Fiscal Year" and two measures (QlikView &amp;amp; Qlik Sense)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;a)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(ItemCode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;b)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[FY]={$(=Max([FY]))}&amp;gt;} ItemCode)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both measures return the same result(397,701) in the pivot table for the latest fiscal year in QV &amp;amp; Sense. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;(expected)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text object (QV &amp;amp; Sense) &amp;amp; KPI object (only Sense)&lt;/P&gt;&lt;P&gt;using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[FY]={$(=Max([FY]))}&amp;gt;} ItemCode) inside a text object in QV return also the correct result (397,701) but using the same expression in Qlik Sense return a strange result which is close to Count(Distinct ...) but I have no idea why&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is the same, like used in QV, and no modifications done in the Sense script (load of qvds created from the QV app).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 03:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837422#M11552</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-15T03:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837423#M11553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to limit and scramble the data then load it into the the Sense app and share it here, please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837423#M11553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-15T08:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837424#M11554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create a sample app but couldn't recreate the problem.&lt;/P&gt;&lt;P&gt;I will try to limit &amp;amp; scramble the data when I have time &amp;amp; attach a sample qvf here as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 09:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837424#M11554</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-15T09:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837425#M11555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first thought was that ItemCode is a key between two tables, and then Count( ItemCode ) is not well defined. The reason is that the engine doesn't know in which table to make the calculation. So, you need to use Count( disitnct ItemCode ) or Count( CopyOfItemCode ) instead. But then I saw that you have the same problem with ItemName...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, the way partial sums are calculated has in fact been changed in the new QIX engine. So any new "unwanted" behaviour is extremely interesting for us at Qlik. After all, &lt;EM&gt;it could be a bug&lt;/EM&gt;. So &lt;SPAN style="font-size: 13.3333330154419px;"&gt;If you still have this problem, I &lt;/SPAN&gt;would be very interested in learning more, or maybe get a copy of the app (or a subset of it) to investigate the problem. Naturally we will treat it confidentially. Mail me directly if you want to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 19:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837425#M11555</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-15T19:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837426#M11556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Henric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I will check what will happen if I use "CopyOfKeyFields".&lt;/P&gt;&lt;P&gt;If possible I will create a sample QVW &amp;amp; QVF from the same source file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data &amp;amp; apps are in Japanese so I need a little b&lt;SPAN style="font-size: 13.3333330154419px;"&gt;it more modifications before I can post a useful sample here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Ronny&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 01:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837426#M11556</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-16T01:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837427#M11557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronny, we have a support team in Japan so language is not a problem.&amp;nbsp;&amp;nbsp; Please PM me and I will send you contact details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 06:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837427#M11557</guid>
      <dc:creator>Greg_Hood</dc:creator>
      <dc:date>2015-07-16T06:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression but different results</title>
      <link>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837428#M11558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gregory,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your post.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Qlik Support Japan contact information is available. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Basically, I always try to solve my mistakes with help of the community before I contact the support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I will keep community &amp;amp; support up to date for this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Ronny&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 07:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-expression-but-different-results/m-p/837428#M11558</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-07-16T07:38:13Z</dc:date>
    </item>
  </channel>
</rss>

