<?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: How to show NULL values with IF function in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907478#M987285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain little more clear about your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2015 06:55:00 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2015-07-21T06:55:00Z</dc:date>
    <item>
      <title>How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907476#M987283</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;How to show NULL values with IF function in script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 06:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907476#M987283</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-07-21T06:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907477#M987284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean isnull()? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 06:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907477#M987284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-21T06:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907478#M987285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain little more clear about your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 06:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907478#M987285</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-07-21T06:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907479#M987286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Please check the below script.&lt;/P&gt;&lt;P&gt;There is no SAL for SMITH and MARTIN. But I want to show in report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1437463713853953 jive_text_macro" jivemacro_uid="_1437463713853953"&gt;
&lt;P&gt;EMP:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD EMPNO,ENAME,JOB,date(DATE) as DATE,Ceil(month(date(DATE))/3) as Quarter,SAL Inline [&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;EMPNO,ENAME,JOB,DATE,SAL&lt;/P&gt;
&lt;P&gt;7369,SMITH,CLERK,1-Jan-15,&lt;/P&gt;
&lt;P&gt;7369,SMITH,CLERK,1-Apr-15,&lt;/P&gt;
&lt;P&gt;7499,ALLEN,SALMAN,1-Jan-15,4000&lt;/P&gt;
&lt;P&gt;7499,ALLEN,SALMAN,1-Apr-15,5000&lt;/P&gt;
&lt;P&gt;7521,WARD,SALMAN,1-Jan-15,6000&lt;/P&gt;
&lt;P&gt;7521,WARD,SALMAN,1-Apr-15,1500&lt;/P&gt;
&lt;P&gt;7566,JONES,MANAGER,1-Jan-15,2500&lt;/P&gt;
&lt;P&gt;7566,JONES,MANAGER,1-Apr-15,1100&lt;/P&gt;
&lt;P&gt;7654,MARTIN,SALMAN,1-Jan-15,&lt;/P&gt;
&lt;P&gt;7654,MARTIN,SALMAN,1-Apr-15,&lt;/P&gt;
&lt;P&gt;7698,BLAKE,MANAGER,1-Jan-15,3450&lt;/P&gt;
&lt;P&gt;7698,BLAKE,MANAGER,1-Apr-15,4000&lt;/P&gt;
&lt;P&gt;7782,CLARK,MANAGER,1-Jan-15,4000&lt;/P&gt;
&lt;P&gt;7782,CLARK,MANAGER,1-Apr-15,5000&lt;/P&gt;
&lt;P&gt;7788,SCOTT,ANALYST,1-Jan-15,6000&lt;/P&gt;
&lt;P&gt;7788,SCOTT,ANALYST,1-Apr-15,1500&lt;/P&gt;
&lt;P&gt;7839,KING,PRESIDENT,1-Jan-15,3600&lt;/P&gt;
&lt;P&gt;7839,KING,PRESIDENT,1-Apr-15,3450&lt;/P&gt;
&lt;P&gt;7844,TURNER,SALMAN,1-Jan-15,1250&lt;/P&gt;
&lt;P&gt;7844,TURNER,SALMAN,1-Apr-15,4000&lt;/P&gt;
&lt;P&gt;7876,ADAMS,CLERK,1-Jan-15,5000&lt;/P&gt;
&lt;P&gt;7876,ADAMS,CLERK,1-Apr-15,6000&lt;/P&gt;
&lt;P&gt;7900,JAMES,CLERK,1-Jan-15,3450&lt;/P&gt;
&lt;P&gt;7900,JAMES,CLERK,1-Apr-15,4000&lt;/P&gt;
&lt;P&gt;7902,FORD,ANALYST,1-Jan-15,4000&lt;/P&gt;
&lt;P&gt;7902,FORD,ANALYST,1-Apr-15,5000&lt;/P&gt;
&lt;P&gt;7934,MILLER,CLERK,1-Jan-15,6000&lt;/P&gt;
&lt;P&gt;7934,MILLER,CLERK,1-Apr-15,6000&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907479#M987286</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-07-21T07:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907480#M987287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/darkhorse"&gt;darkhorse&lt;/A&gt;‌&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I don't which function need to be used.&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907480#M987287</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-07-21T07:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907481#M987288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to the chart properties, the presentation and un-check the suppress zero-Values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907481#M987288</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2015-07-21T07:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907482#M987289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907482#M987289</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-21T07:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907483#M987290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncheck the suppress "0" values in "Presentation" tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script, If(ISNULL(SAL), 0, SAL) AS SAL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907483#M987290</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-07-21T07:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907484#M987291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try below&lt;/P&gt;&lt;P&gt;EMP:&lt;/P&gt;&lt;P&gt;LOAD EMPNO,ENAME,JOB,date(DATE) as DATE,Ceil(month(date(DATE))/3) as Quarter,SAL Inline [&lt;/P&gt;&lt;P&gt;EMPNO,ENAME,JOB,DATE,SAL&lt;BR /&gt;7369,SMITH,CLERK,1-Jan-15,&lt;BR /&gt;7369,SMITH,CLERK,1-Apr-15,&lt;BR /&gt;7499,ALLEN,SALMAN,1-Jan-15,4000&lt;BR /&gt;7499,ALLEN,SALMAN,1-Apr-15,5000&lt;BR /&gt;7521,WARD,SALMAN,1-Jan-15,6000&lt;BR /&gt;7521,WARD,SALMAN,1-Apr-15,1500&lt;BR /&gt;7566,JONES,MANAGER,1-Jan-15,2500&lt;BR /&gt;7566,JONES,MANAGER,1-Apr-15,1100&lt;BR /&gt;7654,MARTIN,SALMAN,1-Jan-15,&lt;BR /&gt;7654,MARTIN,SALMAN,1-Apr-15,&lt;BR /&gt;7698,BLAKE,MANAGER,1-Jan-15,3450&lt;BR /&gt;7698,BLAKE,MANAGER,1-Apr-15,4000&lt;BR /&gt;7782,CLARK,MANAGER,1-Jan-15,4000&lt;BR /&gt;7782,CLARK,MANAGER,1-Apr-15,5000&lt;BR /&gt;7788,SCOTT,ANALYST,1-Jan-15,6000&lt;BR /&gt;7788,SCOTT,ANALYST,1-Apr-15,1500&lt;BR /&gt;7839,KING,PRESIDENT,1-Jan-15,3600&lt;BR /&gt;7839,KING,PRESIDENT,1-Apr-15,3450&lt;BR /&gt;7844,TURNER,SALMAN,1-Jan-15,1250&lt;BR /&gt;7844,TURNER,SALMAN,1-Apr-15,4000&lt;BR /&gt;7876,ADAMS,CLERK,1-Jan-15,5000&lt;BR /&gt;7876,ADAMS,CLERK,1-Apr-15,6000&lt;BR /&gt;7900,JAMES,CLERK,1-Jan-15,3450&lt;BR /&gt;7900,JAMES,CLERK,1-Apr-15,4000&lt;BR /&gt;7902,FORD,ANALYST,1-Jan-15,4000&lt;BR /&gt;7902,FORD,ANALYST,1-Apr-15,5000&lt;BR /&gt;7934,MILLER,CLERK,1-Jan-15,6000&lt;BR /&gt;7934,MILLER,CLERK,1-Apr-15,6000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;Load EMPNO,&lt;BR /&gt;ENAME,&lt;BR /&gt;JOB,&lt;BR /&gt;DATE,&lt;BR /&gt;if(isnull(Sum(SAL)) or len(trim(Sum(SAL)))=0 or Sum(SAL)=0,50,sum(SAL)) as New_Sales&lt;BR /&gt;Resident EMP&lt;BR /&gt;group by EMPNO,ENAME,JOB,DATE&lt;/P&gt;&lt;P&gt;EMP:&lt;/P&gt;&lt;P&gt;EMPNO,&lt;/P&gt;&lt;P&gt;ENAME,&lt;/P&gt;&lt;P&gt;JOB,&lt;/P&gt;&lt;P&gt;DATE,SAL&lt;/P&gt;&lt;P&gt;from tableName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load EMPNO,&lt;/P&gt;&lt;P&gt;ENAME,&lt;/P&gt;&lt;P&gt;JOB,&lt;/P&gt;&lt;P&gt;DATE,&lt;/P&gt;&lt;P&gt;if(isnull(Sum(Sales)) or len(trim(Sum(Sales)))=0 or Sum(Sales)=0,yourValue,sum(Sales) as New_Sales&lt;/P&gt;&lt;P&gt;Resident EMP&lt;/P&gt;&lt;P&gt;group by EMPNO,ENAME,JOB,DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907484#M987291</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-07-21T07:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907485#M987292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 09:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907485#M987292</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-07-21T09:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907486#M987293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Len() &amp;amp; Trim() it covers both Null and Empty values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; If(Len(Trim(SAL)), 0, SAL) AS SAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 10:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907486#M987293</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-22T10:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to show NULL values with IF function in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907487#M987294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/jagan"&gt;jagan&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 10:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-NULL-values-with-IF-function-in-script/m-p/907487#M987294</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-07-22T10:23:19Z</dc:date>
    </item>
  </channel>
</rss>

