<?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 with where clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142643#M903340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing this using a load resident, where can I put the where clause?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;NewTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;C&gt;) as [SumC]&amp;nbsp;&amp;nbsp; &lt;/C&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident [Table1] &lt;/P&gt;&lt;P&gt;Group by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now where to add below?&lt;/P&gt;&lt;P&gt;where field2=1 and field3=4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 14:21:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-29T14:21:44Z</dc:date>
    <item>
      <title>Group by with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142641#M903338</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;Is there a way to use group by the same time as where clause?&lt;/P&gt;&lt;P&gt;I'd like to group by field1, resident Table1, but where field2 is 1, and field3 is 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142641#M903338</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Group by with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142642#M903339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can use both a WHERE and an GROUP BY clause in the same load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD A, B, sum(C) as C&lt;/P&gt;&lt;P&gt;FROM ABC&lt;/P&gt;&lt;P&gt;WHERE C &amp;gt; 0&lt;/P&gt;&lt;P&gt;GROUP BY A, B&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142642#M903339</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-06-29T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Group by with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142643#M903340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing this using a load resident, where can I put the where clause?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;NewTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;C&gt;) as [SumC]&amp;nbsp;&amp;nbsp; &lt;/C&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident [Table1] &lt;/P&gt;&lt;P&gt;Group by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now where to add below?&lt;/P&gt;&lt;P&gt;where field2=1 and field3=4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142643#M903340</guid>
      <dc:creator />
      <dc:date>2016-06-29T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Group by with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142644#M903341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NewTable:&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(&lt;C&gt;) as [SumC]&amp;nbsp; &lt;/C&gt;&lt;/P&gt;&lt;P&gt;Resident &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Table1]&lt;/P&gt;&lt;P&gt;Where &lt;/P&gt;&lt;P&gt;&amp;nbsp; field2=1 and field3=4&lt;/P&gt;&lt;P&gt;Group by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142644#M903341</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-06-29T14:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Group by with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142645#M903342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;NewTable:&lt;/STRONG&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;STRONG&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1,&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;C&gt;) as [SumC]&amp;nbsp; &lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident [Table1]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Where field2 = 1 and field3 = 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Group by field1;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142645#M903342</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-29T14:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Group by with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142646#M903343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are dealing with large datasets you should better separate where and group by in two loadings - it will be much faster to filter at first the data and then to aggregate them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-with-where-clause/m-p/1142646#M903343</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-29T14:32:40Z</dc:date>
    </item>
  </channel>
</rss>

