<?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: Change Null Values to a Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447813#M489733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3155"&gt;Tech Brief of QlikView NULL handling&lt;/A&gt; with lots of tips on how to solve problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2012 19:54:24 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2012-10-24T19:54:24Z</dc:date>
    <item>
      <title>Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447806#M489726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a straight table to list our outstanding quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, Quote No, Description, Value etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use an expression to display the sum([Quote Value]), but when this value is null or 0.00 none of the quote line displays, which im guessing is down to the expression not being able to sum on a null or 0 value hence dropping the line altogether.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would the best way to work around this?&amp;nbsp; I'd like to still show the line even if the value was set to 0.01 so the user knows this quote needs to be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have experimented with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;if(OfferAmount = null() or = 0.00000, 0.01, OfferAmount) as [Quote Amount],&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this doesn't seem to work, but im also open to other sugestions of displaying the row data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly apreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 10:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447806#M489726</guid>
      <dc:creator />
      <dc:date>2012-10-24T10:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447807#M489727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct in assuming that QlikView doesn't show these, its not that it can't do it, it is that it is correctly designed not to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a straight table you could add in an expression to count an ID, then hide the column, because QlikView should then show you the zero value lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: add in something like Count([Quote ID]) as an additional expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to the presentation tab of the chart, select the Count expression and check the box (Hide Column), so the column is now hidden but should still be active in terms of forcing zero and null values to display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 10:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447807#M489727</guid>
      <dc:creator />
      <dc:date>2012-10-24T10:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447808#M489728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats pefect, and a much more straightforward way of thinking.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works just as I need.&amp;nbsp; Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 10:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447808#M489728</guid>
      <dc:creator />
      <dc:date>2012-10-24T10:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447809#M489729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My pleasure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 10:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447809#M489729</guid>
      <dc:creator />
      <dc:date>2012-10-24T10:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447810#M489730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some investigation this works for 90% of the data which is great, but is creating duplicates for a lot of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you know of anything similar in setting a value here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;if(OfferAmount = null() or = 0.00000, 0.01, OfferAmount) as [Quote Amount],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 11:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447810#M489730</guid>
      <dc:creator />
      <dc:date>2012-10-24T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447811#M489731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, if its producing duplicate rows then it means you are probably counting and ID or some other value from the wrong table because it should not be duplicating rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the expression you have, you could try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(If(ISNULL(OfferAmount) OR Round(OfferAmount)=0,0.01,OfferAmount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression could be put straight into your table rather than in the load script, if want to do this in your load script then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(ISNULL(OfferAmount) OR Round(OfferAmount)=0,0.01,OfferAmount) AS [Quote Amount]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An obvious warning though, each null value is now being converted to 1 cent (penny, centime etc) so if you're dealing with large volumes of data then you are naturally skewing the total values reported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 12:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447811#M489731</guid>
      <dc:creator />
      <dc:date>2012-10-24T12:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447812#M489732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats great, thanks, the quote offer should always be a penny if the true quote value is unknow, this will be used to highlight quote errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help, thats solved the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 12:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447812#M489732</guid>
      <dc:creator />
      <dc:date>2012-10-24T12:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change Null Values to a Value</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447813#M489733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3155"&gt;Tech Brief of QlikView NULL handling&lt;/A&gt; with lots of tips on how to solve problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 19:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Null-Values-to-a-Value/m-p/447813#M489733</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-10-24T19:54:24Z</dc:date>
    </item>
  </channel>
</rss>

