<?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: Adding Two fields with one of them is Null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097448#M364454</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;If you got the answer please close this thread by giving correct Answer to the post which helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 01:30:11 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2016-02-26T01:30:11Z</dc:date>
    <item>
      <title>Adding Two fields with one of them is Null</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097443#M364449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two fields Tax and Credit.&lt;/P&gt;&lt;P&gt;Credit = Tax + Original Price.&lt;/P&gt;&lt;P&gt;But for some of fields, I have Tax fields as Null.&lt;/P&gt;&lt;P&gt;so I should get &lt;SPAN style="font-size: 13.3333px;"&gt;Credit =&amp;nbsp; Original Price.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but i see Null in the report for this field as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the expression Tax + Original Price&lt;/P&gt;&lt;P&gt;Calculated dimension is also giving me the same result : Num (([Tax]+[Original Price]), '#,##0.00')&lt;/P&gt;&lt;P&gt;Can anyone please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097443#M364449</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-02-23T22:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Two fields with one of them is Null</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097444#M364450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use RangeSum(Tax, [Original Price])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum will add individual values and treat NULL values as 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097444#M364450</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-23T22:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Two fields with one of them is Null</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097445#M364451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although Peter's solution is the best possible, but just for a sake of an alternative you can also do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Tax, 0) + Alt([Original Price], 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 23:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097445#M364451</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-23T23:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Two fields with one of them is Null</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097446#M364452</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;While loading your data in script try to handle this using Alt() or Len(Trim()) like below, handling this in Front end is not a good idea.&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;*,&lt;/P&gt;&lt;P&gt;Alt(Tax, 0) AS Tax_New&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(Len(Trim(Tax)) = 0, 0, Tax) AS Tax_New&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now use Tax_New in the charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 01:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097446#M364452</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-24T01:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Two fields with one of them is Null</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097447#M364453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the scenarios worked.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 19:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097447#M364453</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-02-24T19:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Two fields with one of them is Null</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097448#M364454</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;If you got the answer please close this thread by giving correct Answer to the post which helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 01:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-fields-with-one-of-them-is-Null/m-p/1097448#M364454</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-26T01:30:11Z</dc:date>
    </item>
  </channel>
</rss>

