<?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 Load script question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62235#M10379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a data set like this&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item3&lt;/TD&gt;&lt;TD&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item3&lt;/TD&gt;&lt;TD&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to write a load script where the table looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Level&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So What is happening here is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Item2 and Item3 have only one customer getting repeated over time. The Item2 has Cust3 and Item3 has Cust1.&lt;/P&gt;&lt;P&gt;So the final table in the data model will contain only those Items which have same customers repeated over times and discard the items which has different customers repeated over times like Item1 which has different customers associated with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 13:18:35 GMT</pubDate>
    <dc:creator>jduluc12</dc:creator>
    <dc:date>2018-02-21T13:18:35Z</dc:date>
    <item>
      <title>Load script question</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62235#M10379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a data set like this&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item3&lt;/TD&gt;&lt;TD&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item3&lt;/TD&gt;&lt;TD&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to write a load script where the table looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Level&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Item3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So What is happening here is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Item2 and Item3 have only one customer getting repeated over time. The Item2 has Cust3 and Item3 has Cust1.&lt;/P&gt;&lt;P&gt;So the final table in the data model will contain only those Items which have same customers repeated over times and discard the items which has different customers repeated over times like Item1 which has different customers associated with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 13:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62235#M10379</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2018-02-21T13:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load script question</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62236#M10380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what's the data source? It would be better to do it in SQL.&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 13:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62236#M10380</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2018-02-21T13:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load script question</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62237#M10381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact it is qvd file and i do not have access to the database to write sql on it.&lt;/P&gt;&lt;P&gt;Do you think it is not possible to do this operation in load script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 13:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62237#M10381</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2018-02-21T13:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load script question</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62238#M10382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI JEAN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/194059_Captura.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194058_Captura.PNG" style="height: 145px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 15:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-question/m-p/62238#M10382</guid>
      <dc:creator>jhoef-pv</dc:creator>
      <dc:date>2018-02-21T15:09:43Z</dc:date>
    </item>
  </channel>
</rss>

