<?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: Qlikview read a field as null when there is actually a value inside. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406705#M809756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you use ALT fucntion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 09:22:13 GMT</pubDate>
    <dc:creator>shanky1907</dc:creator>
    <dc:date>2017-10-06T09:22:13Z</dc:date>
    <item>
      <title>Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406700#M809751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this issue where i use this formulae to create a field tagging whether the field is null or not. However, when the file has been loaded complete, there are some cases where it reads the field as null when is it not. I also saw a pattern that those cases that it has been reading wrong are values instead text inside the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(A_POLICY_NO),0,1) AS ISSUEDQUOTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be wrong?&lt;/P&gt;&lt;P&gt;See image 1 - When null issuedquote is 0&lt;/P&gt;&lt;P&gt;See image 2- Table box show issuedquote with value 0 but with A_POLICY_NO (not null)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178822_Capture.GIF" style="height: 108px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.GIF" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/178823_Capture2.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;There are patterns that show those cases involve item with numbers only and not text policyno as per below. However there are cases with numbers that have no issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.GIF" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/178825_Capture3.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;However if i tried to use set analysis to define this cases , qlikview able to pick it up correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406700#M809751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406701#M809752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your field change &lt;SPAN style="font-size: 13.3333px;"&gt;ISSUEDQUOTE to &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(IsNull(A_POLICY_NO) = -1 OR LEN(A_POLICY_NO) = 0,1,0) AS ISSUEDQUOTE&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 08:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406701#M809752</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-06T08:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406702#M809753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better to use it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LEN(A_POLICY_NO) = 0,0,&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;/EM&gt;IsNull(A_POLICY_NO) = -1,0,1) AS ISSUEDQUOTE&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 08:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406702#M809753</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2017-10-06T08:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406703#M809754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried both, same result. there are still cases read as null when its not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 08:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406703#M809754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-06T08:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406704#M809755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish i could past you guys the data, but its 1gb app and growing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 09:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406704#M809755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-06T09:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406705#M809756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you use ALT fucntion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 09:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406705#M809756</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2017-10-06T09:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406706#M809757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some read on that but didnt go deeper. Care to elaborate how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 09:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406706#M809757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-06T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406707#M809758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alt applies to numeric data only not to text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try just testing the field length instead &lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LEN(TRIM(A_POLICY_NO))&amp;nbsp; and not using IsNull()&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 11:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406707#M809758</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-10-06T11:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406708#M809759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After further investigation it seems there are loading error when using formula in script. however formulae in expression does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one field which have the same string value of 0000000032217&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Field&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;P_MOTOR_BASICPREM_COMM1 = 0000000032217 ( Original Data)&lt;/P&gt;&lt;P&gt;P_MOTOR_BASICPREM_COMM&amp;nbsp;&amp;nbsp; = Ltrim(Replace(P_MOTOR_BASICPREM_COMM),' '))&lt;/P&gt;&lt;P&gt;P_MOTOR_BASICPREM_COMM2 = NUM(EVALUATE(P_MOTOR_BASICPREM_COMM),'#0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see, the 2nd row shows the correct value, however the 1st row somehow change to unknown number when it applies the same formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I use the same formula at expression below, it appear correctly for both (List Box).&lt;/P&gt;&lt;P&gt;Expression formula&amp;nbsp; = Replace(P_MOTOR_BASICPREM_COMM),' '))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Have you guys ever found the same issue? loading script bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 03:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406708#M809759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-13T03:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview read a field as null when there is actually a value inside.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406709#M809760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry here is the image&lt;IMG alt="qv.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179493_qv.GIF" style="width: 620px; height: 117px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 03:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-read-a-field-as-null-when-there-is-actually-a-value/m-p/1406709#M809760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-13T03:54:24Z</dc:date>
    </item>
  </channel>
</rss>

