<?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 TOTAL not working right in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149835#M375899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is what is happening with your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the Attached App and your data for Duplicates or Null values in your Dimension field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2016 19:54:08 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-07-26T19:54:08Z</dc:date>
    <item>
      <title>SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149827#M375891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: courier new,courier;"&gt;I need to get % of LOS. Second row is just the total. LOS% needs to be individual LOS divide by total LOS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;Currently, I am using &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;LOS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;TOTAL&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;LOS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;SPAN style="color: #000000; font-family: courier new,courier;"&gt;&amp;nbsp; as LOS% in a chart straight box. As you see 3/346 needs to be 0.0087 but my application is getting 0.0055. Then LOS% should add up to 100%.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/132580_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: courier new,courier;"&gt;When I try to verify in a listbox using &lt;SPAN style="font-size: 9pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Total&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;LOS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt; , it results to 546. It needs to be 346.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: courier new,courier; color: #000000;"&gt;Has anyone run into this issue and know of a possible solution? So, it is dividing 3 by 546 instead of 346.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: courier new,courier; color: #000000;"&gt;The weird this is this logic works on a sample application, but the same logic is not working right on my main work dashboard.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9.0pt; font-family: courier new,courier;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149827#M375891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149828#M375892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you be able to post qvw. by that time check if you have suppressed null in dimension, just uncheck that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149828#M375892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T19:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149829#M375893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)Is LOS expression just&amp;nbsp; =SUM(LOS) or is there any condition to it? i&amp;nbsp; mean set analysis if yes, apply the same to the SUM(TOTAL LOS) expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Do you have null values in your dimension with LOS values? this could be another reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Do you have a calculated dimension?&lt;/P&gt;&lt;P&gt;Post a sample app if you could.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149829#M375893</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-26T19:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149830#M375894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked and confirmed that I am not suppressing the null value in dimension. LOS is just a value field that I have coded in my sql script. DATEDIFF(day,Coalesce(a.CheckinDateTime,a.ServiceDateTime),a.CheckoutDateTime) AS LOS. And, here is how I am using as an expression: &lt;STRONG&gt;if(IsNull(LOS),0,LOS)&lt;/STRONG&gt;. So, LOS field is getting the right values but LOS% not doing the right percentage.&lt;/P&gt;&lt;P&gt;I have 77 fields on my application so just trying to give an overall idea to see if any thoughts can solve. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149830#M375894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T19:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149831#M375895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Star, now it's difficult to predict from here without looking at the qvw. I dont know how difficult it's for you to post a sample. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149831#M375895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T19:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149832#M375896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;qlikrajan! With sample file, the logic is working but since I have 77 fields on my original app and because of privacy issue, I am trying to avoid uploading any more details. I am trying the exact logic on my work app, but it's not functioning right.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/132593_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" height="283" src="https://community.qlik.com/legacyfs/online/132594_pastedImage_1.png" style="width: 479px; height: 282.765px;" width="479" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149832#M375896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T19:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149833#M375897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149833#M375897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T19:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149834#M375898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the basic problem is in your case sum of rows and expression total are not equal, right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149834#M375898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T19:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149835#M375899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is what is happening with your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the Attached App and your data for Duplicates or Null values in your Dimension field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149835#M375899</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-26T19:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149836#M375900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you compare expressions SUM(LOS)&amp;nbsp; with Just (LOS), you would notice that some of your dimension values are holding multiple LOS values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149836#M375900</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-26T19:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149837#M375901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if you compare expressions SUM(LOS)&amp;nbsp; with Just (LOS), you would notice that some of your dimension values are holding multiple LOS values&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149837#M375901</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-26T19:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149838#M375902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Expression total evaluates the expression over the whole data set which may or may not equal the sum of the rows. if some of the records from source data is not coming in your straight table. That's what I can think of now.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149838#M375902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T20:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149839#M375903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vineeth,&lt;/P&gt;&lt;P&gt;Looks like it is exactly happening what you mentioned and did in the sample app. However, my dimension is a unique field and when I export my data into excel file, I see the dimension is never duplicating. May be an expression might be duplicating on the back side of the logic/script. I will give it a deep look tomorrow and update you all.&lt;/P&gt;&lt;P&gt;Thanks for thoughts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149839#M375903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T20:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149840#M375904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's all in the script &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 of luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149840#M375904</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-26T20:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149841#M375905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be your original dataset have 10 fields and you are importing just 8 fields. Removal of 2 fields might have caused a number of duplicate records. you can compare the number of rows by doing "ctrl T" in table viewer and number of rows in your table box. If they are not same then definitely there are some duplicates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149841#M375905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T20:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149842#M375906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is much likely a&amp;nbsp; JOIN you are doing to the table that is causing the lines to duplicate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149842#M375906</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-26T20:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149843#M375907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I add the data to the tablebox, I see some rows duplicating because of an expression having multiple amounts of different dates. However, I am using a straightbox and I do sum(amount) so in a straightbox none of the expression duplicates. Some IDs have multiple insurances so in a tablebox, rows duplicates with different insurances. However, in my straightbox, I pick only the first insurance(primary) so there will no duplicates. To conclude, it seems the straightbox chart doesn't duplicate any values but sum(LOS) adds duplicating values as it is doing in the tablebox. Hope that made sense. Gotta go. ttyl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149843#M375907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T20:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149844#M375908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I was thinking for LOS% field the numerator will be: &lt;STRONG&gt;if(IsNull(LOS),0,LOS)&lt;/STRONG&gt; . However, I am not sure how to code the denominator. It looks like it should&amp;nbsp; be "&lt;STRONG&gt;sum of LOS of the currently selected distinct ID&lt;/STRONG&gt;". I am trying &lt;STRONG&gt;=Sum({$&amp;lt;DISTINCT ID&amp;gt;}LOS)&lt;/STRONG&gt; . But, DISTINCT is getting a red line underneath. How can I write that denominator? Any thoughts?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 13:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149844#M375908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-27T13:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149845#M375909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;&lt;SPAN style="color: #999999;"&gt;&lt;EM&gt;When I add the data to the tablebox, I see some rows duplicating because of an expression having multiple amounts of different dates. However, I am using a straightbox and I do sum(amount) so in a straightbox none of the expression duplicates.&lt;/EM&gt;&lt;/SPAN&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; font-weight: bold;"&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; font-weight: bold;"&gt;Is it just the dates that have multiple entries against your dimension that are causing the duplicate rows? try the below&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; font-weight: bold;"&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; font-weight: bold;"&gt;firstsortedvalue(LOS, &lt;SPAN style="text-decoration: underline;"&gt;ID-dimension&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 13:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149845#M375909</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-27T13:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: SUM TOTAL not working right</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149846#M375910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a Better way to avoid this to create a separate table to hold distinct values of ID and LOS for calculation purpose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 13:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-TOTAL-not-working-right/m-p/1149846#M375910</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-27T13:14:14Z</dc:date>
    </item>
  </channel>
</rss>

