<?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: Group by problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31477#M5261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just load the first table. Then I create a Pivot table where i Put &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total = 73.436.750 (so weird)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do Sum(Distinct Field1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total = 850 (that is Correct) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why sum Increase too much???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a try to put sum(Distinct Field1) as Field1 in the group by table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Total = 400 (Incorrect)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2018 15:43:06 GMT</pubDate>
    <dc:creator>pgalvezt</dc:creator>
    <dc:date>2018-04-30T15:43:06Z</dc:date>
    <item>
      <title>Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31469#M5253</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;I´ve trying to get sum aggregation in the Load Script but without results. In the excel File appears the final results and What I want and my final Output.&lt;/P&gt;&lt;P&gt;This is my scritpt: Load well but appears another numbers in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Temp_Can_lao2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Date, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Name, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum( Distinct [Field 1]) as &lt;SPAN style="font-size: 13.3333px;"&gt;[Field 1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Country&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident &lt;SPAN style="font-size: 13.3333px;"&gt;Temp_Can_lao1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Group By &lt;SPAN style="font-size: 13.3333px;"&gt;Field1&lt;/SPAN&gt;,Date,&lt;SPAN style="font-size: 13.3333px;"&gt;Name&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;Country&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;Drop Table &lt;SPAN style="font-size: 13.3333px;"&gt;Temp_Can_lao1&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 20:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31469#M5253</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-27T20:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31470#M5254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm understanding you correctly, you are just looking to get the aggregated sum by Field1, Date, and Name, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you'd want to write your load script as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor(Date) as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/P&gt;&lt;P&gt;FROM sourcefile.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Field2) AS SumTotal&lt;/P&gt;&lt;P&gt;RESIDENT Table1&lt;/P&gt;&lt;P&gt;GROUP BY Field1,Name,Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you need to use Floor(Date) so that you get a whole number, without decimals. Otherwise you'd be grouping the date down to the last decimal place which will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 20:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31470#M5254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-27T20:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31471#M5255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I had already been grouped so but with this formula date(Left(Date,10),'DD/MM/YYYY') This gave me just date format and no TimeStamp, the problem that my formula and your method reach the same result, and that is a very high data should show 750 and shows 73,436,650 ... I do not know why the number ... When I add a Distinct to the sum, I lower the result to 300 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 21:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31471#M5255</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-27T21:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31472#M5256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Table has Sum(Distinct [Field1])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Table Has &lt;SPAN style="font-size: 13.3333px;"&gt;Sum([Field1])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Without Distinct The number increase a lot...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;What can be?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 21:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31472#M5256</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-27T21:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31473#M5257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;LOAD Field1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;load Field1,&lt;/P&gt;&lt;P&gt;sum(Field2) as Field2&lt;/P&gt;&lt;P&gt;Resident t1&lt;/P&gt;&lt;P&gt;Group by Field1;&lt;/P&gt;&lt;P&gt;drop table t1;&lt;IMG alt="Capture15.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201065_Capture15.PNG" style="height: 387px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 05:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31473#M5257</guid>
      <dc:creator>vishalarote</dc:creator>
      <dc:date>2018-04-30T05:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31474#M5258</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;But I need the Date,&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; Floor(Date) as Date, as said &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;Gives:&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;Field1&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;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 73.436.650&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;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&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 don´t know why the register 1 increase the number too much!!&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;&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;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31474#M5258</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-30T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31475#M5259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo, do you have multiples table associated in your data model? Are you able to share what your data model looks like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31475#M5259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-30T15:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31476#M5260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serina,&lt;/P&gt;&lt;P&gt;Floor(&lt;SPAN style="font-size: 13.3333px;"&gt;FechayHora&lt;/SPAN&gt;) as Fecha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **********&amp;nbsp;&amp;nbsp;&amp;nbsp; here i do your line script ************&lt;/P&gt;&lt;P&gt;Its just a Historical QVD from sep2017 - apr2018&lt;/P&gt;&lt;P&gt;Where Date(FechayHora) &amp;gt;= '10/02/2018' And Date(FechayHora) &amp;lt; '11/02/2018';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So brings me just 10/02/2018. After that i do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Temp_1: //QVD Resident (Toda la data consolidada)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Branch, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fecha,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Nombre, &lt;/P&gt;&lt;P&gt;Sum(Field) as &lt;SPAN style="font-size: 13.3333px;"&gt;Field&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Pais&lt;/P&gt;&lt;P&gt;Resident Temp_2&lt;/P&gt;&lt;P&gt;Group By Branch,Nombre,Pais,Fecha;&lt;/P&gt;&lt;P&gt;Drop Table &lt;SPAN style="font-size: 13.3333px;"&gt;Temp_1&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Must bring &lt;/P&gt;&lt;P&gt;Branch 1 750&lt;/P&gt;&lt;P&gt;Branch 2 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually brings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Branch 1 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 73.436.650 (Weird)&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;Branch 2 100 (Correct)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31476#M5260</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-30T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31477#M5261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just load the first table. Then I create a Pivot table where i Put &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total = 73.436.750 (so weird)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do Sum(Distinct Field1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total = 850 (that is Correct) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why sum Increase too much???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a try to put sum(Distinct Field1) as Field1 in the group by table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Total = 400 (Incorrect)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31477#M5261</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-30T15:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31478#M5262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your script where you getting this 73.435.650? I mean expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ExcelLd:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Field1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Field2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Field1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Field2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;S&gt;&lt;BR /&gt; (&lt;/S&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [Group By]);&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Final:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'MM/DD/YYYY hh:mm:ss') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateField1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Field2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ExcelLd&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201113_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 16:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31478#M5262</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-30T16:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31479#M5263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp_1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Branch,&lt;/P&gt;&lt;P&gt;FechayHora,&lt;/P&gt;&lt;P&gt;Nombre, &lt;/P&gt;&lt;P&gt;Tic,&lt;/P&gt;&lt;P&gt;Pais&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Qvd\MC\MCLAT.qvd] (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Date(FechayHora) &amp;gt;= '10/02/2018' And Date(FechayHora) &amp;lt; '11/02/2018';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 16:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31479#M5263</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-30T16:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31480#M5264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can post your entire load script? I'm a little confused, because it looks like you did a Resident load from Temp_2 in your reply above, but I don't see the load script for Temp_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, can you also screenshot a preview of your table data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 16:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31480#M5264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-30T16:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31481#M5265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This my script without resident and group by... Just the first table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp_1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Branch,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FechayHora,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Nombre,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tic,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pais&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[..\Qvd\MC\MCLAT.qvd] (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Date(FechayHora) &amp;gt;= '10/02/2018' And Date(FechayHora) &amp;lt; '11/02/2018';&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;Here I bring 10/02/2018... If I do a pivot table Sum(Tic) Gives &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;73.436.650.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If I do Sum (Distinct Tic)) Gives 850 (Correct Output)...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;After this i want to group.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 17:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31481#M5265</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2018-04-30T17:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Group by problem</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31482#M5266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At what level is 850 correct ? at the Branch level?.. may be post some sample data with the expected outcome..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or may be try a left join?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp_1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Branch,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FechayHora,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Nombre,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tic,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pais&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[..\Qvd\MC\MCLAT.qvd] (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Date(FechayHora) &amp;gt;= '10/02/2018' And Date(FechayHora) &amp;lt; '11/02/2018';&lt;/P&gt;&lt;P&gt;Left Join(Temp_1)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Distinct&lt;/P&gt;&lt;P&gt;Branch,&lt;/P&gt;&lt;P&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tic)&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;Resident Temp_1&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;Group By Branch&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;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 17:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-problem/m-p/31482#M5266</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-30T17:38:02Z</dc:date>
    </item>
  </channel>
</rss>

