<?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: How to assing an item to a cluster in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921431#M319204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 17:23:55 GMT</pubDate>
    <dc:creator>prabhu0505</dc:creator>
    <dc:date>2015-08-12T17:23:55Z</dc:date>
    <item>
      <title>How to assing an item to a cluster</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921429#M319202</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 have a table with a list of customers with a certain quantity.&lt;/P&gt;&lt;P&gt;In another table there are ranges of quantities in order to assign each customer to a cluster (low, medium..., high).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a solution (in attach, with data), but I would like to know if there are smarter ways, considering that I have a large amount of data to deal with (I suppose my join is not the best solution).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 16:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921429#M319202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-12T16:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to assing an item to a cluster</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921430#M319203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FASCE:&lt;/P&gt;&lt;P&gt;LOAD CUSTOMER, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUANTITY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY&lt;/P&gt;&lt;P&gt;FROM Dati2.xlsx (ooxml, embedded labels, table is Sheet2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLUSTER:&lt;/P&gt;&lt;P&gt;LOAD CLUSTER, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIN, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY&lt;/P&gt;&lt;P&gt;FROM Dati2.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (CLUSTER) IntervalMatch (QUANTITY, KEY) LOAD MIN, MAX, KEY RESIDENT CLUSTER;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 17:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921430#M319203</guid>
      <dc:creator>maximiliano_vel</dc:creator>
      <dc:date>2015-08-12T17:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to assing an item to a cluster</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921431#M319204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 17:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921431#M319204</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2015-08-12T17:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to assing an item to a cluster</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921432#M319205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much! but I need a datamodel with just one table with fields CUSTOMER and CLUSTER (as in my solution)... Is it possible?&lt;/P&gt;&lt;P&gt;E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 17:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921432#M319205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-12T17:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to assing an item to a cluster</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921433#M319206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A work around...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FASCE:&lt;/P&gt;&lt;P&gt;LOAD CUSTOMER, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUANTITY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY&lt;/P&gt;&lt;P&gt;FROM Dati2.xlsx (ooxml, embedded labels, table is Sheet2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLUSTER:&lt;/P&gt;&lt;P&gt;LOAD CLUSTER, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIN, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY&lt;/P&gt;&lt;P&gt;FROM Dati2.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (CLUSTER) IntervalMatch (QUANTITY, KEY) LOAD Distinct MIN, MAX, KEY RESIDENT CLUSTER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ClusterMap:&lt;/P&gt;&lt;P&gt;MAPPING&lt;/P&gt;&lt;P&gt;LOAD QUANTITY &amp;amp; KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLUSTER&lt;/P&gt;&lt;P&gt;RESIDENT CLUSTER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD CUSTOMER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('ClusterMap', QUANTITY &amp;amp; KEY, Null()) as CLUSTER&lt;/P&gt;&lt;P&gt;RESIDENT FASCE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table FASCE, CLUSTER;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 18:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921433#M319206</guid>
      <dc:creator>maximiliano_vel</dc:creator>
      <dc:date>2015-08-12T18:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to assing an item to a cluster</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921434#M319207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;The problem is that QUANTITY is a float number with 5 decimal and KEY can have many values... I don't know if performance is better than other solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone has other solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 07:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assing-an-item-to-a-cluster/m-p/921434#M319207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-13T07:44:10Z</dc:date>
    </item>
  </channel>
</rss>

