<?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() acts strange in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324357#M409888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Anil, I will not be able to share the excel. 0.47 is the required value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Apr 2017 09:18:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-02T09:18:13Z</dc:date>
    <item>
      <title>sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324353#M409884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, May be am doing a silly mistake, But what might give me this result. What exactly "12/30/1899" mean?? Please find the screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(budget) give 12/30/1899&lt;/P&gt;&lt;P&gt;and avg(budget) give 0.47.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are multiple records, sum should be multiples of avg. But how its displaying 12/30/1899.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158562_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 07:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324353#M409884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T07:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324354#M409885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Number tab of straight table. And set the format as expression default. I think for this expression format is Date which is wrong. Sum is giving result as 0, therefore Date is 12/30/1899 meaning number representation of Date 12/30/1899 is 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 08:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324354#M409885</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-02T08:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324355#M409886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal,&lt;/P&gt;&lt;P&gt;The problem here is not date. When i read a value from excel (which shows 0.47), the value is retrieved as '12/3/1899'. Am not sure why this is being caused. And strangely avg() of this value is giving 0.47.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 08:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324355#M409886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T08:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324356#M409887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you provide excel, May be you need to chagne that decimal number to Date and then work of metrics. Please provide expected result alsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 08:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324356#M409887</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-02T08:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324357#M409888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Anil, I will not be able to share the excel. 0.47 is the required value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 09:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324357#M409888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T09:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324358#M409889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Kushal is saying is that formatting for the that particular expression is set to &lt;SPAN style="text-decoration: underline;"&gt;Date&lt;/SPAN&gt; &amp;gt;&amp;gt; change it to Number in the "Number" Tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if that is confusing! then Encapsulate it with Num function!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Sum(Sales))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 09:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324358#M409889</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-04-02T09:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324359#M409890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vineet, I understood what Kushal is saying. But even if i get the value Num(sum(Sales)) it will give 0. But am expecting 0.47 here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 09:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324359#M409890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T09:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324360#M409891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's giving 0 because we did not specify the number formatting&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Num(Sum(Sales),'##.##') or &lt;SPAN style="font-size: 13.3333px;"&gt;Num#(Sum(Sales),'##.##')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 10:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324360#M409891</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-04-02T10:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324361#M409892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry guys. Maybe am not making myself clear. Firstly is there a possibility where 0.47 in excel is read as '12/30/1899' in Qlikview. If yes please let me know. &lt;/P&gt;&lt;P&gt;And then&lt;/P&gt;&lt;P&gt;Whatever might be the number, will it act differently for sum() and Avg() if I have 1 or more records?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 10:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324361#M409892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T10:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324362#M409893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shiva, It will be better if you can share the excel file with sample data and application in which you are facing issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 10:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324362#M409893</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-02T10:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324363#M409894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kushal, Am not able to reproduce the situation. It's not happening now. I just want to know what might have happened.:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 10:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324363#M409894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T10:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324364#M409895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your original question is not clear, I would highly asking you to create sample data atleast 5 rows and then tell us your expected result in UI. So then we can help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 10:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324364#M409895</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-02T10:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324365#M409896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you at least share some screenshots? May be while loading your data you need to use Num(Sales, '#,##0.00) as Sales&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 10:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324365#M409896</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-02T10:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324366#M409897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, the screen shot i have attached in the question is the only one i have. Am not getting the issue anymore. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The changes i did are removing a sync table. And with that the issue is gone. Am not sure what exactly happened. Thinking there might be some thing i did it wrong which converted by decimal number to a invalid date format value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you guys for your time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 11:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324366#M409897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T11:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324367#M409898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still not sure what exactly are you saying here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158601_Capture.PNG" style="height: 166px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you mentioned that the issue was while retrieving the data from Excel. But in your screenshot you are showing a straight or pivot table with the incorrect formatting? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 11:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324367#M409898</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-02T11:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324368#M409899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, that is why I suggested to check the Straight table Number format. May there was a format of date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 11:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324368#M409899</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-02T11:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324369#M409900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that the formatting might have been set as date on the number's tab, is that what you are thinking happened also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 11:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324369#M409900</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-02T11:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324370#M409901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exactly bhai.. aapun ye hi bolna chahta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 11:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324370#M409901</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-02T11:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324371#M409902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No guys, The format was Expression default. I checked that. Leaving the straight table aside, when I preview the data with a Ctrl+ T I was looking at 12/30/1899. as value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 11:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324371#M409902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-02T11:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: sum() acts strange</title>
      <link>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324372#M409903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactly what I meant... if you see 12/30/1899 in data model, then you could have tried Num(Sales) to see if that fixed the issue... but since its already resolved, you should be all good.... &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;Please close this thread if you have got what you wanted. You can mark assumed answer or your own response as correct &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>Sun, 02 Apr 2017 11:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-acts-strange/m-p/1324372#M409903</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-02T11:20:17Z</dc:date>
    </item>
  </channel>
</rss>

