<?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 on an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-on-an-expression/m-p/217768#M70951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help please!!&lt;BR /&gt;I am using a variable as an expression to output a usage flag over the past 6 months to simply feedback into my straight table either 'Active Usage', '3Mths Nil Usage' or '6Mths Nil Usage'; all of which works hunky dory!&lt;BR /&gt;However, the 1st thing I was asked when demoing the app was can I please filter on 1 of the flags?&lt;BR /&gt;Having spent some time searching the forum &amp;amp; trying input boxes &amp;amp; even a slider by changing to '1', '3' &amp;amp; '6' I have reached something of an impasse &amp;amp; also a headache!&lt;BR /&gt;For info the variable is as per;&lt;BR /&gt;if(sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-1))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-2))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-3))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-4))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-5))}&amp;gt;}SessionGUID_Counter)=0,'6Mths Nil Usage',&lt;BR /&gt;if(sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-1))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-2))}&amp;gt;}SessionGUID_Counter)=0,'3Mths Nil Usage','Active Usage'))&lt;BR /&gt;&lt;BR /&gt;Can anyone help please?&lt;BR /&gt;Also, any ideas if/how I could make it a calculated dimension?&lt;/P&gt;&lt;P&gt;ps - I put forward the option of the search button from the 'Presentation tab &amp;amp; was roundly shouted down as for 1 it's a fairly ugly option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Dec 2010 18:15:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-08T18:15:50Z</dc:date>
    <item>
      <title>Filtering on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-an-expression/m-p/217768#M70951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help please!!&lt;BR /&gt;I am using a variable as an expression to output a usage flag over the past 6 months to simply feedback into my straight table either 'Active Usage', '3Mths Nil Usage' or '6Mths Nil Usage'; all of which works hunky dory!&lt;BR /&gt;However, the 1st thing I was asked when demoing the app was can I please filter on 1 of the flags?&lt;BR /&gt;Having spent some time searching the forum &amp;amp; trying input boxes &amp;amp; even a slider by changing to '1', '3' &amp;amp; '6' I have reached something of an impasse &amp;amp; also a headache!&lt;BR /&gt;For info the variable is as per;&lt;BR /&gt;if(sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-1))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-2))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-3))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-4))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-5))}&amp;gt;}SessionGUID_Counter)=0,'6Mths Nil Usage',&lt;BR /&gt;if(sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-1))}&amp;gt;}SessionGUID_Counter)&lt;BR /&gt;+sum({$&amp;lt;YearMonthCounter = {$(=Num#(Max(YearMonthCounter)-2))}&amp;gt;}SessionGUID_Counter)=0,'3Mths Nil Usage','Active Usage'))&lt;BR /&gt;&lt;BR /&gt;Can anyone help please?&lt;BR /&gt;Also, any ideas if/how I could make it a calculated dimension?&lt;/P&gt;&lt;P&gt;ps - I put forward the option of the search button from the 'Presentation tab &amp;amp; was roundly shouted down as for 1 it's a fairly ugly option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 18:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-an-expression/m-p/217768#M70951</guid>
      <dc:creator />
      <dc:date>2010-12-08T18:15:50Z</dc:date>
    </item>
  </channel>
</rss>

