<?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: Rename blank fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386530#M565878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Paul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you tried &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Henric &lt;/SPAN&gt;method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if still your not getting the expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then please can you attach a sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2013 11:13:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-02T11:13:28Z</dc:date>
    <item>
      <title>Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386526#M565874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If have a list of users in Qlikview, they belong to a department (list comes out of the system, the department is a excel file which is loaded). Now the list from the system contains a lot of names with user that no longer work here, therefor they don't appear under the drill down group I made (department - user) because the people that no longer work here don't have a department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make a field in the script that looks up users with that don't have a department and then name the field behind this user "Out of Service"? I tried several things but because the fields come from 2 different places I can't seem to find the formula to look in 1 and fill another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 10:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386526#M565874</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-01-02T10:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386527#M565875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you load the users that exist (in the Excel file) into a Mapping table, you can use this later on to tag the users in a field "Status". Use the function Applymap for the lookup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExistingUsers:&lt;/P&gt;&lt;P&gt;Mapping Load User, 'Active' as Status From ExcelFile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ApplyMap('ExistingUsers', User, 'Not Active') as Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;From Database;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative approach is to use the Exists() function to determine whether this user has been loaded before (in the Excel sheet) or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 10:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386527#M565875</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-01-02T10:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386528#M565876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use Henric procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the following peice of code before the tables which your loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nulls_Map:&lt;/P&gt;&lt;P&gt;Mapping Load&lt;/P&gt;&lt;P&gt;Null(),' &amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Out of Service&lt;/SPAN&gt;&amp;gt;'&lt;/P&gt;&lt;P&gt;autogenarate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map '&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;department&lt;/SPAN&gt;'&amp;nbsp; Using Nulls_Map;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 10:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386528#M565876</guid>
      <dc:creator />
      <dc:date>2013-01-02T10:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386529#M565877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried you method but instead of filling the blanks it creates a new departement called Out of Service with no name in front. The fields behind the names of the user which are out of service are still showing -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386529#M565877</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-01-02T11:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386530#M565878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Paul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you tried &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Henric &lt;/SPAN&gt;method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if still your not getting the expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then please can you attach a sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386530#M565878</guid>
      <dc:creator />
      <dc:date>2013-01-02T11:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386531#M565879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried his method as well but when I put the Apply Map in the SQL select I get the following error when I reload:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ErrorMsg: 'ApplyMap' is not a recognized built-in function name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database part load looks like this, am I doing something wrong there?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;"cm_leadscore", fullname, jobtitle, owneridname, accountidname, "new_contact_importancename", "new_contact_ratingname", parentcustomeridname, accountid, statecode , emailaddress1,&lt;/P&gt;&lt;P&gt;ApplyMap('ExistingUsers', owneridname, 'Not Active') as Status&lt;/P&gt;&lt;P&gt;FROM "*****_CRM".dbo.FilteredContact&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386531#M565879</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-01-02T11:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386532#M565880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Paul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need, while loading the table &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;FilteredContact&lt;/SPAN&gt; from Database you need to select the Preceding Load &lt;/P&gt;&lt;P&gt;options.&lt;/P&gt;&lt;P&gt;so you can apply the ApplyMap Built in function in between load and sql select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;FilteredContact&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;"cm_leadscore", fullname, jobtitle, owneridname, accountidname, "new_contact_importancename", "new_contact_ratingname", parentcustomeridname, accountid, statecode , emailaddress1,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;ApplyMap('ExistingUsers', owneridname, 'Not Active') as Status;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Sql &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;SELECT&lt;/SPAN&gt; ......................;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;i hope it will work it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Thanks,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386532#M565880</guid>
      <dc:creator />
      <dc:date>2013-01-02T11:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386533#M565881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It now gives me the error that there is a syntax error near the word FROM what is wrong there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"cm_leadscore"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;fullname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;jobtitle&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;owneridname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountidname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"new_contact_importancename"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"new_contact_ratingname"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;parentcustomeridname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;statecode&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;emailaddress1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ApplyMap&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('ExistingUsers', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;owneridname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'Not Active') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT FROM "****_CRM".dbo.FilteredContact; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386533#M565881</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-01-02T11:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386534#M565882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Paul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think something wrong in our sql select statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be not&amp;nbsp; like &lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; SELECT FROM "****_CRM".dbo.FilteredContact;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But it should have to have &lt;/P&gt;&lt;P&gt;* before from.&lt;/P&gt;&lt;P&gt;like as follows,&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; SELECT&amp;nbsp; * FROM "****_CRM".dbo.FilteredContact;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;or you should have the fields you are loading fom the database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;Mukram.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386534#M565882</guid>
      <dc:creator />
      <dc:date>2013-01-02T11:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rename blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386535#M565883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to get it to work.&lt;/P&gt;&lt;P&gt;What I did is split the 2. First I do the regular SQL load. I then added the apply map with a resident load from the sql data. Now it works.&lt;/P&gt;&lt;P&gt;Thanks for your help both!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 12:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-blank-fields/m-p/386535#M565883</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-01-02T12:49:23Z</dc:date>
    </item>
  </channel>
</rss>

