<?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 clause only works when using all dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Group-by-clause-only-works-when-using-all-dimensions/m-p/1580014#M62991</link>
    <description>&lt;P&gt;If you use a GROUP BY then all the fields that are not used in aggregation functions (like sum) must be included in the GROUP BY clause. So a field is either in the GROUP BY or used in a sum/count/max/min (or any other aggregation) function.&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2019 15:25:08 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-05-14T15:25:08Z</dc:date>
    <item>
      <title>Group by clause only works when using all dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Group-by-clause-only-works-when-using-all-dimensions/m-p/1579999#M62990</link>
      <description>&lt;P&gt;The following load statement doesn't work, when not using all of the loaded dimensions. (here in this example I didn't use TYPE_OF_SVC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY_Ausland,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERIODE_NR_ROW,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CARRIER_ALN_CD_ROW,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; TYPE_OF_SVC,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(CAP_FST_AMT+ CAP_BSN_AMT+ CAP_PEC_AMT+CAP_ECO_AMT ) as SEATS_TTL_NR_ROW,&lt;BR /&gt;&amp;nbsp;sum(STARTS_TTL_NR_ROW) as STARTS_TTL_NR_ROW&lt;BR /&gt;Resident Nachfrage_Angebot_Temp&lt;BR /&gt;Group by KEY_Ausland,PERIODE_NR_ROW, CARRIER_ALN_CD_ROW;&lt;BR /&gt;//,TYPE_OF_SVC;&lt;BR /&gt;Drop Table Nachfrage_Angebot_Temp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-by-clause-only-works-when-using-all-dimensions/m-p/1579999#M62990</guid>
      <dc:creator>ingo_lsg</dc:creator>
      <dc:date>2024-11-16T05:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Group by clause only works when using all dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Group-by-clause-only-works-when-using-all-dimensions/m-p/1580014#M62991</link>
      <description>&lt;P&gt;If you use a GROUP BY then all the fields that are not used in aggregation functions (like sum) must be included in the GROUP BY clause. So a field is either in the GROUP BY or used in a sum/count/max/min (or any other aggregation) function.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 15:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-by-clause-only-works-when-using-all-dimensions/m-p/1580014#M62991</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-05-14T15:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Group by clause only works when using all dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Group-by-clause-only-works-when-using-all-dimensions/m-p/1580023#M62992</link>
      <description>&lt;P&gt;So, when I want to add additional fields I would have to do this in a second resident load?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 15:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-by-clause-only-works-when-using-all-dimensions/m-p/1580023#M62992</guid>
      <dc:creator>ingo_lsg</dc:creator>
      <dc:date>2019-05-14T15:38:14Z</dc:date>
    </item>
  </channel>
</rss>

