<?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 Picking values based on Rank in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405442#M150886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of data and I would like to be able to compare the current value with the previous value. I may need to compare back a few versions down the line also.&lt;/P&gt;&lt;P&gt;Please see the attached PDF for the way the data is structured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that I should combine the Update ID and Audit Update ID values and then use the Rank function to order them. The top ranking item will be the current value and the next ranking item with be the previous item.&amp;nbsp; I would like to display this within a straight table.&lt;/P&gt;&lt;P&gt;The ranking should be grouped by Action Item ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no experience using the Rank function and would appreciate any help that the community can provide in terms of how best to approach this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 18:00:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-04T18:00:15Z</dc:date>
    <item>
      <title>Picking values based on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405442#M150886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of data and I would like to be able to compare the current value with the previous value. I may need to compare back a few versions down the line also.&lt;/P&gt;&lt;P&gt;Please see the attached PDF for the way the data is structured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that I should combine the Update ID and Audit Update ID values and then use the Rank function to order them. The top ranking item will be the current value and the next ranking item with be the previous item.&amp;nbsp; I would like to display this within a straight table.&lt;/P&gt;&lt;P&gt;The ranking should be grouped by Action Item ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no experience using the Rank function and would appreciate any help that the community can provide in terms of how best to approach this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 18:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405442#M150886</guid>
      <dc:creator />
      <dc:date>2013-03-04T18:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Picking values based on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405443#M150887</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 fiend the attachment of application and let me know it is us efull or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SHAIK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 18:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405443#M150887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-04T18:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Picking values based on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405444#M150888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather than ranking based on percentage complete, I would like the results to be ranked based on Update ID + Audit Update ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression should do the trick. Would you mind explaining how it works esp the Aggr &amp;amp; Rank elements.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(num(rank([% complete],4)),[Audit Update ID]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 18:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405444#M150888</guid>
      <dc:creator />
      <dc:date>2013-03-04T18:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Picking values based on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405445#M150889</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;&amp;nbsp; aggr function like group function only,how we are applying group function is scripting ,same like in chart,&lt;/P&gt;&lt;P&gt;how it will be working is,it will be create table based on [Audit Update ID] and after rank function will be create rank for them based on [% complete] value.if any query let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SHAIK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 18:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405445#M150889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-04T18:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Picking values based on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405446#M150890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to return the correct Audit Update ID using the below expression:&lt;/P&gt;&lt;P&gt;aggr(num(max([Audit Update ID],2)),[Update ID],[Action Item ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I return the % Complete?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 17:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405446#M150890</guid>
      <dc:creator />
      <dc:date>2013-03-07T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Picking values based on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405447#M150891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone any ideas??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 09:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Picking-values-based-on-Rank/m-p/405447#M150891</guid>
      <dc:creator />
      <dc:date>2013-03-08T09:51:34Z</dc:date>
    </item>
  </channel>
</rss>

