<?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 with 0 in left join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255053#M852868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Att:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;Event, Grade, Attendees&lt;/P&gt;&lt;P&gt;123, A, 345&lt;/P&gt;&lt;P&gt;123, B, 2&lt;/P&gt;&lt;P&gt;123, C, 8&lt;/P&gt;&lt;P&gt;123, D, 77&lt;/P&gt;&lt;P&gt;453, A, 6&lt;/P&gt;&lt;P&gt;453, D, 52&lt;/P&gt;&lt;P&gt;889, A, 46&lt;/P&gt;&lt;P&gt;4567, D, 83&lt;/P&gt;&lt;P&gt;98067, B, 56&lt;/P&gt;&lt;P&gt;98067, C, 22&lt;/P&gt;&lt;P&gt;98067, D, 34 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Anum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'A'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Bnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'B'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Cnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'C'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Dnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'D'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;if(IsNull(Anum),0,Anum) as Anum,&lt;/P&gt;&lt;P&gt;if(IsNull(Bnum),0,Anum) as Bnum,&lt;/P&gt;&lt;P&gt;if(IsNull(Cnum),0,Anum) as Cnum,&lt;/P&gt;&lt;P&gt;if(IsNull(Dnum),0,Anum) as Dnum&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Att;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should get this Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="211"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="62"&gt;Event&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="37"&gt;Anum&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="37"&gt;Bnum&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="37"&gt;Cnum&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="38"&gt;Dnum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;453&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;889&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;46&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 19:01:39 GMT</pubDate>
    <dc:creator>ziadm</dc:creator>
    <dc:date>2017-02-23T19:01:39Z</dc:date>
    <item>
      <title>Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255050#M852865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be so easy, just can't see it today. &lt;/P&gt;&lt;P&gt;I need to turn a long table into a more sensible one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 573px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl69" colspan="3" height="43" width="200"&gt;&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; Have&lt;/TD&gt;&lt;TD class="xl69" colspan="6" width="320"&gt;&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; Want&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Event&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Grade&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Attendees&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&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; Event&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Anum&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Bnum&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Cnum&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Dnum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;453&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;52&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;889&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;46&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;77&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4567&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;83&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;453&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;98067&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;56&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;453&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;52&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;889&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;46&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;4567&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;83&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;98067&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;56&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;98067&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;98067&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;34&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying left joins, concatenates, Null as Value, etc&lt;/P&gt;&lt;P&gt;But I keep getting Nulls and can't seem to turn them into 0s. Can someone please put me out of my misery?&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/Replace-Null-with-0-in-left-join/m-p/1255050#M852865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255051#M852866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just realised I should have said that it's proabaly not true Nulls I'm looking for but Missing data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255051#M852866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-23T14:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255052#M852867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made this work by following what I had with a NoConcatenate reload and using the len(trim trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I wonder how well this is going to run with 10's of thousands of records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255052#M852867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-23T16:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255053#M852868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Att:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;Event, Grade, Attendees&lt;/P&gt;&lt;P&gt;123, A, 345&lt;/P&gt;&lt;P&gt;123, B, 2&lt;/P&gt;&lt;P&gt;123, C, 8&lt;/P&gt;&lt;P&gt;123, D, 77&lt;/P&gt;&lt;P&gt;453, A, 6&lt;/P&gt;&lt;P&gt;453, D, 52&lt;/P&gt;&lt;P&gt;889, A, 46&lt;/P&gt;&lt;P&gt;4567, D, 83&lt;/P&gt;&lt;P&gt;98067, B, 56&lt;/P&gt;&lt;P&gt;98067, C, 22&lt;/P&gt;&lt;P&gt;98067, D, 34 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Anum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'A'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Bnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'B'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Cnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'C'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Dnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'D'&lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;if(IsNull(Anum),0,Anum) as Anum,&lt;/P&gt;&lt;P&gt;if(IsNull(Bnum),0,Anum) as Bnum,&lt;/P&gt;&lt;P&gt;if(IsNull(Cnum),0,Anum) as Cnum,&lt;/P&gt;&lt;P&gt;if(IsNull(Dnum),0,Anum) as Dnum&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Att;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should get this Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="211"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="62"&gt;Event&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="37"&gt;Anum&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="37"&gt;Bnum&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="37"&gt;Cnum&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="38"&gt;Dnum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;345&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;453&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;889&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;46&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 19:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255053#M852868</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2017-02-23T19:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255054#M852869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction missed the final isnull() statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Att:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;Event, Grade, Attendees&lt;/P&gt;&lt;P&gt;123, A, 345&lt;/P&gt;&lt;P&gt;123, B, 2&lt;/P&gt;&lt;P&gt;123, C, 8&lt;/P&gt;&lt;P&gt;123, D, 77&lt;/P&gt;&lt;P&gt;453, A, 6&lt;/P&gt;&lt;P&gt;453, D, 52&lt;/P&gt;&lt;P&gt;889, A, 46&lt;/P&gt;&lt;P&gt;4567, D, 83&lt;/P&gt;&lt;P&gt;98067, B, 56&lt;/P&gt;&lt;P&gt;98067, C, 22&lt;/P&gt;&lt;P&gt;98067, D, 34 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Anum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'A' &lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Bnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'B' &lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Cnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'C' &lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Event,&lt;/P&gt;&lt;P&gt;Sum(Attendees) as Dnum&lt;/P&gt;&lt;P&gt;Resident Att&lt;/P&gt;&lt;P&gt;Where Grade = 'D' &lt;/P&gt;&lt;P&gt;group by&amp;nbsp; Event,Grade;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load Event, &lt;/P&gt;&lt;P&gt;if(IsNull(Anum),0,Anum) as Anum,&lt;/P&gt;&lt;P&gt;if(IsNull(Bnum),0,Bnum) as Bnum,&lt;/P&gt;&lt;P&gt;if(IsNull(Cnum),0,Cnum) as Cnum,&lt;/P&gt;&lt;P&gt;if(IsNull(Dnum),0,Dnum) as Dnum&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Att;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 19:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255054#M852869</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2017-02-23T19:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255055#M852870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using Sum() function around your fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154291_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 19:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255055#M852870</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-23T19:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255056#M852871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you looked at Generic Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/03/31/generic" title="https://community.qlik.com/blogs/qlikviewdesignblog/2014/03/31/generic"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2014/03/31/generic&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 19:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255056#M852871</guid>
      <dc:creator>rupamjyotidas</dc:creator>
      <dc:date>2017-02-23T19:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255057#M852872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OTOH the data is QlikView ready in it's ideal form: completely serialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which allows you to create the expected output using a simple pivot table. Add two dimensions (Event and Grade) and one expression =sum(Attendees). In Presentation, choose 0 as symbol to display for Missing values. Align all expression values to the right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now drag the vertically oriented Grade dimension (first becomes a vertical blue line, then pivots into a horizontal blue line) to the top &lt;EM&gt;above&lt;/EM&gt; the expression column. Release... Tada!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 22:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255057#M852872</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-02-23T22:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with 0 in left join</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255058#M852873</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 this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapANum:&lt;/P&gt;&lt;P&gt;Mapping LOAD Event, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Attendees as ANum&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Cust.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where Grade = 'A';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapBNum:&lt;/P&gt;&lt;P&gt;Mapping LOAD Event,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Attendees as BNum&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Cust.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where Grade = 'B';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapCNum:&lt;/P&gt;&lt;P&gt;Mapping LOAD Event,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Attendees as CNum&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Cust.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where Grade = 'C';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapDNum:&lt;/P&gt;&lt;P&gt;Mapping LOAD Event,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Attendees as DNum&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Cust.xlsx&amp;nbsp; &lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where Grade = 'D';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thing:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapANum',Event,0) as ANum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapBNum',Event,0) as BNum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapCNum',Event,0) as CNum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapDNum',Event,0) as DNum;&lt;/P&gt;&lt;P&gt;LOAD Distinct Event&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Cust.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 12:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Null-with-0-in-left-join/m-p/1255058#M852873</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2017-02-24T12:28:49Z</dc:date>
    </item>
  </channel>
</rss>

