<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653396#M1073733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because you need group by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum is an aggregate function so it needs a group by statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add Group by Customer&lt;/P&gt;&lt;P&gt;after your FROM clause. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 09:07:24 GMT</pubDate>
    <dc:creator>simenkg</dc:creator>
    <dc:date>2014-08-11T09:07:24Z</dc:date>
    <item>
      <title>Group by Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653390#M1073727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to use Group by Clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to show Customer Count In Bucket Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sales Buckets are&lt;/P&gt;&lt;P&gt;&amp;lt;10K&lt;/P&gt;&lt;P&gt;&amp;gt;10K to &amp;lt;=30K&amp;nbsp; and so on&lt;/P&gt;&lt;P&gt; i want to show count of customer who had done sales accordingle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. if 4 customer did Total sales less than 10K in a month than they should come in Bucket of &amp;lt;10K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 07:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653390#M1073727</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2014-08-11T07:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Group by Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653391#M1073728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create bucket by hard coding at script editor&lt;/P&gt;&lt;P&gt;on script editor type&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;if(sum(sales)&amp;lt;10,000,'&amp;lt;10k',if(sum(sales)&amp;gt;10000 and sum(sales)&amp;lt;=30000,'&amp;gt;10k to &amp;lt;=30k',&amp;gt;30k)) as bucket,&lt;/P&gt;&lt;P&gt;resident yourtablename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and create a bar chart and in the dimension add bucket to the dimension field and in the expression tab type following expression&lt;/P&gt;&lt;P&gt;count(Customer)&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;bhawna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653391#M1073728</guid>
      <dc:creator />
      <dc:date>2014-08-11T08:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Group by Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653392#M1073729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need a group by clause. If this is the way you want to go, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(sum(sales)&amp;lt;10,000,'&amp;lt;10k',if(sum(sales)&amp;gt;10000 and sum(sales)&amp;lt;=30000,'&amp;gt;10k to &amp;lt;=30k',&amp;gt;30k)) as bucket,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident yourtablename&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group by Customer;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653392#M1073729</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-08-11T08:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Group by Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653393#M1073730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Abhay,&lt;/P&gt;&lt;P&gt;U can make use of Class function : Class() to get the result u nid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardz,&lt;/P&gt;&lt;P&gt;Vaibz...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653393#M1073730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-11T08:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Group by Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653394#M1073731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;STRONG&gt; class()&lt;/STRONG&gt; (if the classes are qui-distant, else &lt;STRONG&gt;IF&lt;/STRONG&gt;)to create the classes in calculated dimension or a new field in the script, then in expression simple count() should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653394#M1073731</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-11T08:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Group by Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653395#M1073732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ script level sum function is giving me error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 09:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653395#M1073732</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2014-08-11T09:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Group by Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653396#M1073733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because you need group by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum is an aggregate function so it needs a group by statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add Group by Customer&lt;/P&gt;&lt;P&gt;after your FROM clause. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 09:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-Clause/m-p/653396#M1073733</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-08-11T09:07:24Z</dc:date>
    </item>
  </channel>
</rss>

