<?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 Problem with script (customer segmentation when relation isn't 1:1) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-script-customer-segmentation-when-relation-isn-t-1/m-p/214058#M67658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need help in qV script.&lt;BR /&gt;I get an excel file with customer segmentation (relation is 1:1).&lt;BR /&gt;&lt;BR /&gt;client number&lt;BR /&gt;Segment&lt;BR /&gt;&lt;BR /&gt;It would'nt be a problem. But...&lt;BR /&gt;When the sale is from X activity (we've got 3 other activities) then customer segment is another then in file - is always segment- D&lt;BR /&gt;For one client when sale is from y activity -segment should be - c, for rest activities sholud be from file&lt;BR /&gt;&lt;BR /&gt;I have no idea how to do this&lt;BR /&gt;Please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2009 21:21:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-12T21:21:50Z</dc:date>
    <item>
      <title>Problem with script (customer segmentation when relation isn't 1:1)</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-script-customer-segmentation-when-relation-isn-t-1/m-p/214058#M67658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need help in qV script.&lt;BR /&gt;I get an excel file with customer segmentation (relation is 1:1).&lt;BR /&gt;&lt;BR /&gt;client number&lt;BR /&gt;Segment&lt;BR /&gt;&lt;BR /&gt;It would'nt be a problem. But...&lt;BR /&gt;When the sale is from X activity (we've got 3 other activities) then customer segment is another then in file - is always segment- D&lt;BR /&gt;For one client when sale is from y activity -segment should be - c, for rest activities sholud be from file&lt;BR /&gt;&lt;BR /&gt;I have no idea how to do this&lt;BR /&gt;Please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 21:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-script-customer-segmentation-when-relation-isn-t-1/m-p/214058#M67658</guid>
      <dc:creator />
      <dc:date>2009-10-12T21:21:50Z</dc:date>
    </item>
    <item>
      <title>Problem with script (customer segmentation when relation isn't 1:1)</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-script-customer-segmentation-when-relation-isn-t-1/m-p/214059#M67659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;based on the given information I would create a lookup table (most probably in Excel) where only the exceptions are defined (customer,activity,segment). This XL table I would load into QV.&lt;/P&gt;&lt;P&gt;Upon load of the data, I would use the LookUp function to get the mapping.&lt;BR /&gt;If LookUp returns Null(), the original (file) value should be used.&lt;/P&gt;&lt;P&gt;After/ at the end of the Load I would drop the lookup table (drop table).&lt;/P&gt;&lt;P&gt;hth,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 21:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-script-customer-segmentation-when-relation-isn-t-1/m-p/214059#M67659</guid>
      <dc:creator />
      <dc:date>2009-10-12T21:47:38Z</dc:date>
    </item>
  </channel>
</rss>

