<?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 Getfieldselections() order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getfieldselections-order/m-p/541012#M555967</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;can anybody explain to me how QlikView deals with the selection order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to build a qlikview tab with a listbox. This tab should contain 4 charts and some listbox. The user can make selections in the listboxes. &lt;/P&gt;&lt;P&gt;The charts calculate based on selections that are made in a certain listbox (Country). So when the user selects 4 countries, the charts should build up in the order the user has made his selections. &lt;/P&gt;&lt;P&gt;I can't get this order figured out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a variable that holds the following function&lt;/P&gt;&lt;P&gt;Trim(TextBetween(',' &amp;amp; GetFieldSelections($1) &amp;amp; ',', ',', ',', $2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call that variable in a set analsys formula, with the number of the selected item as a parameter&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Country={$(=$(GetFieldSelection(Country,1)))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i set the fields sort order to alphabetical it works, but like it said, if a call this function with the parameter 3 it should display the country i selected as third, but not the third country in alphabetical order....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 15:51:09 GMT</pubDate>
    <dc:creator>fheidenstecker</dc:creator>
    <dc:date>2013-07-30T15:51:09Z</dc:date>
    <item>
      <title>Getfieldselections() order</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselections-order/m-p/541012#M555967</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;can anybody explain to me how QlikView deals with the selection order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to build a qlikview tab with a listbox. This tab should contain 4 charts and some listbox. The user can make selections in the listboxes. &lt;/P&gt;&lt;P&gt;The charts calculate based on selections that are made in a certain listbox (Country). So when the user selects 4 countries, the charts should build up in the order the user has made his selections. &lt;/P&gt;&lt;P&gt;I can't get this order figured out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a variable that holds the following function&lt;/P&gt;&lt;P&gt;Trim(TextBetween(',' &amp;amp; GetFieldSelections($1) &amp;amp; ',', ',', ',', $2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call that variable in a set analsys formula, with the number of the selected item as a parameter&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Country={$(=$(GetFieldSelection(Country,1)))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i set the fields sort order to alphabetical it works, but like it said, if a call this function with the parameter 3 it should display the country i selected as third, but not the third country in alphabetical order....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 15:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselections-order/m-p/541012#M555967</guid>
      <dc:creator>fheidenstecker</dc:creator>
      <dc:date>2013-07-30T15:51:09Z</dc:date>
    </item>
  </channel>
</rss>

