<?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 Selection in field problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319386#M117713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;Not sure it can be done… Your selection depends very much on the sort order of the list box and this is not the same as the sort order of the data. I would build the sort order into the search string, e.g. &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;='&amp;lt;='&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;LensKey&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="mso-bidi-font-family: Calibri; color: gray; font-size: 10pt; mso-bidi-theme-font: minor-latin;"&gt;$(vNoOfLenskey)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; line-height: 115%; color: #333333; font-size: 10pt; font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;and see how far I get with this approach.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 10:35:08 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2012-02-01T10:35:08Z</dc:date>
    <item>
      <title>Selection in field problem</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319385#M117712</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;Here i'm attaching my application along with description of problem. Can anyone help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 09:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319385#M117712</guid>
      <dc:creator />
      <dc:date>2012-01-31T09:21:41Z</dc:date>
    </item>
    <item>
      <title>Selection in field problem</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319386#M117713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;Not sure it can be done… Your selection depends very much on the sort order of the list box and this is not the same as the sort order of the data. I would build the sort order into the search string, e.g. &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;='&amp;lt;='&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;LensKey&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="mso-bidi-font-family: Calibri; color: gray; font-size: 10pt; mso-bidi-theme-font: minor-latin;"&gt;$(vNoOfLenskey)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; line-height: 115%; color: #333333; font-size: 10pt; font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;and see how far I get with this approach.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 10:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319386#M117713</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-02-01T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in field problem</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319387#M117714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd use something like the following (using different lines because I have not tested it). What the following does is take the string from the result of concatenating all possible values from field LensKey sorted numeric ascending (as in your listbox) to the nth time (value in vNoOfLenskey).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P class="p1"&gt;=&lt;SPAN class="s1"&gt;'('&lt;/SPAN&gt; &amp;amp; &lt;SPAN class="s2"&gt;Left&lt;/SPAN&gt;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="s2"&gt;Concat&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;LensKey&lt;/SPAN&gt;, &lt;SPAN class="s1"&gt;'|'&lt;/SPAN&gt;, &lt;SPAN class="s3"&gt;LensKey&lt;/SPAN&gt;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , &lt;SPAN class="s2"&gt;Index&lt;/SPAN&gt;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="s2"&gt;Concat&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;LensKey&lt;/SPAN&gt;, &lt;SPAN class="s1"&gt;'|'&lt;/SPAN&gt;, &lt;SPAN class="s3"&gt;LensKey&lt;/SPAN&gt;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , &lt;SPAN class="s1"&gt;'|'&lt;/SPAN&gt;, &lt;SPAN class="s4"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vNoOfLenskey)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;) -&lt;SPAN class="s1"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&amp;amp; &lt;SPAN class="s1"&gt;')' &lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 11:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319387#M117714</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-01T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Selection in field problem</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319388#M117715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Miguel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 12:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-field-problem/m-p/319388#M117715</guid>
      <dc:creator />
      <dc:date>2012-02-02T12:03:41Z</dc:date>
    </item>
  </channel>
</rss>

