<?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 How create custom product groups in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-create-custom-product-groups/m-p/362168#M1175406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 23:47:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-21T23:47:51Z</dc:date>
    <item>
      <title>How create custom product groups</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-custom-product-groups/m-p/362166#M1175404</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;Our product names are set up the following way 1-1zz are Raw Materials, F-FZ are Finished Products and W-WZ are cartons etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way for me to set these up as custom groups so I can add them to my filter in Qlikview so people can just switch between looking at FG, RM or carton data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can think of is to create an Excel spreadsheet with a list of every individual code and put them into groups that way, and then import the fields from the spreadsheet. This would be a hassle though, as everytime a new code is added (which is frequently), I'd have to update the spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to add the groups into the code? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 22:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-custom-product-groups/m-p/362166#M1175404</guid>
      <dc:creator />
      <dc:date>2012-05-21T22:22:39Z</dc:date>
    </item>
    <item>
      <title>How create custom product groups</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-custom-product-groups/m-p/362167#M1175405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've understood that Raw Materials start with a '1', Finished Products with a 'F' and cartons with a 'W', is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have some logic like this, you could use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ProductName,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pick( match(left(ProductName,1),'1','F','Z'),'Raw Materials','Finished Products','cartons') as ProductGroup,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM ...;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick() is a conditional function and match() will return the index of the matching substring as input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also use a mapping table and applymap in a similar way, but I think for few groups above is ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 22:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-custom-product-groups/m-p/362167#M1175405</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-21T22:35:18Z</dc:date>
    </item>
    <item>
      <title>How create custom product groups</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-custom-product-groups/m-p/362168#M1175406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 23:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-custom-product-groups/m-p/362168#M1175406</guid>
      <dc:creator />
      <dc:date>2012-05-21T23:47:51Z</dc:date>
    </item>
  </channel>
</rss>

