<?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: Filtering on a range in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-range/m-p/1600932#M44457</link>
    <description>&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;See this example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table:
Load * Inline [
Value
1
2
3
4
5
6
7
8
9
10
11
12
];

FinalTable:
Load
  Value,
  IF(Value &amp;gt;= 0 and Value &amp;lt;= 3, '0-3',
    IF(Value &amp;gt;= 4 and Value &amp;lt;= 10, '4-10',
       IF(Value &amp;gt;= 11, '11+','&amp;lt;0'))) as Category
Resident Table;

Drop table Table;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jordy&lt;/P&gt;&lt;P&gt;Climber&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 13:31:55 GMT</pubDate>
    <dc:creator>JordyWegman</dc:creator>
    <dc:date>2019-07-10T13:31:55Z</dc:date>
    <item>
      <title>Filtering on a range</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-range/m-p/1600757#M44433</link>
      <description>&lt;P&gt;Question about filters:&lt;/P&gt;&lt;P&gt;Can you create a filter that will filter on the data based upon a measurement falling in a range ?&lt;/P&gt;&lt;P&gt;That is - say you want to have a filter for the value amount - the filter would have the following to select from :&lt;/P&gt;&lt;P&gt;&amp;nbsp;Under 2&lt;/P&gt;&lt;P&gt;2+ - 3&lt;/P&gt;&lt;P&gt;3+ to 5&lt;/P&gt;&lt;P&gt;5+ to 10&lt;/P&gt;&lt;P&gt;Over 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and if the user selects 2+ - 3 , the sheet will filter and only show results were the Amount measure is between 2 and 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thoughts ? Jerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-range/m-p/1600757#M44433</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2024-11-16T05:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a range</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-range/m-p/1600863#M44443</link>
      <description>&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;Normally I would create the measure/calculation in the loadscript. Then it becomes a dimension you can filter on.&lt;/P&gt;&lt;P&gt;If your calculation is a dimension, then you can use ranges in the filter on tables. If you want to have a filterpane instead, then I would create that in the loadscript as well. You can do that by using if() statements.&lt;/P&gt;&lt;P&gt;I hope that helps.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 11:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-range/m-p/1600863#M44443</guid>
      <dc:creator>vaisgaard</dc:creator>
      <dc:date>2019-07-10T11:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a range</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-range/m-p/1600932#M44457</link>
      <description>&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;See this example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table:
Load * Inline [
Value
1
2
3
4
5
6
7
8
9
10
11
12
];

FinalTable:
Load
  Value,
  IF(Value &amp;gt;= 0 and Value &amp;lt;= 3, '0-3',
    IF(Value &amp;gt;= 4 and Value &amp;lt;= 10, '4-10',
       IF(Value &amp;gt;= 11, '11+','&amp;lt;0'))) as Category
Resident Table;

Drop table Table;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jordy&lt;/P&gt;&lt;P&gt;Climber&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-range/m-p/1600932#M44457</guid>
      <dc:creator>JordyWegman</dc:creator>
      <dc:date>2019-07-10T13:31:55Z</dc:date>
    </item>
  </channel>
</rss>

