<?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 does not work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312295#M615749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share the raw data so that we can test it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jun 2017 11:37:56 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-06-19T11:37:56Z</dc:date>
    <item>
      <title>group by does not work</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312294#M615748</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 am loading for am external source a table with following field (From, To information, revenue, contribution margin, YearWeek info)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geo_From_Name_AvgCalc as Geo_From_Name_Avg,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geo_To_Name_AvgCalc as Geo_To_Name_Avg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DB as DB_Avg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rev_Complete as rev_Avg,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year_Week_Avg as Year_Week_Avg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident facts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are mutiple values for each Geo From, Geo To Combination and in the Frontend I make the sum(rev_Avg) and sum(DB_Avg) to get my values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to use a group by, so that in the DM there should be per Geo From, To combination just ONE single line anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geo_From_Name_AvgCalc as Geo_From_Name_Avg,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geo_To_Name_AvgCalc as Geo_To_Name_Avg,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(rev_Complete) as rev_Avg,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Year_Week_Avg) as Year_Week_Avg&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;//&amp;nbsp; Year_Week_Avg as Year_Week_Avg&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident facts&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;group by &lt;SPAN style="font-size: 13.3333px;"&gt;Geo_From_Name_AvgCalc ,&lt;SPAN style="font-size: 13.3333px;"&gt;Geo_To_Name_AvgCalc ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The script is working unfortunately the result is just wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Instead of e.g. 1468,95$ rev for East Africa to Asia the revenue is 1083,95$ - which is wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How can this happen?? Any ideas are welcome.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there anything wrong of my understanding of group by clause???&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312294#M615748</guid>
      <dc:creator>chriys1337</dc:creator>
      <dc:date>2017-06-19T11:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: group by does not work</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312295#M615749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share the raw data so that we can test it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312295#M615749</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-19T11:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: group by does not work</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312296#M615750</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;I prepared the sample file and there I found out, that the group by seems to work now. Thanks for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312296#M615750</guid>
      <dc:creator>chriys1337</dc:creator>
      <dc:date>2017-06-19T13:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: group by does not work</title>
      <link>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312297#M615751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha nice, Please close the thread in that case.&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, 19 Jun 2017 13:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by-does-not-work/m-p/1312297#M615751</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-19T13:22:22Z</dc:date>
    </item>
  </channel>
</rss>

