<?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: Replacing Null using If then and then filtering issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340868#M125898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you add a rowno() during your load statement and use it to display the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an idea &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 19:01:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-07T19:01:42Z</dc:date>
    <item>
      <title>Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340866#M125896</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;I have Data in this format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 495px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="161"&gt;&lt;STRONG&gt;TotalSpendBusinessUnit&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="167"&gt;&lt;STRONG&gt;DelinquencyBusinessUnit&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="77"&gt;&lt;STRONG&gt;Deliquent&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="90"&gt;&lt;STRONG&gt;Total Spend&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;-&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;234,307&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;14,778&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;28,513&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3,837&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a calculated Dimension to replace Null Values with data in any one of the columns as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BusinessUnit = if (isnull(&lt;STRONG&gt;TotalSpendBusinessUnit), &lt;STRONG&gt;DelinquencyBusinessUnit&lt;/STRONG&gt;, T&lt;STRONG&gt;otalSpendBusinessUnit&lt;/STRONG&gt;) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how data looks like with &lt;STRONG&gt;Business Unit&lt;/STRONG&gt; Column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 593px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="161"&gt;&lt;STRONG&gt;TotalSpendBusinessUnit&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="167"&gt;&lt;STRONG&gt;DelinquencyBusinessUnit&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;&lt;STRONG&gt;Business Unit&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="77"&gt;&lt;STRONG&gt;Deliquent&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="90"&gt;&lt;STRONG&gt;Total Spend&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3,837&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14,778&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;28,513&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;234,307&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click on &lt;STRONG&gt;Business Unit&lt;/STRONG&gt; Filter&amp;nbsp;&amp;nbsp; selecting 'A&amp;amp;E-PS' based on above calculated dimension, the above table is filtered as only line that has 'A&amp;amp;E-PS' populated in all the dimensions as below - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="593"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="161"&gt;TotalSpendBusinessUnit&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="167"&gt;DelinquencyBusinessUnit&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Business Unit&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="77"&gt;Deliquent&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="90"&gt;Total Spend&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&amp;amp;E-PS&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14,778&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;28,513&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I strucuture my above table to show all the lines of A&amp;amp;E-PS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be a big help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 18:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340866#M125896</guid>
      <dc:creator>nadkalyan</dc:creator>
      <dc:date>2012-08-06T18:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340867#M125897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 14:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340867#M125897</guid>
      <dc:creator>nadkalyan</dc:creator>
      <dc:date>2012-08-07T14:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340868#M125898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you add a rowno() during your load statement and use it to display the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an idea &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 19:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340868#M125898</guid>
      <dc:creator />
      <dc:date>2012-08-07T19:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340869#M125899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you create the Business Unit dimension in Script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 19:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340869#M125899</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-08-07T19:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340870#M125900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That should be the best way of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 19:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340870#M125900</guid>
      <dc:creator />
      <dc:date>2012-08-07T19:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340871#M125901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may be not that familiar with Loading Scripts but 'TotalSpendBusinessUnit' and "DelinquencyBusinessUnit' are both coming from 2 different tables and they are loaded in 2 different tabs in Qlikview joined by a dimension key. How can I load calculated BusinessUnit in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 19:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340871#M125901</guid>
      <dc:creator>nadkalyan</dc:creator>
      <dc:date>2012-08-07T19:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340872#M125902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also if I do same cacluation for a list box, and select any one Business Unit it still gives me same result.&amp;nbsp; I think this is the way Qlikview handles Nulls to not populate even using Outer Joins. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 18:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340872#M125902</guid>
      <dc:creator>nadkalyan</dc:creator>
      <dc:date>2012-08-08T18:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340873#M125903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could use the lookup () function in your load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (isnull(TotalSpendBusinessUnit) , lookup (&amp;nbsp; DeliquencyBusinessUnit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),TotalSpendBusinessUnit ) as BusinessUnit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 18:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340873#M125903</guid>
      <dc:creator />
      <dc:date>2012-08-08T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Null using If then and then filtering issue</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340874#M125904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added this to the Load script but still same results. I have added following also to Load script and i get same results - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how Qlikview handles Null Dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 13:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Null-using-If-then-and-then-filtering-issue/m-p/340874#M125904</guid>
      <dc:creator>nadkalyan</dc:creator>
      <dc:date>2012-08-09T13:54:21Z</dc:date>
    </item>
  </channel>
</rss>

