<?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: Predefined number series (dropdown) with dynamic max value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610886#M225479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the Number Series, check 'Listed Values' and create your own series using an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat(ValueLoop(1,100,1),';',ValueLoop(1,100,1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a variable as upper limit (i.e. replace 100 wiht e.g. $(vUpperLimit).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 18:16:33 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-03-06T18:16:33Z</dc:date>
    <item>
      <title>Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610884#M225477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an input box which provided the user with a drop down with a number series, currently hard-coded 1-12 in the variable settings. I want to be able to change the max value based on another variable/field.&amp;nbsp; &lt;/P&gt;&lt;P&gt;- I am unable to enter an expression in the "To" field.&lt;/P&gt;&lt;P&gt;- I am also unable to set huge max ie: 1-1000 and then filter which values are visible based on another variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PredefinedDropdown.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54433_PredefinedDropdown.jpg" style="width: 620px; height: 539px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 18:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610884#M225477</guid>
      <dc:creator />
      <dc:date>2014-03-06T18:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610885#M225478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tkink you can only use expressions in Custom and Error Message because there are the ... (dots)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from online help&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-left: auto; margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;Custom&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Input values will be checked against a user specified constraint. The constraint is entered in the edit box and must be expressed as a QlikView expression returning TRUE (non-zero value) if the input value is acceptable. The input value is referenced as a dollar sign ($) in the expression. &lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;$&amp;gt;0&lt;/SPAN&gt; will cause the input box to accept only positive numbers in the selected variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;The previous value of the variable can be referenced by the variable name. &lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;$&amp;gt;=abc+1&lt;/SPAN&gt; as a constraint on a variable named abc will cause the input box to accept only numeric entries with a value of the old value plus 1. &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 18:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610885#M225478</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-06T18:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610886#M225479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the Number Series, check 'Listed Values' and create your own series using an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat(ValueLoop(1,100,1),';',ValueLoop(1,100,1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a variable as upper limit (i.e. replace 100 wiht e.g. $(vUpperLimit).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 18:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610886#M225479</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-06T18:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610887#M225480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is interesting!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just curious but using the expression in swuehl's post, the input box displays one row - 1;2;3;4;5;6; and so on up to 100. it does not allow to input a single number within 1-100. also, there is no drop down of each number to 100 even if predefined values is selected in drop-down option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am i missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 18:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610887#M225480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-06T18:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610888#M225481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is VERY close, but for some reason it is displaying the range on one line instead of as distinct values to be selected individually. Two screen shots below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First is when I have &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=concat(ValueLoop(1,100,1),';',ValueLoop(1,100,1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Second is when I just list "1;2"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PredefinedDropdownUsingConcat.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54452_PredefinedDropdownUsingConcat.jpg" /&gt;&lt;/P&gt;&lt;P&gt;How can I make it so the concat doesn't result in single sting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 18:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610888#M225481</guid>
      <dc:creator />
      <dc:date>2014-03-06T18:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610889#M225482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exactly what i was referring to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a very less cool way of doing it is may be the following. of course, more the number of options you have, less efficient/more cumbersome this will become!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you only have a couple of options for max, then may be create two variables with their respective max values the way you created it to begin with and have two separate input boxes at the same coordinates on top of each other. use conditional show/hide based on selected option on the input boxes. in other charts, you will have to account for the selection and corresponding variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like i said, this may be your very last resort!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: or you could do this with inline tables and using fields instead of variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 18:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610889#M225482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-06T18:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610890#M225483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why this don't work for you, seems to work for me (see attached sample with Variable1 as dropdown, range upper limit determined by Variable2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 18:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610890#M225483</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-06T18:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610891#M225484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its working as you mentioned in your file when i opened it, but even when i tried to copy the expression and put it in an input box i created it did not work.All the data was in one line.&lt;/P&gt;&lt;P&gt;This is interesting....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610891#M225484</guid>
      <dc:creator />
      <dc:date>2014-03-06T19:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610892#M225485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same results for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610892#M225485</guid>
      <dc:creator />
      <dc:date>2014-03-06T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610893#M225486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you repost your sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610893#M225486</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-06T19:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610894#M225487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a simple test app which should be identical to yours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610894#M225487</guid>
      <dc:creator />
      <dc:date>2014-03-06T19:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610895#M225488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/149373"&gt;Jessica Ben&lt;/A&gt; You need to change your list separator to "," instead of ";".&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt; is in Europe so his list separator is ;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find out what the ListSep is on your machine by looking at Help, Document Support Info from the QV menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify why swuehl's example worked when downloaded but not copied. The Document ListSep is set from the Sys (machine value). So the example document provided set the Document ListSep to ; (semicolon). But when the expression was copied to a new North America document, it expected the Sys default of , (comma)&lt;/P&gt;&lt;P&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/"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610895#M225488</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-06T19:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610896#M225489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WONDERFUL!!! That does it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610896#M225489</guid>
      <dc:creator />
      <dc:date>2014-03-06T19:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610897#M225490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Rob,&lt;/P&gt;&lt;P&gt;Quick question though. &lt;/P&gt;&lt;P&gt;If Listsep = "," for both Sys and Doc, then how come when you use 1;2;3 it works fine? I am little confused. Whats the difference between this and the one in the expression. why use ; in one place and , in another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also can you change Listsep?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 20:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610897#M225490</guid>
      <dc:creator />
      <dc:date>2014-03-06T20:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610898#M225491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ajay,&lt;/P&gt;&lt;P&gt;It's true that when you hard code the list, you use semicolon as the sep per the doc. When generating the list, you must use the sep that matches the Doc ListSep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That difference has been a mystery to me for some time. My guess is a different parser is being used for the literal expression string vs the generated string. That's a fancy way of saying "I don't know".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread is where I first heard about the issue from &lt;A href="https://community.qlik.com/qlik-users/17633"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/143350"&gt;Input Box and Concat&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know of a way to neutralize the problem when coding the dynamic list. While you can get the Sys ListSep with the expression:&lt;/P&gt;&lt;P&gt;=getregistrystring('HKEY_CURRENT_USER\Control Panel\International','sList')&lt;/P&gt;&lt;P&gt;I don't know of any way to get the Doc ListSep. The good news is that once Doc ListSep is set, it doesn't change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change ListSep via Window Control Panel, Regional Settings. But that may have some side effects.&lt;/P&gt;&lt;P&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/"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 00:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610898#M225491</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-07T00:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined number series (dropdown) with dynamic max value</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610899#M225492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for taking the time to explain Rob. Learnt something new today &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 01:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-number-series-dropdown-with-dynamic-max-value/m-p/610899#M225492</guid>
      <dc:creator />
      <dc:date>2014-03-07T01:27:57Z</dc:date>
    </item>
  </channel>
</rss>

