<?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: Replace Null Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696922#M667362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we can use ALT function only on the numbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2014 14:24:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-27T14:24:11Z</dc:date>
    <item>
      <title>Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696916#M667356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To do the aggregation calculations, i want to replace null value with 0 in my field. Apart from the IF condition do we have any chance to replace? Is there any function to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Can anyone explain the use auto number function with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sridhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 10:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696916#M667356</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2014-10-26T10:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696917#M667357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Possible,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look on below post for handling null values.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3155"&gt;http://community.qlik.com/docs/DOC-3155&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For autonumber() check this&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/270262#270262"&gt;http://community.qlik.com/message/270262#270262&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 10:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696917#M667357</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-26T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696918#M667358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;alt function &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;alt(null(), 0)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;alt(yourfield, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor407"&gt;&lt;/A&gt;&lt;A name="alt"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;EM&gt;alt(&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class="Italic"&gt;case1[ , case2 , case3 , ...] , else&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The &lt;SPAN class="Bold"&gt;alt&lt;/SPAN&gt; function returns the first of the parameters that has a valid number representation. If no such match is found, the last parameter will be returned. Any number of parameters can be used. &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 18:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696918#M667358</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-26T18:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696919#M667359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the Alt(), it is similar to if else.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emp_id = 5&lt;/P&gt;&lt;P&gt;Alt(Emp_id, 0) - The output is 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emp_id = Null&lt;/P&gt;&lt;P&gt;Alt(Emp_id, 0) - Now the output is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AutoNumber() - Gives you some number for a given value, it is useful for generating ID, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;County&lt;/P&gt;&lt;P&gt;India&lt;/P&gt;&lt;P&gt;USA&lt;/P&gt;&lt;P&gt;UK&lt;/P&gt;&lt;P&gt;Singapore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use below script&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Country&lt;/P&gt;&lt;P&gt;AutoNumber(Country) AS ID&lt;/P&gt;&lt;P&gt;FROM Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now your table may be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;County, Key&lt;/P&gt;&lt;P&gt;India, 1000&lt;/P&gt;&lt;P&gt;USA, 2000&lt;/P&gt;&lt;P&gt;UK, 3000&lt;/P&gt;&lt;P&gt;Singapore, 9000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Here key values may change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this 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>Mon, 27 Oct 2014 04:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696919#M667359</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-27T04:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696920#M667360</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;Using of ALT() we will replace the null values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 06:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696920#M667360</guid>
      <dc:creator />
      <dc:date>2014-10-27T06:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696921#M667361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your quick reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 14:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696921#M667361</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2014-10-27T14:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696922#M667362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we can use ALT function only on the numbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 14:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-Values/m-p/696922#M667362</guid>
      <dc:creator />
      <dc:date>2014-10-27T14:24:11Z</dc:date>
    </item>
  </channel>
</rss>

