<?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 Script needed to assign Cluster ID to each PO records based on multiple conditions across columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-needed-to-assign-Cluster-ID-to-each-PO-records-based-on/m-p/60479#M603345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a test scenario/procedure for split purchase orders such that I would like to create a flag for cluster of POs in the data tables based on multiple conditions as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. For each PO records, to check the records issued by the same Vendor ID within the 14 days window period&lt;/P&gt;&lt;P&gt;2. Total sum PO value within the 14 days window period by the same Vendor ID should be greater than 15,000 (each PO should be less than 15,000 in this exercise)&lt;/P&gt;&lt;P&gt;3. Assign a Cluster ID to the series of POs in order for the user to be able to deep dive into the details of these POs to determine whether it is a genuine case of split purchase (non-compliance risk of procurement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note that column&amp;nbsp; C-G are the raw data available where I would like to create column A &amp;amp; B based on the above conditions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="Cluster ID.PNG" class="jive-image image-1" src="/legacyfs/online/205837_Cluster ID.PNG" style="height: 400px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached excel for data reference as well. Looking forward to a solution. Many thanks!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Eng Xiong&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2018 09:59:38 GMT</pubDate>
    <dc:creator>engxiong_lim</dc:creator>
    <dc:date>2018-06-21T09:59:38Z</dc:date>
    <item>
      <title>Script needed to assign Cluster ID to each PO records based on multiple conditions across columns</title>
      <link>https://community.qlik.com/t5/QlikView/Script-needed-to-assign-Cluster-ID-to-each-PO-records-based-on/m-p/60479#M603345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a test scenario/procedure for split purchase orders such that I would like to create a flag for cluster of POs in the data tables based on multiple conditions as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. For each PO records, to check the records issued by the same Vendor ID within the 14 days window period&lt;/P&gt;&lt;P&gt;2. Total sum PO value within the 14 days window period by the same Vendor ID should be greater than 15,000 (each PO should be less than 15,000 in this exercise)&lt;/P&gt;&lt;P&gt;3. Assign a Cluster ID to the series of POs in order for the user to be able to deep dive into the details of these POs to determine whether it is a genuine case of split purchase (non-compliance risk of procurement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note that column&amp;nbsp; C-G are the raw data available where I would like to create column A &amp;amp; B based on the above conditions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="Cluster ID.PNG" class="jive-image image-1" src="/legacyfs/online/205837_Cluster ID.PNG" style="height: 400px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached excel for data reference as well. Looking forward to a solution. Many thanks!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Eng Xiong&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-needed-to-assign-Cluster-ID-to-each-PO-records-based-on/m-p/60479#M603345</guid>
      <dc:creator>engxiong_lim</dc:creator>
      <dc:date>2018-06-21T09:59:38Z</dc:date>
    </item>
  </channel>
</rss>

