<?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 Filter Based on Expression Results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-Based-on-Expression-Results/m-p/1022378#M522354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have expressions to rank companies based on the selected ratio and assign them to three categories of "G", "S" and "B".&lt;/P&gt;&lt;P&gt;I also want to grant user the possibility to filter the table by the categories I mentioned. (ex. only the "G" category or "S" and "G" categories.)&lt;/P&gt;&lt;P&gt;I have come across a discussion with almost the same topic that advised to calculate the categories in the script, but I couldn't go for it since my calculation depends on a ratio which the user must select.&lt;/P&gt;&lt;P&gt;I would appreciate any assistance about the subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample Qlikview. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 12:19:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-26T12:19:29Z</dc:date>
    <item>
      <title>Filter Based on Expression Results</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Based-on-Expression-Results/m-p/1022378#M522354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have expressions to rank companies based on the selected ratio and assign them to three categories of "G", "S" and "B".&lt;/P&gt;&lt;P&gt;I also want to grant user the possibility to filter the table by the categories I mentioned. (ex. only the "G" category or "S" and "G" categories.)&lt;/P&gt;&lt;P&gt;I have come across a discussion with almost the same topic that advised to calculate the categories in the script, but I couldn't go for it since my calculation depends on a ratio which the user must select.&lt;/P&gt;&lt;P&gt;I would appreciate any assistance about the subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample Qlikview. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 12:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Based-on-Expression-Results/m-p/1022378#M522354</guid>
      <dc:creator />
      <dc:date>2016-04-26T12:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Based on Expression Results</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Based-on-Expression-Results/m-p/1022379#M522355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try the attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a calculated expression to determine the S, B, G in the list box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(if(Only({1}Aggr(rank(Sum({1&amp;lt;Year={2015},Ratio={$(=SelectedRatio)}&amp;gt;}Value),4),Company))&amp;lt;2,'G',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Only({1}Aggr(rank(Sum({1&amp;lt;Year={2015},Ratio={$(=SelectedRatio)}&amp;gt;}Value),4),Company))&amp;lt;5,'S','B')), Company)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122775_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Based-on-Expression-Results/m-p/1022379#M522355</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-26T16:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Based on Expression Results</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Based-on-Expression-Results/m-p/1022380#M522356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.... that worked perfectly fine....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 06:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Based-on-Expression-Results/m-p/1022380#M522356</guid>
      <dc:creator />
      <dc:date>2016-04-27T06:49:06Z</dc:date>
    </item>
  </channel>
</rss>

