<?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 Unable to filter rows using WHERE while loading from a QVD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514021#M105423</link>
    <description>&lt;LI-SPOILER&gt;Hi, I'm new to Qlik Sense. I'm trying to modify an existing App in our Qlik Cloud environment. There is a load script that currently filters the rows if at least one of the two amount fields is not zero using a NOT MATCH, while selecting the data from a QVD. I would like to change the script to select the rows if sum of the two amount fields is greater than $100. I come from a database programming back ground and when I use the WHERE clause with the syntax Amount1 + Amount2 &amp;gt; 100, does not seem to work. Can someone help? Also, where can I find some help on this topic? I tried Qlik help, but couldn't find anything with basic search. Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table1:&lt;BR /&gt;LOAD&lt;BR /&gt;Field1,&lt;BR /&gt;Field2,&lt;BR /&gt;Amount1,&lt;BR /&gt;Amount2&lt;BR /&gt;FROM [lib://YourDataFolder/YourFile.qvd] (qvd)&lt;BR /&gt;WHERE Amount1 + Amount2 &amp;gt; 100;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;</description>
    <pubDate>Fri, 11 Apr 2025 12:53:54 GMT</pubDate>
    <dc:creator>TimeToQlik</dc:creator>
    <dc:date>2025-04-11T12:53:54Z</dc:date>
    <item>
      <title>Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514021#M105423</link>
      <description>&lt;LI-SPOILER&gt;Hi, I'm new to Qlik Sense. I'm trying to modify an existing App in our Qlik Cloud environment. There is a load script that currently filters the rows if at least one of the two amount fields is not zero using a NOT MATCH, while selecting the data from a QVD. I would like to change the script to select the rows if sum of the two amount fields is greater than $100. I come from a database programming back ground and when I use the WHERE clause with the syntax Amount1 + Amount2 &amp;gt; 100, does not seem to work. Can someone help? Also, where can I find some help on this topic? I tried Qlik help, but couldn't find anything with basic search. Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table1:&lt;BR /&gt;LOAD&lt;BR /&gt;Field1,&lt;BR /&gt;Field2,&lt;BR /&gt;Amount1,&lt;BR /&gt;Amount2&lt;BR /&gt;FROM [lib://YourDataFolder/YourFile.qvd] (qvd)&lt;BR /&gt;WHERE Amount1 + Amount2 &amp;gt; 100;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 11 Apr 2025 12:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514021#M105423</guid>
      <dc:creator>TimeToQlik</dc:creator>
      <dc:date>2025-04-11T12:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514025#M105424</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Amount1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Amount2&lt;/P&gt;&lt;P&gt;WHERE Amount1 + Amount2 &amp;gt; 100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Amount1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Amount2&lt;/P&gt;&lt;P&gt;FROM [lib://YourDataFolder/YourFile.qvd] (qvd);&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 13:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514025#M105424</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-04-11T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514034#M105425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/334916"&gt;@TimeToQlik&lt;/a&gt;&amp;nbsp;, it can be differents things :&lt;/P&gt;&lt;P&gt;Maybe Amount fields are not recognized as numbers, so you can force their interpretation. &lt;FONT color="#FF6600"&gt;NUM#&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Maybe you can put the add in parenthesis to secure the comparation against the sum of both fields &lt;STRONG&gt;&lt;FONT color="#00CCFF"&gt;()&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Field1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Field2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amount1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amount2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM [lib://YourDataFolder/YourFile.qvd] (qvd)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE &lt;STRONG&gt;&lt;FONT color="#00CCFF"&gt;(&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF6600"&gt;num#&lt;/FONT&gt;(Amount1) + &lt;FONT color="#FF9900"&gt;num#&lt;/FONT&gt;(Amount2)&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00CCFF"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt; &amp;gt; 100;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 13:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514034#M105425</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2025-04-11T13:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514070#M105432</link>
      <description>&lt;P&gt;I would recommend using RangeSum() as your condition like this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;WHERE RangeSum(Amount1, Amount2) &amp;gt; 100;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you elaborate on what you mean by "does not seem to work"?&amp;nbsp; Not filtering, error message?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 15:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514070#M105432</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-04-11T15:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514092#M105436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/334916"&gt;@TimeToQlik&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Can you please share your current real Load Script instead of a concept code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 20:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514092#M105436</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-04-11T20:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514167#M105445</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I really appreciate you all for your quick response. I'm excited to be a part of this community already.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;I found the problem with my code.The issue seems to be with one of the amount fields being NULL. While I gave only two amount fields in my example, in my actual script I have 9 columns and one of them is calculated using a left join. This is causing the field to have NULL in some cases. I thought I handled the NULL using NullAsValue, but it looks like it does not work if the field is used as part of an expression.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;Here is the example code, much closer to my scenario:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// I have two tables Sales &amp;amp; Forecast&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// The Sales table has Actual Sales and Sales Plan numbers by Product Group &amp;amp; Location&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// The Forecast table has Forecast Numbers by Group only (but no Location)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// I need to allocate the Forecast numbers by Location using the Plan data&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// Sales table by Group &amp;amp; Location&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Sales:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Load * Inline [&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;ProductGroup, Location, ActualSalesAmt, SalesPlanAmt&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group1, Loc1, 100, 125&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group1, Loc2, 100, 125&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group2, Loc1, 50, 48&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group3, Loc1, 30, 25&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group3, Loc2, 40, 55&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group3, Loc3, 40, 45&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;];&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// Forecast table by Group&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// Please note that there is no Forecast for Group2&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Forecast:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Load * InLIne [&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;ProductGroup, SalesForecastAmt&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group1, 220&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Group3, 120&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;];&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;NoConcatenate&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// Join Sales&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// to sub-query, Fetch Sales Plan by Group, INNER JOIN&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;// to Forecast table to get the Forecast by Group, LEFT JOIN&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Sales_WithForecast:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;LOAD&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;SPAN&gt; ProductGroup,&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; Location,&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; ActualSalesAmt,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; SalesPlanAmt AS SalesPlanAmt_ByLocation&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Resident Sales;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;INNER JOIN(Sales_WithForecast)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Load&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;SPAN&gt; ProductGroup,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;SPAN&gt; SUM(SalesPlanAmt) AS SalesPlanAmt_ByGroup&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Resident Sales&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;GROUP BY ProductGroup;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;LEFT JOIN(Sales_WithForecast)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Load&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;SPAN&gt; ProductGroup,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;SPAN&gt; SalesForecastAmt AS SalesForecastAmt_ByGroup&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Resident Forecast;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Drop tables Sales, Forecast;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;//Here is my attempt to handle NULLs, in case of Group2&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;NullAsValue SalesForecastAmt_ByGroup;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Set NullValue = 0;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;NoConcatenate&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Sales_Final:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;LOAD&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; ProductGroup,&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; Location,&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; ActualSalesAmt,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; SalesPlanAmt_ByLocation,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; &lt;FONT color="#999999"&gt;// The NullAsValue worked when the field is by itself and set the following field to zero&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; SalesForecastAmt_ByGroup,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &lt;FONT color="#999999"&gt;&amp;nbsp; // Here is the expression to allocate the Forecast based on Plan&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif" color="#999999"&gt;&amp;nbsp; &amp;nbsp; // The NullAsValue did not work when the field 'SalesForecastAmt_ByGroup' is part of an expression&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp;&lt;FONT color="#0000FF"&gt; &amp;nbsp;&lt;FONT color="#999999"&gt; // So, I had to use COALESCE function to fix the issue&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; (SalesPlanAmt_ByLocation/SalesPlanAmt_ByGroup)&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&amp;nbsp; &amp;nbsp; * &lt;FONT color="#0000FF"&gt;COALESCE(SalesForecastAmt_ByGroup, 0)&lt;/FONT&gt; AS SalesForecastAmt_ByLocation&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Resident Sales_WithForecast;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Drop table Sales_WithForecast;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;Exit Script;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Using COALESCE fixed the issue, but please let me know if there is a more effective way to handle the issue or to handle NULLs in general. Like I mentioned, I'm new to Qlik and I'm open for any feedback. Thank you all very much once again!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 03:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514167#M105445</guid>
      <dc:creator>TimeToQlik</dc:creator>
      <dc:date>2025-04-14T03:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514168#M105446</link>
      <description>&lt;P&gt;Hello Rob, Thanks for your response! I should've been clearer. There was no error message, it was filtering the data incorrectly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw your solution after I handled the NULL using COALESCE explicitly, but using&amp;nbsp;&lt;SPAN&gt;RangeSum would've worked too. I noticed that the funtion RangeSum replaces a expression/field with zero if it is NULL.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 03:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514168#M105446</guid>
      <dc:creator>TimeToQlik</dc:creator>
      <dc:date>2025-04-14T03:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514279#M105465</link>
      <description>&lt;P&gt;Yes, that's the advantage of RangeSum(). BTW, if you were going to use Coalesce() in this situation I would recommend using Alt() instead, as Alt is Coalesce for numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 15:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514279#M105465</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-04-14T15:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to filter rows using WHERE while loading from a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514517#M105521</link>
      <description>&lt;P&gt;Thanks again Rob, didn't know about Alt. I'll make the change.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 00:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-filter-rows-using-WHERE-while-loading-from-a-QVD/m-p/2514517#M105521</guid>
      <dc:creator>TimeToQlik</dc:creator>
      <dc:date>2025-04-16T00:51:46Z</dc:date>
    </item>
  </channel>
</rss>

