<?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: Best practice for filtering on a calculated  expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619371#M46119</link>
    <description>&lt;P&gt;So this just nulls out that particular value in that particular column if it is less than 35% however I want the entire row to be removed.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2019 00:56:29 GMT</pubDate>
    <dc:creator>danelooman</dc:creator>
    <dc:date>2019-09-03T00:56:29Z</dc:date>
    <item>
      <title>Best practice for filtering on a calculated  expression</title>
      <link>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1618941#M46098</link>
      <description>&lt;P&gt;I have Dimension Style, Date, Sale$, Cost$. I am making a table with&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Style,&lt;/LI&gt;&lt;LI&gt;Sum(Sales$ set analysis based on date),&lt;/LI&gt;&lt;LI&gt;Sum(Cost$ set analysis based on date.),&lt;/LI&gt;&lt;LI&gt;GM%( Calculation based on previous two columns).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I would like to filter out everything that has less than 35% GM%. What is the best way to do that in the app without heading into the Data load or even the SQL script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Here is the actual GM% expression which returns a decimal:&lt;/P&gt;&lt;P&gt;&amp;nbsp;(1 -&lt;BR /&gt;(SUM({&amp;lt;[DateNum]={"&amp;gt;=$(=$(vToday)-7)"}&amp;gt;}[Net Sales Cost])&lt;BR /&gt;/&lt;BR /&gt;SUM({&amp;lt;[DateNum]={"&amp;gt;=$(=$(vToday)-7)"}&amp;gt;}[Net Sales Rtl])))&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 16:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1618941#M46098</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2019-08-30T16:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for filtering on a calculated  expression</title>
      <link>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619012#M46100</link>
      <description>&lt;P&gt;Perhaps this way?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Num(&amp;lt;GM% Formula&amp;gt;, '#,#0%')&amp;gt;=Num(35/100, '#0%'), &amp;lt;GM% Formula&amp;gt;)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2019 02:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619012#M46100</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-08-31T02:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for filtering on a calculated  expression</title>
      <link>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619371#M46119</link>
      <description>&lt;P&gt;So this just nulls out that particular value in that particular column if it is less than 35% however I want the entire row to be removed.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 00:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619371#M46119</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2019-09-03T00:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for filtering on a calculated  expression</title>
      <link>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619490#M46128</link>
      <description>&lt;P&gt;I guess the easiest way would be to modify sum(sales),sum(cost) and gm to return 0 if gm&amp;lt;35%, and use "hide zeroes" on the object properties.&lt;/P&gt;&lt;P&gt;Else, you would have to make GM a calculated dimension and use "include nulls", which is a bit of a headache.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 10:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619490#M46128</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2019-09-03T10:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for filtering on a calculated  expression</title>
      <link>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619724#M46139</link>
      <description>&lt;P&gt;That is what I ended up doing. It isn't ideal because irl I have like 10 expressions so that is killing my performance but it isn't bad.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619724#M46139</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2019-09-03T17:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for filtering on a calculated  expression</title>
      <link>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619820#M46148</link>
      <description>&lt;P&gt;If you have many expressions maybe it's better to make a calculated dimension instead. That way you don't have to do future expression alterations, too.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 06:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-practice-for-filtering-on-a-calculated-expression/m-p/1619820#M46148</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2019-09-04T06:07:05Z</dc:date>
    </item>
  </channel>
</rss>

