<?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: Data cleansing - reduce multiple inconsistent data to unique records in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013587#M15060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi &lt;SPAN style="font-size: 13.3333px;"&gt;G,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you for your answer&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I also applied it and it solved my problem&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2016 16:08:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-07T16:08:18Z</dc:date>
    <item>
      <title>Data cleansing - reduce multiple inconsistent data to unique records</title>
      <link>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013583#M15056</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 am struggling to load some data which is not consistent and I would appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database with 4 fields: id1, id2, description, and branch&lt;/P&gt;&lt;P&gt;The identification of the customer is given by the concatenation of the fields id1 and id2. So, when loading the data, I load it as:&lt;/P&gt;&lt;P&gt;id1&amp;amp;id2 as identification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, for the same identification (id1&amp;amp;id2), each branch registers the customer's name in a subjective way. Some use abbreviations, other use partial name, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I want to have a resulting table with 2 fields: identification, description (only one of the names. any of the used names suits me, so I could peek the first one or the last one for the same identification, for example), how should I load the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried lots of options, but without any success.&lt;/P&gt;&lt;P&gt;for example, using the ApplyMap would require to maintain a conversion map and that is not practical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 00:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013583#M15056</guid>
      <dc:creator />
      <dc:date>2016-03-07T00:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data cleansing - reduce multiple inconsistent data to unique records</title>
      <link>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013584#M15057</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;You can use the firstvalue and lastvalue function to get the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;ID,Name&lt;/P&gt;&lt;P&gt;1,Kaushik&lt;/P&gt;&lt;P&gt;1,Kau&lt;/P&gt;&lt;P&gt;1,KAUSHIKSOLANKI&lt;/P&gt;&lt;P&gt;2,SOlanki&lt;/P&gt;&lt;P&gt;2,SOLANKIKAUSHIK&lt;/P&gt;&lt;P&gt;2,Sol&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load ID,FirstValue(Name) as FinalName&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Group by ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 07:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013584#M15057</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-03-07T07:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data cleansing - reduce multiple inconsistent data to unique records</title>
      <link>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013585#M15058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the autonumber function as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autonumber(id1,id2) as flg&lt;/P&gt;&lt;P&gt;from YourTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;Resident tmp&lt;/P&gt;&lt;P&gt;where flg=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The autonumber make sequential number based on the parameters, so at the first unique appearing of the id1&amp;amp;id2 the result will be 1, the second unique&amp;nbsp; appearing will be 1 as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 08:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013585#M15058</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2016-03-07T08:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data cleansing - reduce multiple inconsistent data to unique records</title>
      <link>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013586#M15059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 13.3333px;"&gt;Kaushik,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I applied it and it solved my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 16:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013586#M15059</guid>
      <dc:creator />
      <dc:date>2016-03-07T16:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data cleansing - reduce multiple inconsistent data to unique records</title>
      <link>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013587#M15060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi &lt;SPAN style="font-size: 13.3333px;"&gt;G,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you for your answer&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I also applied it and it solved my problem&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 16:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-cleansing-reduce-multiple-inconsistent-data-to-unique/m-p/1013587#M15060</guid>
      <dc:creator />
      <dc:date>2016-03-07T16:08:18Z</dc:date>
    </item>
  </channel>
</rss>

