<?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 Custom Group for Data Elements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Group-for-Data-Elements/m-p/230603#M82417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can group them with an expression, but you can group them using script. Let's say that your field is "Item". Create a new field, "ItemGroup", that includes all items AND any groupings of items you also want to see.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[ItemGroups]:&lt;BR /&gt;LOAD&lt;BR /&gt; Item as ItemGroup&lt;BR /&gt;,Item&lt;BR /&gt;;&lt;BR /&gt;LOAD text(fieldvalue('Item',iterno())) as Item&lt;BR /&gt;AUTOGENERATE 1&lt;BR /&gt;WHILE len(fieldvalue('Item',iterno()))&lt;BR /&gt;;&lt;BR /&gt;CONCATENATE ([ItemGroups])&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ItemGroup, Item&lt;BR /&gt;iPhone&amp;amp;iPad,iPhone&lt;BR /&gt;iPhone&amp;amp;iPad,iPad&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Now use ItemGroup as the dimension, and QlikView's associative logic will pick up the right data to handle the group totals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Feb 2011 23:31:39 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-02-25T23:31:39Z</dc:date>
    <item>
      <title>Custom Group for Data Elements</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Group-for-Data-Elements/m-p/230602#M82416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;Is there a way to group data elements via an expression. Example:&lt;/P&gt;&lt;P&gt;I have a report that looks like this&lt;/P&gt;&lt;P&gt;1. iPhone $500&lt;/P&gt;&lt;P&gt;2. Blackberry $125&lt;/P&gt;&lt;P&gt;3. iPAD $300&lt;/P&gt;&lt;P&gt;I would like to add another row that groups iPhone and iPad so whatever calculations i add into the report, it will always add those two values up. Becomes something like below&lt;/P&gt;&lt;P&gt;1. iPhone $500&lt;/P&gt;&lt;P&gt;2. Blackberry $125&lt;/P&gt;&lt;P&gt;3. iPAD $300&lt;/P&gt;&lt;P&gt;4. iPhone&amp;amp;iPad $800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is some sort of custom grouping at the data element side, is this possible in QlikView? Some other vendors such as MicroStrategy allows the user to create a custom group and you can 'add' elements and group them up and this group can be used as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help and thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Group-for-Data-Elements/m-p/230602#M82416</guid>
      <dc:creator />
      <dc:date>2011-02-25T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Custom Group for Data Elements</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Group-for-Data-Elements/m-p/230603#M82417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can group them with an expression, but you can group them using script. Let's say that your field is "Item". Create a new field, "ItemGroup", that includes all items AND any groupings of items you also want to see.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[ItemGroups]:&lt;BR /&gt;LOAD&lt;BR /&gt; Item as ItemGroup&lt;BR /&gt;,Item&lt;BR /&gt;;&lt;BR /&gt;LOAD text(fieldvalue('Item',iterno())) as Item&lt;BR /&gt;AUTOGENERATE 1&lt;BR /&gt;WHILE len(fieldvalue('Item',iterno()))&lt;BR /&gt;;&lt;BR /&gt;CONCATENATE ([ItemGroups])&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ItemGroup, Item&lt;BR /&gt;iPhone&amp;amp;iPad,iPhone&lt;BR /&gt;iPhone&amp;amp;iPad,iPad&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Now use ItemGroup as the dimension, and QlikView's associative logic will pick up the right data to handle the group totals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 23:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Group-for-Data-Elements/m-p/230603#M82417</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-02-25T23:31:39Z</dc:date>
    </item>
  </channel>
</rss>

