<?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: Limiting a dataset with a variable input in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Limiting-a-dataset-with-a-variable-input/m-p/1859582#M70937</link>
    <description>&lt;P&gt;if BASEFEE is a dim, you can set the ignore null.&amp;nbsp; if you are are using it as a measure, try if using the modifier BASE_FEE={"*"} will help&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 20:28:12 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-11-15T20:28:12Z</dc:date>
    <item>
      <title>Limiting a dataset with a variable input</title>
      <link>https://community.qlik.com/t5/App-Development/Limiting-a-dataset-with-a-variable-input/m-p/1859401#M70931</link>
      <description>&lt;P&gt;I have a table that is like this....&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Base Fee&lt;/TD&gt;
&lt;TD width="50%"&gt;Incentive Fee&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;-&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;500&lt;/TD&gt;
&lt;TD&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;400&lt;/TD&gt;
&lt;TD&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;-&lt;/TD&gt;
&lt;TD&gt;300&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;etc.&lt;/P&gt;
&lt;P&gt;I have created a variable input with three buttons: Show All, Base Fee, Incentive Fee&lt;/P&gt;
&lt;P&gt;I am working on the functionality to limit the data now, but I cannot programmatically filter out the nulls for some reason.&lt;/P&gt;
&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(Not isnull(len(trim(BASE_FEE))),BASE_FEE)&lt;/P&gt;
&lt;P&gt;=if(not isnull(BASE_FEE), BASE_FEE)&lt;/P&gt;
&lt;P&gt;=if(LEN(Trim(BASE_FEE)) &amp;gt; 0, BASE_FEE)&lt;/P&gt;
&lt;P&gt;UPDATE: I have added this expression, which will make the null (-) a 0, but I am still unable to filter out the rows where BASE_FEE = 0&lt;/P&gt;
&lt;P&gt;=if(Aggr(Alt([BASE_FEE],'0'),BASE_FEE) &amp;gt; 0, BASE_FEE)&lt;/P&gt;
&lt;P&gt;I can find the BASE_FEE that is not null, but I cannot filter out the BASE_FEE that is null (which shows in the table as -).&amp;nbsp; I will wire all of the functionality into a variable once it is working, but for now I am just trying to hardcode to test.&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 16:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limiting-a-dataset-with-a-variable-input/m-p/1859401#M70931</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2021-11-15T16:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting a dataset with a variable input</title>
      <link>https://community.qlik.com/t5/App-Development/Limiting-a-dataset-with-a-variable-input/m-p/1859582#M70937</link>
      <description>&lt;P&gt;if BASEFEE is a dim, you can set the ignore null.&amp;nbsp; if you are are using it as a measure, try if using the modifier BASE_FEE={"*"} will help&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 20:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limiting-a-dataset-with-a-variable-input/m-p/1859582#M70937</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-11-15T20:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting a dataset with a variable input</title>
      <link>https://community.qlik.com/t5/App-Development/Limiting-a-dataset-with-a-variable-input/m-p/1859583#M70938</link>
      <description>&lt;P&gt;&lt;SPAN&gt;BASE_FEE={"*"}&amp;nbsp;will exclude rows with null BASE FEE in your calculation&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 20:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limiting-a-dataset-with-a-variable-input/m-p/1859583#M70938</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-11-15T20:28:54Z</dc:date>
    </item>
  </channel>
</rss>

