<?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 Calculated Dimension to Create Groups in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-Create-Groups/m-p/348895#M577821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikbook and I am having difficulty returning the correct sum of the quantity sold by customer.&amp;nbsp; I am trying to break the quantity purchased by customer into brackets (&amp;lt;12, 12-19, 20-29, etc) by Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following Dimensions - Calculated Dimension, Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the calculated dimension expression that I created. (QVOF = Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If((QVOF&amp;lt;12),'&amp;lt;12',If((QVOF&amp;gt;=12 and QVOF&amp;lt;20),'12-19',If((QVOF&amp;gt;=20 and QVOF&amp;lt;30),'20-29',If((QVOF&amp;gt;=30 and QVOF&amp;lt;40),'30-39',If((QVOF&amp;gt;=40 and QVOF&amp;lt;80),'40-79','80+')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(QVOF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am then graphing the data by Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to use the AGGR function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2012 22:23:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-12T22:23:24Z</dc:date>
    <item>
      <title>Calculated Dimension to Create Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-Create-Groups/m-p/348895#M577821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikbook and I am having difficulty returning the correct sum of the quantity sold by customer.&amp;nbsp; I am trying to break the quantity purchased by customer into brackets (&amp;lt;12, 12-19, 20-29, etc) by Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following Dimensions - Calculated Dimension, Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the calculated dimension expression that I created. (QVOF = Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If((QVOF&amp;lt;12),'&amp;lt;12',If((QVOF&amp;gt;=12 and QVOF&amp;lt;20),'12-19',If((QVOF&amp;gt;=20 and QVOF&amp;lt;30),'20-29',If((QVOF&amp;gt;=30 and QVOF&amp;lt;40),'30-39',If((QVOF&amp;gt;=40 and QVOF&amp;lt;80),'40-79','80+')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(QVOF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am then graphing the data by Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to use the AGGR function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 22:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-Create-Groups/m-p/348895#M577821</guid>
      <dc:creator />
      <dc:date>2012-03-12T22:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension to Create Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-Create-Groups/m-p/348896#M577822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I fully understood what you want to achieve, but your calculated dimension and your expression look ok to me at first glance - what problems do you have in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give an example of your result and what you expect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 23:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-Create-Groups/m-p/348896#M577822</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-12T23:35:58Z</dc:date>
    </item>
  </channel>
</rss>

