<?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 Autogenerating table values based on null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251116#M1207241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The isnull() function is unreliable in some environments, I think 64-bit. I would replace it with len(Field)=0 for safety and better portability.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 23:10:36 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-04-14T23:10:36Z</dc:date>
    <item>
      <title>Autogenerating table values based on null values</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251113#M1207238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am producing a report on data generated from a CRM system that logs enquiries for an IT help desk.&lt;/P&gt;&lt;P&gt;An enquiry can be opened or closed; And therefore can have a "status" of 0 or 1. However a bug in the CRM system has allowed a few enquiries to have a "ClosedDate" as well as a "status" of 0 which indicates that they are opened. I cannot do anything about the bug! So to work around this problem I was considering Autogenerating a table with a single row for every enquiry in the main table, and if the "CLOSEDDATE" field is Null in that table, have the status in the AutoGenerated table set to open, otherwise have it set to closed.&lt;/P&gt;&lt;P&gt;In my head this makes sense and I think it should be a fairly straight forward task.&lt;/P&gt;&lt;P&gt;Unfortunately I have no idea how to go about this!&lt;/P&gt;&lt;P&gt;Can anyone point me to any tutorials or give me any tips on how to achieve this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Barry K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251113#M1207238</guid>
      <dc:creator />
      <dc:date>2010-04-13T11:48:10Z</dc:date>
    </item>
    <item>
      <title>Autogenerating table values based on null values</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251114#M1207239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When you load your data you can use following aproach:&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt; IF(Isnull(ClosedDate), 0, Status) AS Status,&lt;BR /&gt;....&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 12:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251114#M1207239</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2010-04-13T12:05:14Z</dc:date>
    </item>
    <item>
      <title>Autogenerating table values based on null values</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251115#M1207240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple but very effective!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 14:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251115#M1207240</guid>
      <dc:creator />
      <dc:date>2010-04-14T14:49:16Z</dc:date>
    </item>
    <item>
      <title>Autogenerating table values based on null values</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251116#M1207241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The isnull() function is unreliable in some environments, I think 64-bit. I would replace it with len(Field)=0 for safety and better portability.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 23:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251116#M1207241</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-14T23:10:36Z</dc:date>
    </item>
    <item>
      <title>Autogenerating table values based on null values</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251117#M1207242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a "smart" way to perform this for all fields when you load? By smart, I mean without explicitly writing the statement for each individual fields? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 23:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251117#M1207242</guid>
      <dc:creator />
      <dc:date>2010-11-30T23:11:51Z</dc:date>
    </item>
    <item>
      <title>Autogenerating table values based on null values</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251118#M1207243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not thinking of a way. You're overriding values, which I think means you're going to need to explicitly code something. Now if you ALWAYS want to replace null with the same thing, like 'NULL', you could probably do something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LET nullit = 'if(len($1),$1,' &amp;amp; chr(39) &amp;amp; 'NULL' &amp;amp; chr(39) &amp;amp; ') as $1';&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt; $(nullit(OrderID))&lt;BR /&gt;,$(nullit(OrderDate))&lt;BR /&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 23:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerating-table-values-based-on-null-values/m-p/251118#M1207243</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-30T23:23:10Z</dc:date>
    </item>
  </channel>
</rss>

