<?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: Range of values in Input Box constraints in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Range-of-values-in-Input-Box-constraints/m-p/1357752#M416512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an expression for the Listed Values option: =Concat(ValueLoop($(vMinYear),$(vMaxYear)),',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 17:32:48 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2017-07-10T17:32:48Z</dc:date>
    <item>
      <title>Range of values in Input Box constraints</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-values-in-Input-Box-constraints/m-p/1357751#M416511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have an input box that is holding a year value (vYear). I want to be able to select the possible years in a drop-down, which I can do by going to the Constraints tab of the Input Box and checking the "Predefined Values Only", "Predefined Values in Drop-down", and "Listed Values" checkboxes. I can then set the Listed Values to my range of possible values, such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2008;2009;2010;2011;2012;2013;2014;2015;2016;2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, whenever I get updated data, I have to return to this constraint to update it. What I would like to do is be able to dynamically create this range of values by giving a min and max year and then have the range created for me. For instance, if my min year is 2008 and my max year is 2017, then it will create the string above. I already have the min and max values stored in separate variables (vMinYear and vMaxYear), so I just need a way to get this value. Is there an easy way in QlikView to calculate a range like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-values-in-Input-Box-constraints/m-p/1357751#M416511</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2017-07-10T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Range of values in Input Box constraints</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-values-in-Input-Box-constraints/m-p/1357752#M416512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an expression for the Listed Values option: =Concat(ValueLoop($(vMinYear),$(vMaxYear)),',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 17:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-values-in-Input-Box-constraints/m-p/1357752#M416512</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-07-10T17:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Range of values in Input Box constraints</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-values-in-Input-Box-constraints/m-p/1357753#M416513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! I didn't know about the ValueLoop function, but that is exactly what I needed. Thanks Gysbert!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 18:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-values-in-Input-Box-constraints/m-p/1357753#M416513</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2017-07-10T18:14:57Z</dc:date>
    </item>
  </channel>
</rss>

