<?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: Populate empty field with random ID? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086459#M464817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand your request and setting properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe just create a new field with unique values for each row using Recno() / Rowno()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Title,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recno() as RecID,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Apr 2016 23:25:05 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-08T23:25:05Z</dc:date>
    <item>
      <title>Populate empty field with random ID?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086458#M464816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I'm gathering different Excel Sheets from a third party which have no Unique field except for the title and i'm fearing that these might repeat themselves eventually. Is there any way that Qlikview can autocomplete blank fields with unique ID's every time it loads?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I plan to include new excel spreadsheets every week, so I won't have time to do this myself. Any clues? I was thinking something like...&lt;/P&gt;&lt;P&gt;"If Title already exists, Add random character from A-Z at the end and use it as ID".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe it's even simpler... and I can just auto complete a blank column with random values for each load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 21:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086458#M464816</guid>
      <dc:creator />
      <dc:date>2016-04-08T21:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Populate empty field with random ID?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086459#M464817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand your request and setting properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe just create a new field with unique values for each row using Recno() / Rowno()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Title,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recno() as RecID,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 23:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086459#M464817</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-08T23:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Populate empty field with random ID?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086460#M464818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!!! Would that work for different files?? Like... if it loads 10 spreadsheets with 1000 records, it generates the missing ID??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 23:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086460#M464818</guid>
      <dc:creator />
      <dc:date>2016-04-08T23:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Populate empty field with random ID?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086461#M464819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some sample Excel sheets and your required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A random character A-Z would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1460159497230948" jivemacro_uid="_1460159497230948" modifiedtitle="true"&gt;
&lt;P&gt;Chr(64+Ceil(Rand()*26)) as Character&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_212691_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121089_QlikCommunity_Thread_212691_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure how you want to use it though ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 23:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086461#M464819</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-04-08T23:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Populate empty field with random ID?</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086462#M464820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you concatenate the tables and if you want to have a unique ID per line, I think you should go with RowNo()&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3292"&gt;Counters in the Load&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Apr 2016 12:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-empty-field-with-random-ID/m-p/1086462#M464820</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-10T12:03:27Z</dc:date>
    </item>
  </channel>
</rss>

