<?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 Filtering a table based on a calculated field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256751#M1188685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 753px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="100"&gt;&lt;STRONG&gt;Engineer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="334"&gt;&lt;STRONG&gt;Subject&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="80"&gt;&lt;STRONG&gt;Created&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="45"&gt;&lt;STRONG&gt;Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;Document explaining how to &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;18/04/2011&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;report on &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;27/07/2011&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;Status Refresh &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;07/06/2011&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Days" column is a calculated field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a new input box on the Sheet and assign the value entered to the variable $DaysSinceLastUpdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to filter the rows displayed in the table so that only the rows with a value in the "Days" column that matches the value in the variable $DaysSinceLastUpdate are displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I entered "4" in my input box the only row displayed in the table would be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 753px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="100"&gt;&lt;STRONG&gt;Engineer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="334"&gt;&lt;STRONG&gt;Subject&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="80"&gt;&lt;STRONG&gt;Created&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="45"&gt;&lt;STRONG&gt;Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;report on &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;27/07/2011&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 13:53:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-08T13:53:41Z</dc:date>
    <item>
      <title>Filtering a table based on a calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256751#M1188685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 753px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="100"&gt;&lt;STRONG&gt;Engineer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="334"&gt;&lt;STRONG&gt;Subject&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="80"&gt;&lt;STRONG&gt;Created&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="45"&gt;&lt;STRONG&gt;Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;Document explaining how to &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;18/04/2011&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;report on &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;27/07/2011&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;Status Refresh &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;07/06/2011&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Days" column is a calculated field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a new input box on the Sheet and assign the value entered to the variable $DaysSinceLastUpdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to filter the rows displayed in the table so that only the rows with a value in the "Days" column that matches the value in the variable $DaysSinceLastUpdate are displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I entered "4" in my input box the only row displayed in the table would be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 753px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="100"&gt;&lt;STRONG&gt;Engineer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="334"&gt;&lt;STRONG&gt;Subject&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="80"&gt;&lt;STRONG&gt;Created&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="45"&gt;&lt;STRONG&gt;Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Engineer Name&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;report on &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;27/07/2011&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 13:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256751#M1188685</guid>
      <dc:creator />
      <dc:date>2011-08-08T13:53:41Z</dc:date>
    </item>
    <item>
      <title>Filtering a table based on a calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256752#M1188686</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;Maybe you can use Set Analysis in&amp;nbsp; your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{$&amp;lt;Days={$(DaysSinceLastUpdate)}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 14:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256752#M1188686</guid>
      <dc:creator>villafuerte</dc:creator>
      <dc:date>2011-08-08T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a table based on a calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256753#M1188687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached file for an example of set analysis, like Villafuerte said. Only, I'm doing =sum(...) instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siarhei K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 18:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256753#M1188687</guid>
      <dc:creator />
      <dc:date>2011-08-08T18:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a table based on a calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256754#M1188688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the template but I'm using the personal edition also and I'm worried if I import any more qvw files that I won't be able to use it any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't use set analysis before...I'll pay around with this a bit more and see if I can get it to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 09:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256754#M1188688</guid>
      <dc:creator />
      <dc:date>2011-08-09T09:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a table based on a calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256755#M1188689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the template but I'm using the personal edition also and I'm worried if I import any more qvw files that I won't be able to use it any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't use set analysis before...I'll pay around with this a bit more and see if I can get it to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 09:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256755#M1188689</guid>
      <dc:creator />
      <dc:date>2011-08-09T09:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a table based on a calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256756#M1188690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the expression for a table that I think would do what you need:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Days={'$(DaysSinceLastUpdate)'}&amp;gt;} Days)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 13:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-table-based-on-a-calculated-field/m-p/256756#M1188690</guid>
      <dc:creator />
      <dc:date>2011-08-09T13:06:39Z</dc:date>
    </item>
  </channel>
</rss>

