<?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 Conflicting Summary Data - At Wits End in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319118#M1196610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wahoo, I think I got you Erika.&amp;nbsp; Now all I need to do is work out out to import only the interger portion of the dates?&amp;nbsp; Anyone out there inclined to comment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2011 11:55:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-23T11:55:50Z</dc:date>
    <item>
      <title>Conflicting Summary Data - At Wits End</title>
      <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319113#M1196605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if I have been too focussed on the details and now cannot see the obvious, but clearly I am missing something obvious.&amp;nbsp; I have reduced my dataset to 2 days and attached the .qvw file to illustrate my problem.&amp;nbsp; But please reply in the post as well as posting a solution .qvw as I am using a single user license and cannot open posted worksheets.&amp;nbsp; License due to be signed off shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The files are read in as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table_View.png" class="jive-image-thumbnail jive-image" height="390" onclick="" src="https://community.qlik.com/legacyfs/online/4664_Table_View.png" width="880" /&gt;&lt;/P&gt;&lt;P&gt;In the Inbound Transactions tab, I have created a couple of tables - it looks messy as I am trying to debug it . . . but one of the selectors is essentially the transaction type:&amp;nbsp; IMP / EXP / ADJ- / ADJ+ / TRFI / TRFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I create several table all with largely the same columns - as I only want to let the user see Inbound transactions on this tab, I use the following expression when summing the total volume: =If([TransDet TXN_TYPE]='IMP',SUM([TransDet TOTAL_VOL])).&amp;nbsp; Yet I get different results from a chart using this expression as I do if I use the selector to select the transaction type and my expression is SUM([TransDet TOTAL_VOL]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not only do I get different totals, but I also have a different number of principals displayed and summed over.&amp;nbsp; I am completely stuck and I am sure it is something very obvious!&amp;nbsp; I have tried to make the transaction table extremely simple and straight forward to avoid any confusion, but I do link to a principal fact table and a date table to generate some additional information, but they are very simple sttraight forward keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another problem I am seeing is if I for instance add in an additional dimension, such as SITE_CODE,&amp;nbsp; into one of the tables, suddenly the number of principles is increased?&amp;nbsp; How is this possible?&amp;nbsp; Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also see that I get inconsistent results when enabling the partial sums checkbox - sometimes it displays, other times it may only display at random rows in the pivot chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know someone out there is going to be able to help me - and please explain the answer as opposed to just supplying the worksheet as I cannot yet read others worksheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 08:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319113#M1196605</guid>
      <dc:creator />
      <dc:date>2011-05-23T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Conflicting Summary Data - At Wits End</title>
      <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319114#M1196606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; When I load the dates, I load them as Date(Floor(TXN_DATE)) and when I use the TXN_DATE as a dimension, I do it as a calculated dimension using (Date(Num(Floor(TXN_DATE).&amp;nbsp; I use the same expression for my selector field.&amp;nbsp; However, when exporting to Excel, I can see that the underlying fractional part is still embedded.&amp;nbsp; I am sure that this is affecting the results as if the underlying data is a timestamp as opposed to a pure date (integer only) I will be selecting based on time as well, which I do not want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to drop the fractional part as part of the SQL import into QV?&amp;nbsp; I will never use the timestamp component.&amp;nbsp; If not is there a way to discard the fractional portion within QV?&amp;nbsp; I would have thought by using the (Date(Num(Floor(TXN_DATE) expression I would at least simulate this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I need to get rid of this annoyance prior to trying to solve the other issues which will undoubtably sit ontop of this mess?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward to a quick and sharp learning curve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 09:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319114#M1196606</guid>
      <dc:creator />
      <dc:date>2011-05-23T09:09:44Z</dc:date>
    </item>
    <item>
      <title>Conflicting Summary Data - At Wits End</title>
      <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319115#M1196607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Try this Instead :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=SUM(IF([TransDet TXN_TYPE]='IMP',[TransDet TOTAL_VOL])) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 09:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319115#M1196607</guid>
      <dc:creator />
      <dc:date>2011-05-23T09:25:49Z</dc:date>
    </item>
    <item>
      <title>Conflicting Summary Data - At Wits End</title>
      <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319116#M1196608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now that you mention it, I recall reading something along the same lines on the old community forum.&amp;nbsp; Can anyone briefly elucidate on the internal logic of why this makes a difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, any suggestions on the date issue and dropping the timestamp?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly any suggestions on the partial sums?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 10:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319116#M1196608</guid>
      <dc:creator />
      <dc:date>2011-05-23T10:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conflicting Summary Data - At Wits End</title>
      <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319117#M1196609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When we use this:&lt;/P&gt;&lt;P&gt;SUM(IF([TransDet TXN_TYPE]='IMP',[TransDet TOTAL_VOL]))&lt;/P&gt;&lt;P&gt;Then it first calculates the Sum and then applies IF Condition and classify data according to the IF Condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case:&lt;/P&gt;&lt;P&gt;If([TransDet TXN_TYPE]='IMP',SUM([TransDet TOTAL_VOL]))&lt;/P&gt;&lt;P&gt;It calculates Sum only when we select IMP.It means Sum is calculated only after IF condition is fulfilled.&lt;/P&gt;&lt;P&gt;That is why in this condition&amp;nbsp; Show partial sums does not show any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try This For date issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(DateField,'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will avoid Timestamps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 10:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319117#M1196609</guid>
      <dc:creator />
      <dc:date>2011-05-23T10:49:42Z</dc:date>
    </item>
    <item>
      <title>Conflicting Summary Data - At Wits End</title>
      <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319118#M1196610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wahoo, I think I got you Erika.&amp;nbsp; Now all I need to do is work out out to import only the interger portion of the dates?&amp;nbsp; Anyone out there inclined to comment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 11:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319118#M1196610</guid>
      <dc:creator />
      <dc:date>2011-05-23T11:55:50Z</dc:date>
    </item>
    <item>
      <title>Conflicting Summary Data - At Wits End</title>
      <link>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319119#M1196611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I eventually solved the date issue by reading in the date using the floor() function.&amp;nbsp; This was used during the load statement and only passed the integer portion of the date through to the named field - effectively dropping the timestamp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2011 12:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conflicting-Summary-Data-At-Wits-End/m-p/319119#M1196611</guid>
      <dc:creator />
      <dc:date>2011-05-29T12:14:30Z</dc:date>
    </item>
  </channel>
</rss>

