<?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 Help selecting data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-selecting-data/m-p/324485#M1179573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help on the best way of selecting data. We are currently showing houses by price but would like to be able to select certain ranges E.g. 0-100k, 101-150k etc. What would be the best way to go about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried putting together a slider (using Discrete values seems to select a range) but the data in the graph it is selecting doesn't seem to be correct and in the 'Current Selections' box it only says 'House price' values '60 of 100' which isn't very useful for a user rather than saying the range they have selected. This may not be the best way so i'm definitely open to suggestions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2012 09:54:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-28T09:54:59Z</dc:date>
    <item>
      <title>Help selecting data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-selecting-data/m-p/324485#M1179573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help on the best way of selecting data. We are currently showing houses by price but would like to be able to select certain ranges E.g. 0-100k, 101-150k etc. What would be the best way to go about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried putting together a slider (using Discrete values seems to select a range) but the data in the graph it is selecting doesn't seem to be correct and in the 'Current Selections' box it only says 'House price' values '60 of 100' which isn't very useful for a user rather than saying the range they have selected. This may not be the best way so i'm definitely open to suggestions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 09:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-selecting-data/m-p/324485#M1179573</guid>
      <dc:creator />
      <dc:date>2012-02-28T09:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help selecting data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-selecting-data/m-p/324486#M1179574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Louise,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your data model, assuming you don't have already the classification in your script, you can create two variables and use them in the slider object, say vRangeFrom and vRangeTo. Then use both values in the expressions of the charts, so for example, in a new pivot table with PropertyID as dimension, and the following as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sum({&amp;lt; Price = {'&amp;gt;=$(vRangeFrom)&amp;lt;=$(vRangeTo)'} &amp;gt;} Price)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will show all those PropertyID value where the price is in the given range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another (likely faster) option is to create the field in the script, using a conditional:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Properties:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Price &amp;lt; 150000, '&amp;lt;150K', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Price &amp;lt; 250000, '&amp;lt;250K',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;gt;250K')) AS PriceClassification&lt;/P&gt;&lt;P&gt;FROM File.qvd (qvd);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 10:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-selecting-data/m-p/324486#M1179574</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-28T10:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help selecting data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-selecting-data/m-p/324487#M1179575</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;Try the attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; Instead of my IF statement in the dimension, Miguel's set analysis would probably be more efficient&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Sum({&amp;lt; Price = {'&amp;gt;=$(vRangeFrom)&amp;lt;=$(vRangeTo)'} &amp;gt;} Price)&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jason Michaelides&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 10:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-selecting-data/m-p/324487#M1179575</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-02-28T10:26:22Z</dc:date>
    </item>
  </channel>
</rss>

