<?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 dropdown input box for variable does not work in the expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dropdown-input-box-for-variable-does-not-work-in-the-expression/m-p/1273406#M400271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;?Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use an expression in an inputbox to define the list of possible values for a variable (= vSeizoenArtikel) like this:&lt;/P&gt;&lt;P&gt;=(concat( DISTINCT&amp;nbsp; ProductCollectionCode , ','))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i do it like that, then i get 1 long string instead of a dropdown.&lt;/P&gt;&lt;P&gt;Now i found here that i needed to replace the comma with a semicolon like this: =(concat( DISTINCT&amp;nbsp; ProductCollectionCode , ';'))&lt;/P&gt;&lt;P&gt;And then i do get a dropdown to choose my variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to use the variable in an an expression:&amp;nbsp; Count ( { &amp;lt;[ProductCollectionCode]={$(vSeizoenArtikel)}&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SkuCode)&lt;/P&gt;&lt;P&gt;Then the expression does not work and i get this error displayed in the graph:&lt;/P&gt;&lt;P&gt;"Error in set modifier ad hoc element list: ',' or ')' expected"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems i'm stuck: if i use a comma then it gives me 1 string and not seperate values, and if i use a semicolon it expects a comma.&lt;/P&gt;&lt;P&gt;And i know that the expression in the graph is ok, because if i type in&amp;nbsp; manually one of the possible values like this: 'Summer 2017'&lt;/P&gt;&lt;P&gt;Then the graph works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have a clue how i might fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2017 21:49:33 GMT</pubDate>
    <dc:creator>chriscools</dc:creator>
    <dc:date>2017-01-04T21:49:33Z</dc:date>
    <item>
      <title>dropdown input box for variable does not work in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/dropdown-input-box-for-variable-does-not-work-in-the-expression/m-p/1273406#M400271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;?Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use an expression in an inputbox to define the list of possible values for a variable (= vSeizoenArtikel) like this:&lt;/P&gt;&lt;P&gt;=(concat( DISTINCT&amp;nbsp; ProductCollectionCode , ','))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i do it like that, then i get 1 long string instead of a dropdown.&lt;/P&gt;&lt;P&gt;Now i found here that i needed to replace the comma with a semicolon like this: =(concat( DISTINCT&amp;nbsp; ProductCollectionCode , ';'))&lt;/P&gt;&lt;P&gt;And then i do get a dropdown to choose my variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to use the variable in an an expression:&amp;nbsp; Count ( { &amp;lt;[ProductCollectionCode]={$(vSeizoenArtikel)}&amp;nbsp; &amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SkuCode)&lt;/P&gt;&lt;P&gt;Then the expression does not work and i get this error displayed in the graph:&lt;/P&gt;&lt;P&gt;"Error in set modifier ad hoc element list: ',' or ')' expected"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems i'm stuck: if i use a comma then it gives me 1 string and not seperate values, and if i use a semicolon it expects a comma.&lt;/P&gt;&lt;P&gt;And i know that the expression in the graph is ok, because if i type in&amp;nbsp; manually one of the possible values like this: 'Summer 2017'&lt;/P&gt;&lt;P&gt;Then the graph works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have a clue how i might fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 21:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dropdown-input-box-for-variable-does-not-work-in-the-expression/m-p/1273406#M400271</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2017-01-04T21:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown input box for variable does not work in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/dropdown-input-box-for-variable-does-not-work-in-the-expression/m-p/1273407#M400272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&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;STRONG&gt;Count({&amp;lt;[ProductCollectionCode] = {&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;$(&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;=&lt;/SPAN&gt;vSeizoenArtikel)&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;}&amp;gt;} SkuCode)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: Also added the single quotes around the dollar sign expansion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dropdown-input-box-for-variable-does-not-work-in-the-expression/m-p/1273407#M400272</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-04T22:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown input box for variable does not work in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/dropdown-input-box-for-variable-does-not-work-in-the-expression/m-p/1273408#M400273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super, thanx!&lt;/P&gt;&lt;P&gt;Appareantly only the single quotes were ok! it works with and without the equal sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No i can go to sleep in peace! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dropdown-input-box-for-variable-does-not-work-in-the-expression/m-p/1273408#M400273</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2017-01-04T22:17:42Z</dc:date>
    </item>
  </channel>
</rss>

