<?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: Lixt Box with Ranges of Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074022#M358476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but isn't that a lot of overhead? And like I said, I already have this working with buttons. Imagine a listbox which is based on &lt;STRONG&gt;NumberOfMonthsSinceLastIncident&lt;/STRONG&gt;. It has integer values from 0 to around 48, then 999. Clicking the &lt;STRONG&gt;Show ONLY People with Incidents in Last 3 Months &lt;/STRONG&gt;button, for example, selects 0, 1, and 2 in the listbox, and the main data table adjusts accordingly. This is accomplished using an action on &lt;STRONG&gt;NumberOfMonthsSinceLastIncident &lt;/STRONG&gt;and the search string &amp;lt;3. I simply want to move these actions to a listbox as described in my first post (listbox would necessarily have "Always One Selected Value" checked).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 17:06:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-19T17:06:55Z</dc:date>
    <item>
      <title>Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074019#M358473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given a data table of people that includes, for each person record, a numeric value called &lt;STRONG&gt;NumberOfMonthsSinceLastIncident&lt;/STRONG&gt;, I want a list box with these filter values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show People with NO Incidents in Last 3 Months&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show People with NO Incidents in Last 6 Months, &lt;/STRONG&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show ONLY People with Incidents in Last 3 Months&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show ONLY People with Incidents in Last 6 Months, &lt;/STRONG&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show ALL People&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this working with buttons and actions. I have an action behind each button on the field &lt;STRONG&gt;NumberOfMonthsSinceLastIncident&lt;/STRONG&gt; with Search Strings &amp;gt;3, &amp;lt;=3, &amp;gt;6, &amp;lt;=6, etc. "Show ALL People" has a search string of ''. But we want to move this to a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;999 is the default for people with no incidents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How might I accomplish this? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074019#M358473</guid>
      <dc:creator />
      <dc:date>2016-02-19T16:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074020#M358474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are few ways to do this. One is to create an inline table with the options you have and then drive your expression using if or pick match. There are other ways to do this as well. May be it would be easier to help if you can share a sample with us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074020#M358474</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-19T16:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074021#M358475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since a Person can belong to multiple classes, you need to create multiple records per person something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Person,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'ALL' AS CLASS&lt;/P&gt;&lt;P&gt;RESIDENT YourPersonTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Person,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;STRONG&gt;Show ONLY People with Incidents in Last 3 Months&lt;/STRONG&gt;' AS CLASS&lt;/P&gt;&lt;P&gt;RESIDENT YourPersonTable&lt;/P&gt;&lt;P&gt;WHERE &lt;STRONG&gt;NumberOfMonthsSinceLastIncident &amp;lt;=3;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Person,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;STRONG&gt;Show ONLY People with Incidents in Last 6 Months&lt;/STRONG&gt;' AS CLASS&lt;/P&gt;&lt;P&gt;RESIDENT YourPersonTable&lt;/P&gt;&lt;P&gt;WHERE &lt;STRONG&gt;NumberOfMonthsSinceLastIncident &amp;lt;=6;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;etc.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This table links to YourPersonTable via Person, and creates a new CLASS field for your selections.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074021#M358475</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-19T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074022#M358476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but isn't that a lot of overhead? And like I said, I already have this working with buttons. Imagine a listbox which is based on &lt;STRONG&gt;NumberOfMonthsSinceLastIncident&lt;/STRONG&gt;. It has integer values from 0 to around 48, then 999. Clicking the &lt;STRONG&gt;Show ONLY People with Incidents in Last 3 Months &lt;/STRONG&gt;button, for example, selects 0, 1, and 2 in the listbox, and the main data table adjusts accordingly. This is accomplished using an action on &lt;STRONG&gt;NumberOfMonthsSinceLastIncident &lt;/STRONG&gt;and the search string &amp;lt;3. I simply want to move these actions to a listbox as described in my first post (listbox would necessarily have "Always One Selected Value" checked).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 17:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074022#M358476</guid>
      <dc:creator />
      <dc:date>2016-02-19T17:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074023#M358477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I misunderstood you request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I suggested would create a new field for your classification, with all the benefits that adding a field to your data model shows: associative experience, able to select / filter values in list boxes as well as using this new field as dimension in charts etc. But probably not what you have been asked for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to replace your buttons with a list box, a data island with just the values you want to show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *, RecNo() as ClassID INLINE [&lt;/P&gt;&lt;P&gt;Class&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show People with NO Incidents in Last 3 Months&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show People with NO Incidents in Last 6 Months&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show ONLY People with Incidents in Last 3 Months&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show ONLY People with Incidents in Last 6 Months&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Show ALL People&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should do.&lt;/P&gt;&lt;P&gt;Create an OnSelect Field event trigger&amp;nbsp; in Settings - Document properties - Triggers on field Class.&lt;/P&gt;&lt;P&gt;Then use a Selection - Select in field action, field name&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NumberOfMonthsSinceLastIncident &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;and as search string:&lt;/P&gt;&lt;P&gt;=pick( ClassID, '&amp;gt;3','&amp;gt;6','&amp;lt;=3', '&amp;lt;=6','*')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be just a replacement for your current approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 18:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074023#M358477</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-19T18:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074024#M358478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I proposed as well, without an example &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 18:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074024#M358478</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-19T18:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074025#M358479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thank you, but isn't that a lot of overhead?"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Stefan's data island method works, but I would suggest that you will have less overhead by linking something into the model as opposed to a data island. You have to open script anyways to create the island table, Why not create a table linked into the model? I would link to the NumberOfMonthsSinceLastIncident field rather than the Person field. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;See this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN&gt;Qlikview Cookbook: Date Grouping &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/recipes/download-info/date-grouping/" rel="nofollow"&gt;http://qlikviewcookbook.com/recipes/download-info/date-grouping/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;for an example of flexible classification of dates or numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In my opinion, data islands and triggers should be a last resort. Creating dimensions properly linked into the model is almost always the best way. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 19:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074025#M358479</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-02-19T19:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074026#M358480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, you're right of course, using the &lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;NumberOfMonthsSinceLastIncident to link the tables would be probably better (unless you have only as many persons as distinct &lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;NumberOfMonthsSinceLastIncident values&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;We can also use a distinct load to remove duplicates. Given that there are just about 50 distinct &lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;NumberOfMonthsSinceLastIncident values, the table would be quite small.&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;Brian, it's of course up to you which approach you want to follow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;Using a list box like described could be a bit confusing, because it will show a selection (like 'ALL'), even when the user has changed the selection in the field &lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;NumberOfMonthsSinceLastIncident inbetween. Thus the information shown may be outdated (and list boxes are commonly looked at as representing a linked field in your data model).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 19:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074026#M358480</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-19T19:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lixt Box with Ranges of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074027#M358481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both. This gives me some ideas. I should clarify that the &lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;NumberOfMonthsSinceLastIncident &lt;/SPAN&gt;field wouldn't be its own listbox. The users would only select by means of the ranges. It would be confusing to have both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 20:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lixt-Box-with-Ranges-of-Values/m-p/1074027#M358481</guid>
      <dc:creator />
      <dc:date>2016-02-19T20:24:45Z</dc:date>
    </item>
  </channel>
</rss>

