<?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 Rank Text Objects in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348133#M577936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashutosh, thank you for your reply. This is the first time for me to use "firstsortedvalue". I have tried it in my testing, but it seems not work successfully. I dont know what's the problem. Could you give me some examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2012 07:30:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-12T07:30:11Z</dc:date>
    <item>
      <title>Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348129#M577932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I meet a new question. I got a chart as attachment. It should create a bar chart which shows 5 years' sales value by Region. The bar chart can be created easily. However, I should create some Text Objects above the chart which display each region's name and should be ranked by Sales Value (as the chart's sort). The Year in chart is rolling back 5 years of your selection, so the rank of Text Objects always change with your choice. How can I create such kind of chart? Does anybody has some ideas? Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 05:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348129#M577932</guid>
      <dc:creator />
      <dc:date>2012-04-12T05:09:14Z</dc:date>
    </item>
    <item>
      <title>Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348130#M577933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can u provide ypur sample appn.Try using set analysis in text object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 05:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348130#M577933</guid>
      <dc:creator />
      <dc:date>2012-04-12T05:31:27Z</dc:date>
    </item>
    <item>
      <title>Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348131#M577934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi arun, thanks for your reply, but what's the "sample appn" you mean? I have no other material, just the chart format others giving. And I dont know how to use set analysis in text object to catch the Region Name. Maybe aggr() can help me to get regions' sales info, but just Max(aggr()) or Min(aggr()), what can I do for the second one, third one...? And I want to catch each region's ordering, how to achieve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 06:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348131#M577934</guid>
      <dc:creator />
      <dc:date>2012-04-12T06:02:49Z</dc:date>
    </item>
    <item>
      <title>Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348132#M577935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You can not change position of text objects but yes you can change the values in the text box and handle your scenario.&lt;/P&gt;&lt;P&gt;You can use &lt;/P&gt;&lt;P&gt;firstsortedvalue(region,aggr(sum(sales),region),n)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can change n, so if for 1st text box use 1, for second use 2 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 06:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348132#M577935</guid>
      <dc:creator />
      <dc:date>2012-04-12T06:08:32Z</dc:date>
    </item>
    <item>
      <title>Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348133#M577936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashutosh, thank you for your reply. This is the first time for me to use "firstsortedvalue". I have tried it in my testing, but it seems not work successfully. I dont know what's the problem. Could you give me some examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 07:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348133#M577936</guid>
      <dc:creator />
      <dc:date>2012-04-12T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348134#M577937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please find the attached application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 07:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348134#M577937</guid>
      <dc:creator />
      <dc:date>2012-04-12T07:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348135#M577938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashutosh, thank you for spending so much time to help me and I have learned a lot of new things from you, I appreciate it a lot. But I'm afriad i still cannot work out my problem. I share my test .qvw here hope anyone can give me some ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see, I dont need select any time in this file, it will show the sales info from max year rolling back to 2 years. ﻿ Generally, the rank is F&amp;gt;E&amp;gt;D&amp;gt;C&amp;gt;B&amp;gt;A. However, when I click Year 2009, the rank of Bar Chart become A&amp;gt;B&amp;gt;C&amp;gt;D&amp;gt;E&amp;gt;F. In this processing, I hope, Text Box could rank as Bar Chart automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my idea, I think I can do some overlapping Text Objects which record different region name and just have different Trigger Condition. If the trigger correspond with the needs(like" Does the region's sales belong to the First/Second...one?"), then it only should show Text Objcet which record the region name it is. I'm not clear can i and how can i do this trigger? Could some experts help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 08:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348135#M577938</guid>
      <dc:creator />
      <dc:date>2012-04-12T08:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348136#M577939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached application.&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 10:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348136#M577939</guid>
      <dc:creator />
      <dc:date>2012-04-12T10:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348137#M577940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the changes made&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 10:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348137#M577940</guid>
      <dc:creator />
      <dc:date>2012-04-12T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Rank Text Objects</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348138#M577941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Anitha&amp;amp;namit﻿, thanks a lot. That's what I want and help me solve this problem. I did a little bit modification about this function to make it more comply with my situation:&lt;/P&gt;&lt;P&gt;=FisrtSortedValue(F1,aggr(﻿sum({&amp;lt;[Year]={"&amp;gt;=$(=max(Year)-4)&amp;lt;$(=max(Year))"}&amp;gt;} Fact),F1), n)﻿&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, I still consider another question, though it'not necessary in my this issue:&lt;/P&gt;&lt;P&gt;If ﻿more than one vaule of expression share the same lowest sort-order, how can we catch the Dimension by character(A-&amp;gt;Z)? And if this situation appear more than one time, it will be more complex, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will consider the question later. Hope more experts can join it and find a solution.~~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 03:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Text-Objects/m-p/348138#M577941</guid>
      <dc:creator />
      <dc:date>2012-04-13T03:09:08Z</dc:date>
    </item>
  </channel>
</rss>

