<?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: Clean up script or functionality in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clean-up-script-or-functionality/m-p/542378#M687096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post some sample data so community will help you more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jan 2014 00:59:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-02T00:59:29Z</dc:date>
    <item>
      <title>Clean up script or functionality</title>
      <link>https://community.qlik.com/t5/QlikView/Clean-up-script-or-functionality/m-p/542376#M687094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a known clean-up / data quality functionality that exists in QLikView ? would you have a reference to example clean-up scripts for the data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clean-up is for sales / revenue data, incl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* remove duplicates&lt;/P&gt;&lt;P&gt;* find and handle quasi-duplicates&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you more generally have a hint at macros (Excel, others), or algos that perform such clean-up ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jan 2014 19:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clean-up-script-or-functionality/m-p/542376#M687094</guid>
      <dc:creator />
      <dc:date>2014-01-01T19:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up script or functionality</title>
      <link>https://community.qlik.com/t5/QlikView/Clean-up-script-or-functionality/m-p/542377#M687095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way to get better quality data is to perform cleanups in the source system. Always.&lt;/P&gt;&lt;P&gt;Otherwise you'll build BI solutions full of exception handling code. Which is not a pretty sight and may rapidly become a nightmare to maintain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, sometimes you're stuck with data that cannot be changed anymore (general ledgers, transaction tables, historical exchange rates and such), especially in ERP systems. IMHO such situations require &lt;EM&gt;ad-hoc&lt;/EM&gt; solutions, tailored to keep the corrective actions efficient and almost invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, some code you add to your scripts will not necessarily correct the data, but will bring bad data to the attention of the people responsible. When they correct their mistakes, the code will automatically become "inactive" (because of no more bad values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Impossible dates end up somehow in transactions, causing your calendar to extend into 3014 or something: make an inventory of these dates and if there aren't too many, filter them out using a mapping table.&lt;/LI&gt;&lt;LI&gt;Many table fields should refer to master data, but sometimes have a NULL or empty value: always capture these by putting an out-of-range value (e.g. -1) in these fields and by creating corresponding master data records. &lt;/LI&gt;&lt;LI&gt;Some product codes are used in orders, but there aren't any corresponding definitions in the Products table: add artificial product definitions to the Products table and give them a name like 'UNDEFINED (ProductID)' so that end-users know that something was missing here.&lt;/LI&gt;&lt;LI&gt;...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 00:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clean-up-script-or-functionality/m-p/542377#M687095</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-01-02T00:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up script or functionality</title>
      <link>https://community.qlik.com/t5/QlikView/Clean-up-script-or-functionality/m-p/542378#M687096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post some sample data so community will help you more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 00:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clean-up-script-or-functionality/m-p/542378#M687096</guid>
      <dc:creator />
      <dc:date>2014-01-02T00:59:29Z</dc:date>
    </item>
  </channel>
</rss>

