<?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: Filter bar Chart on Value Ranges in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029971#M15794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select only one averageRage value and try this: count({&amp;lt;averageRate={'&amp;lt;$(=only(averageRate))'}&amp;gt;}averageRate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or create a slider object and add two variables, e.g. vLowerLimit and vUpperLimit, and use this expression: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;averageRate={'&amp;gt;=$(vLowerLimit)&amp;lt;=$(vUpperLimit)'}&amp;gt;}averageRate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You will probably want to use something like =min({1}averageRate) and =max({1}averageRate) as the minimum and maximum values for the slider.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Mar 2016 17:17:22 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-03-20T17:17:22Z</dc:date>
    <item>
      <title>Filter bar Chart on Value Ranges</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029968#M15791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm fairly new to qlik and I'm trying to do something that I think should be quite simple, but am having a bit of trouble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to filter bar chart values, using a range filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data I have is an average rate, the raw data has a range from 0 to about 1500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the bar chart to count(averageRate) grouped by product where the average rate is less than say 800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL would look something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(averageRate)&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableA&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AverageRate &amp;lt; 800&lt;/P&gt;&lt;P&gt;GROUP BY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I don't want to do this on the load script as I want to load all raw values, and have the user be able to select the range they are interested in looking at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried creating a "master dimension" that looks something like if([averageRate] &amp;lt; 800, [averageRate]), but then my filter shows all values that are below 800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought one way of doing this would be to add another table in my DW something like DIM_Range that has an ID link to my fact table, but it seems like this would be a lot of work to do something that Qlik should be able to do on it's own. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jesse&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029968#M15791</guid>
      <dc:creator />
      <dc:date>2024-11-16T10:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter bar Chart on Value Ranges</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029969#M15792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;averageRate={'&amp;lt;800'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;averageRate) as expression with product as dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 12:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029969#M15792</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-20T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter bar Chart on Value Ranges</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029970#M15793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion, this would work if I wanted to hard code the bar chart to only show values less than 800, but I need the bar chart to be dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the 800 value in your expression needs to be a variable, that is populated by a filter selection. Is there some way to do this? It really seems like this should be a very simple and common function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 16:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029970#M15793</guid>
      <dc:creator />
      <dc:date>2016-03-20T16:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter bar Chart on Value Ranges</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029971#M15794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select only one averageRage value and try this: count({&amp;lt;averageRate={'&amp;lt;$(=only(averageRate))'}&amp;gt;}averageRate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or create a slider object and add two variables, e.g. vLowerLimit and vUpperLimit, and use this expression: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;averageRate={'&amp;gt;=$(vLowerLimit)&amp;lt;=$(vUpperLimit)'}&amp;gt;}averageRate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You will probably want to use something like =min({1}averageRate) and =max({1}averageRate) as the minimum and maximum values for the slider.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 17:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-bar-Chart-on-Value-Ranges/m-p/1029971#M15794</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-20T17:17:22Z</dc:date>
    </item>
  </channel>
</rss>

