<?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 Array position in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351677#M840611</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 have a problem and I don't know how to solve it with chart functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose that I have a field with this possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; John&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Michael&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rose&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Danny&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I could use &lt;STRONG&gt;concat( {&amp;lt;Name=&amp;gt;} distinct&amp;nbsp; [&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/SPAN&gt;] ,',') &lt;/STRONG&gt;to have the next value in a text field or function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;John,Michael,Rose,Danny&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I'm looking for a way to show the order of selected item over field &lt;STRONG&gt;Name&lt;/STRONG&gt; in that list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I select &lt;STRONG&gt;Jhon&lt;/STRONG&gt; I want see &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I select &lt;STRONG&gt;Rose&lt;/STRONG&gt; I want see &lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody knows how can I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Array position</title>
      <link>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351677#M840611</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 have a problem and I don't know how to solve it with chart functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose that I have a field with this possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; John&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Michael&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rose&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Danny&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I could use &lt;STRONG&gt;concat( {&amp;lt;Name=&amp;gt;} distinct&amp;nbsp; [&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/SPAN&gt;] ,',') &lt;/STRONG&gt;to have the next value in a text field or function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;John,Michael,Rose,Danny&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I'm looking for a way to show the order of selected item over field &lt;STRONG&gt;Name&lt;/STRONG&gt; in that list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I select &lt;STRONG&gt;Jhon&lt;/STRONG&gt; I want see &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I select &lt;STRONG&gt;Rose&lt;/STRONG&gt; I want see &lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody knows how can I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351677#M840611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Array position</title>
      <link>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351678#M840612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The match() function returns the number corresponding to a value in a list.&amp;nbsp; You would write the function something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=match(Name, $(=concat({&amp;lt;Name=&amp;gt;} distinct&amp;nbsp; chr(39) &amp;amp; [Name]&amp;nbsp; &amp;amp; chr(39), ',')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=match('Danny', $(=concat({&amp;lt;Name=&amp;gt;} distinct&amp;nbsp; chr(39) &amp;amp; [Name]&amp;nbsp; &amp;amp; chr(39), ',')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dollar sign expansion is needed around the concat() so that it just returns the list of values to search over.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351678#M840612</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2017-05-02T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Array position</title>
      <link>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351679#M840613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt, whether it will return correct number. I am assume, For Rose Match returns 4 not 3. I haven't check may be it will return 4 only.&lt;/P&gt;&lt;P&gt;Or May be Data island table will work for this case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 15:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351679#M840613</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-02T15:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Array position</title>
      <link>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351680#M840614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicole! It's fit for my solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 15:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Array-position/m-p/1351680#M840614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-02T15:32:02Z</dc:date>
    </item>
  </channel>
</rss>

