<?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 Question related to RANK function in a line graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-related-to-RANK-function-in-a-line-graph/m-p/800162#M282440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is the data that I have loaded onto my QLikView dashboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year, Unit, Client, Premium&lt;BR /&gt;2013, U1, C1, 1000&lt;BR /&gt;2013, U2, C2, 800&lt;BR /&gt;2013, U3, C3, 600&lt;BR /&gt;2013, U1, C3, 1100&lt;BR /&gt;2013, U2, C1, 700&lt;BR /&gt;2013, U3, C2, 500&lt;BR /&gt;2014, U1, C1, 400&lt;BR /&gt;2014, U2, C2, 300&lt;BR /&gt;2014, U3, C3, 250&lt;BR /&gt;2014, U1, C3, 1300&lt;BR /&gt;2014, U2, C1, 1200&lt;BR /&gt;2014, U3, C2, 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Using the above data,&amp;nbsp; I need to create a RANK for each client with in the YEAR and UNIT based on the premium. Once the rankings are created, I need to select a client to show a line graph which shows me to rank movement for that client across years (I need to show one line per unit). This way I can analyse how the client rank is behaving across different units in multiple years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Attached QVW has the data and also explains the problem that I am facing. Note selection of a client is mandatory to show the line graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I would prefer to have the solution to be acieved by means of having this done in a line chart but if we need to make any script changes, I would consider that to be last option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Thanks in avance for all your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Murali&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 11:03:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-16T11:03:49Z</dc:date>
    <item>
      <title>Question related to RANK function in a line graph</title>
      <link>https://community.qlik.com/t5/QlikView/Question-related-to-RANK-function-in-a-line-graph/m-p/800162#M282440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is the data that I have loaded onto my QLikView dashboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year, Unit, Client, Premium&lt;BR /&gt;2013, U1, C1, 1000&lt;BR /&gt;2013, U2, C2, 800&lt;BR /&gt;2013, U3, C3, 600&lt;BR /&gt;2013, U1, C3, 1100&lt;BR /&gt;2013, U2, C1, 700&lt;BR /&gt;2013, U3, C2, 500&lt;BR /&gt;2014, U1, C1, 400&lt;BR /&gt;2014, U2, C2, 300&lt;BR /&gt;2014, U3, C3, 250&lt;BR /&gt;2014, U1, C3, 1300&lt;BR /&gt;2014, U2, C1, 1200&lt;BR /&gt;2014, U3, C2, 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Using the above data,&amp;nbsp; I need to create a RANK for each client with in the YEAR and UNIT based on the premium. Once the rankings are created, I need to select a client to show a line graph which shows me to rank movement for that client across years (I need to show one line per unit). This way I can analyse how the client rank is behaving across different units in multiple years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Attached QVW has the data and also explains the problem that I am facing. Note selection of a client is mandatory to show the line graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I would prefer to have the solution to be acieved by means of having this done in a line chart but if we need to make any script changes, I would consider that to be last option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Thanks in avance for all your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Murali&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 11:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-related-to-RANK-function-in-a-line-graph/m-p/800162#M282440</guid>
      <dc:creator />
      <dc:date>2015-01-16T11:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question related to RANK function in a line graph</title>
      <link>https://community.qlik.com/t5/QlikView/Question-related-to-RANK-function-in-a-line-graph/m-p/800163#M282441</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;Instad of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rank(sum({&amp;lt;Client={"*"}&amp;gt;} Premium),4) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rank(sum(Premium),4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You select a client but chart doesn't respond to that since it still thinks like you want to select all client due to set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-related-to-RANK-function-in-a-line-graph/m-p/800163#M282441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-16T14:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Question related to RANK function in a line graph</title>
      <link>https://community.qlik.com/t5/QlikView/Question-related-to-RANK-function-in-a-line-graph/m-p/800164#M282442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I tried this option but it didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-related-to-RANK-function-in-a-line-graph/m-p/800164#M282442</guid>
      <dc:creator />
      <dc:date>2015-01-19T14:19:26Z</dc:date>
    </item>
  </channel>
</rss>

