<?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: Alphabetical field index in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415384#M814859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Name &amp;amp;' - '&amp;amp;(FieldValueCount('Name') - Rank(Only({&amp;lt;Name&amp;gt;} Name)) + 1)&amp;amp;'/'&amp;amp;FieldValueCount('Name'), Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176591_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 13:00:35 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-09-14T13:00:35Z</dc:date>
    <item>
      <title>Alphabetical field index</title>
      <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415379#M814854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field in my script called 'Name' with following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot change the load order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then have a report with a separate section for each name. In my title, I am using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Name &amp;amp;' - '&amp;amp;FieldIndex('Name', Name)&amp;amp;'/'&amp;amp;FieldValueCount('Name')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, whilst my report loops through 'Name' alphabetically (which is what I want), the field index is based on sort order, so I get the following titles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron - 3/5&lt;/P&gt;&lt;P&gt;Benjamin - 5/5&lt;/P&gt;&lt;P&gt;John - 1/5&lt;/P&gt;&lt;P&gt;Mark - 2/5&lt;/P&gt;&lt;P&gt;Tomas - 4/5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Aaron - 1/5&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Benjamin - 2/5&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;John - 3/5&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Mark - 4/5&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tomas - 5/5&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Any ideas? Needs to be totally dynamic as I will never know what the names are, nor how many different names there will be.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks,&lt;BR /&gt;Jess&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/Alphabetical-field-index/m-p/1415379#M814854</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alphabetical field index</title>
      <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415380#M814855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you try using Rank(Name)? Does that solve your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 11:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415380#M814855</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T11:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alphabetical field index</title>
      <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415381#M814856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rank seems to be going the opposite&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 11:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415381#M814856</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Alphabetical field index</title>
      <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415382#M814857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Name &amp;amp;' - '&amp;amp;(FieldValueCount('Name') - Rank(Name) + 1)&amp;amp;'/'&amp;amp;FieldValueCount('Name')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176561_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 11:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415382#M814857</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T11:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alphabetical field index</title>
      <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415383#M814858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. Unfortunately, it doesn't work outside of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see the attached, I've added a text box with your expression. When I select any name in the list box, it always gives me 5/5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 12:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415383#M814858</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-09-14T12:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alphabetical field index</title>
      <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415384#M814859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Name &amp;amp;' - '&amp;amp;(FieldValueCount('Name') - Rank(Only({&amp;lt;Name&amp;gt;} Name)) + 1)&amp;amp;'/'&amp;amp;FieldValueCount('Name'), Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176591_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 13:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415384#M814859</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alphabetical field index</title>
      <link>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415385#M814860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thank you so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 13:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alphabetical-field-index/m-p/1415385#M814860</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-09-14T13:02:46Z</dc:date>
    </item>
  </channel>
</rss>

