<?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 Variables and data range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504164#M690810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to give the user the option to filter some rows according to non-defined constraints. Imagine you have 100 rows and 10 columns and you want to filter rows by giving a constraint to some columns. So in the table box I have the full table. I have to create as many list boxes as the filtering fields so that the user can write in the search something like &amp;gt;50&amp;lt;20. But this is not very user-friendly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried to do it with variables. I created an input box where you can write for instance min weight and max weight etc. In the variable event triggers I put in OnInput as a search string ='&amp;lt;'&amp;amp;[Max Weight] and for min the opposite. Is this the way to go or is there a better way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also encountered two problems. I cannot reset the variable values or delete with backspace. They keep the last value no matter what. I also had an issue when I have a single column (not two, a min.... and max....). If I create two triggers they don't work together to affect the column but only the last one is executed and the previous is erased. So I "solved" that by triggering a search &amp;gt;...AND &amp;lt;... but it will work only when you have given both variable values. I 'd rather keep the old trigger and the new would not replace the other but work on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 11:50:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-22T11:50:15Z</dc:date>
    <item>
      <title>Variables and data range</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504164#M690810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to give the user the option to filter some rows according to non-defined constraints. Imagine you have 100 rows and 10 columns and you want to filter rows by giving a constraint to some columns. So in the table box I have the full table. I have to create as many list boxes as the filtering fields so that the user can write in the search something like &amp;gt;50&amp;lt;20. But this is not very user-friendly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried to do it with variables. I created an input box where you can write for instance min weight and max weight etc. In the variable event triggers I put in OnInput as a search string ='&amp;lt;'&amp;amp;[Max Weight] and for min the opposite. Is this the way to go or is there a better way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also encountered two problems. I cannot reset the variable values or delete with backspace. They keep the last value no matter what. I also had an issue when I have a single column (not two, a min.... and max....). If I create two triggers they don't work together to affect the column but only the last one is executed and the previous is erased. So I "solved" that by triggering a search &amp;gt;...AND &amp;lt;... but it will work only when you have given both variable values. I 'd rather keep the old trigger and the new would not replace the other but work on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 11:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504164#M690810</guid>
      <dc:creator />
      <dc:date>2013-10-22T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and data range</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504165#M690811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am pasting a sample may this give you any idea.&lt;/P&gt;&lt;P&gt;---Input box filters the Table rows&lt;/P&gt;&lt;P&gt;---RESET clear the filter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 12:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504165#M690811</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-10-22T12:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and data range</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504166#M690812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I am currently using a personal edition until I see QV suits me for what I want. So I can't see any qvw files. How exactly do I reset the values in the input box as nulls (not the selections with clear)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 12:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504166#M690812</guid>
      <dc:creator />
      <dc:date>2013-10-22T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and data range</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504167#M690813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came up with a solution to reset the variables. You can use an Action "Set Variable" and give a NULL to the value. So you basically reset your variable (you can put a text or button "clear...."). This also solves the other problem because by assigning NULL you practically cancel any constraint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would still like to know how you "hold on" and apply multiple filters one upon the other. For instance first set a min weight, get 70/100 results and then set a max and get 50/100 etc. Now I get the same results but in both cases I use &amp;gt; and &amp;lt;, but NULL cancels one of them until it gets a value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 13:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-and-data-range/m-p/504167#M690813</guid>
      <dc:creator />
      <dc:date>2013-10-23T13:49:33Z</dc:date>
    </item>
  </channel>
</rss>

