<?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: Generic Load Null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763237#M1022677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just to test, could you try to use this function for second load of this table from resident?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 20:52:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-20T20:52:07Z</dc:date>
    <item>
      <title>Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763230#M1022670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a bizarre issue with Null values using a Generic Load.&amp;nbsp; I need to be able to select Null values.&amp;nbsp; I have tried all the usual techniques such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri',sans-serif; font-size: 11pt;"&gt;Calculated Dimension:&amp;nbsp; if(isnull([field name]),’missing’,[field name])&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri',sans-serif; font-size: 11pt;"&gt;Set NullValue = ‘&amp;lt;NULL&amp;gt;’; then after ODBC connection enter... NULLASVALUE [field name};&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri',sans-serif; font-size: 11pt;"&gt;Apply Map in script&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;The above techniques work except in our latest attempt to bring data into QV...the only thing we can associate is this is the only time we have a used a Generic Load (may not be the culprit, but it is best guess at this point).&amp;nbsp; The attached QV is completely stripped, but it has enough information to test the Null values.&amp;nbsp; Your help is greatly appreciated.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763230#M1022670</guid>
      <dc:creator />
      <dc:date>2015-03-20T18:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763231#M1022671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may give it a try with OTHERSYMBOL and then load some add lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET OTHERSYMBOL = +;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [proposal_id, Why&lt;/P&gt;&lt;P&gt;&amp;nbsp; +, #N/A];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [proposal_id, Why Detail&lt;/P&gt;&lt;P&gt;&amp;nbsp; +, #N/A];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [proposal_id, Options&lt;/P&gt;&lt;P&gt;&amp;nbsp; +, #N/A];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [proposal_id, What&lt;/P&gt;&lt;P&gt;&amp;nbsp; +, #N/A];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [proposal_id, Where&lt;/P&gt;&lt;P&gt;&amp;nbsp; +, #N/A];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 19:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763231#M1022671</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2015-03-20T19:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763232#M1022672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would put the text in the records null from the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;if(IsNull(Options)=(-1),'Missing',Options) as Options....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 19:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763232#M1022672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-20T19:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763233#M1022673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView &lt;STRONG&gt;Generic Load&lt;/STRONG&gt; is working as designed actually. It is supposed to get rid of Nulls to create a dense/sparse data modell which will retain the relationships between fields so there is no loss of information. Efficient storage is one of the key benefits of using Generic Load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why you get nulls in your visualisations/charts is because you combine various fields from different tables and then the Chart data generation process recreate the Nulls on-the-fly when the Chart "calculates". The Nulls are only an end-product in the chart and not something that is stored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what you perceive as bizarre has a reasonable explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you really want to preserve the Nulls while using Generic Load then you have to convert your Nulls into something else that can represent your Nulls... a special value of some sort. But that defeats maybe the purpose of using Generic Load... I think....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This conversion has to be done in your load script after or while loading from the database and before you get to your resident generic load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;- Petter Skjolden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 19:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763233#M1022673</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-20T19:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763234#M1022674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter, this works!&amp;nbsp; However, do you know if there is a way to accomplish this without explicitly listing the field names?&amp;nbsp; Thanks so much for your help!&amp;nbsp; It is greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763234#M1022674</guid>
      <dc:creator />
      <dc:date>2015-03-20T20:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763235#M1022675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melanie,&lt;/P&gt;&lt;P&gt;Have you tried to use function NullAsValue in load script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763235#M1022675</guid>
      <dc:creator />
      <dc:date>2015-03-20T20:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763236#M1022676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&amp;nbsp; That works for everything else, but not this table.&amp;nbsp; Of course the example attached is just an extremely small snippet of our actual file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763236#M1022676</guid>
      <dc:creator />
      <dc:date>2015-03-20T20:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763237#M1022677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just to test, could you try to use this function for second load of this table from resident?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763237#M1022677</guid>
      <dc:creator />
      <dc:date>2015-03-20T20:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763238#M1022678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melanie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be possible to loop through the resident table "churn_responses" and get a list of all distinct "churn_responses" and then to create one table for each value found:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET OTHERSYMBOL = +;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExtractClass: // get unique Class-values&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD DISTINCT churn_class RESIDENT churn_responses;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 0 TO NOOFROWS ('ExtractClass') -1&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET sClass = PEEK('churn_class', i, 'ExtractClass'); // Fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // create one table for each class-value found&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * INLINE [proposal_id, $(sClass)&lt;/P&gt;&lt;P&gt;&amp;nbsp; +, Missing];&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;// Clean Up&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP TABLE ExtractClass;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET i=;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET sClass=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: code slightly changed for spelling-mistake&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 08:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763238#M1022678</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2015-03-21T08:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Load Null values</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763239#M1022680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;This somewhat works in that it creates the correct field name, but somehow my data is not correct.&amp;nbsp; Since the first solution works great, I'm going with that one.&amp;nbsp; THANK YOU SO VERY MUCH!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Load-Null-values/m-p/763239#M1022680</guid>
      <dc:creator />
      <dc:date>2015-03-23T15:07:08Z</dc:date>
    </item>
  </channel>
</rss>

