<?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: Category-wise aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532082#M556926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the groups of hours will be fixed and the user doesn't expect to change them, then I would use INTERVAL MATCH to create intervals that that can then be set as a dimension on your chart.&lt;/P&gt;&lt;P&gt;See page 241 of QV11 developer manual for an explanation of it.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 13:36:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-02T13:36:37Z</dc:date>
    <item>
      <title>Category-wise aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532081#M556925</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 want to construct a bar_chart with specific employee data - overtime by employee. I don't yet know quite how to do this. Maybe someone can help me here:&lt;/P&gt;&lt;P&gt;- Every employee has a specific nr. of hrs. of overtime.&lt;/P&gt;&lt;P&gt;- I want to group overtime_hrs. into categories - 1-10 hrs., 11-20 hrs., 21 to 30 hrs.&lt;/P&gt;&lt;P&gt;- Then I want to display these categories as dimension on the x-axis and the nr. of employees in that category on the y-axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that I can group values using the aggr function. I have already used it and there is an excellent example in my book "QlikView 11 for Developers" - only I want to take this another step further: Instead of a nr. of overtime_hrs. as one dimension_point, I want to use a range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532081#M556925</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-07-02T13:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Category-wise aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532082#M556926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the groups of hours will be fixed and the user doesn't expect to change them, then I would use INTERVAL MATCH to create intervals that that can then be set as a dimension on your chart.&lt;/P&gt;&lt;P&gt;See page 241 of QV11 developer manual for an explanation of it.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532082#M556926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-02T13:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Category-wise aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532083#M556927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jonbroughavone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that seems a very good idea. Those groups will be fixed - I will use fixed categories (1-10, 11-20, 21-30 etc.). If I understood that chapter correctly, then I wouldn't need to use the AGGR function at all, but INTERVAL MATCH would be enough - I could have my intervals (a label, start and end for each) in a table and just use the interval_label as dimension and the count(distinct nr) as my formula. Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 14:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532083#M556927</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-07-02T14:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Category-wise aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532084#M556928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, sounds like you understand how to use it. No need for aggr(), the dimensions created by the interval match, and a count as an expression. That shoud then give you different bars for the different hour groupings.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 07:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532084#M556928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-03T07:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Category-wise aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532085#M556929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, jonbroughavone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all I want to display - no personell_numbers, nothing to identify individuals. I use the AutoNumber function in the script to avoid loading the original personell_number while still having some unique ID to count. I have asked myself what is actually the point when, for lack of any identificator, the person viewing this will afterwards have to ask HR - but in my own interest, I want to touch as little real HR data as possible.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 09:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Category-wise-aggregation/m-p/532085#M556929</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-07-03T09:56:06Z</dc:date>
    </item>
  </channel>
</rss>

