<?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 Change Background color on Rank in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514146#M549472</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;is it possible to change the background color that depends on the Rank Value.&lt;/P&gt;&lt;P&gt;In my example I have 9 account and I want to show them in separate textobject. The textbox included '1050' should in this case be green. Is it possible for the textobject to know about the dimension outside the object it self? The expression is sum({$&amp;lt;Account={'50'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;IMG alt="2013-12-20_0752.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50689_2013-12-20_0752.png" style="width: 620px; height: 317px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Dec 2013 07:05:10 GMT</pubDate>
    <dc:creator>stabben23</dc:creator>
    <dc:date>2013-12-20T07:05:10Z</dc:date>
    <item>
      <title>Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514146#M549472</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;is it possible to change the background color that depends on the Rank Value.&lt;/P&gt;&lt;P&gt;In my example I have 9 account and I want to show them in separate textobject. The textbox included '1050' should in this case be green. Is it possible for the textobject to know about the dimension outside the object it self? The expression is sum({$&amp;lt;Account={'50'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;IMG alt="2013-12-20_0752.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50689_2013-12-20_0752.png" style="width: 620px; height: 317px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 07:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514146#M549472</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T07:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514147#M549473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;in text box&amp;gt;&amp;gt;properties &amp;gt;&amp;gt; colur&amp;gt;&amp;gt;caculate&amp;gt;&amp;gt; make expression&lt;/P&gt;&lt;P&gt;if(Account='50',Red())&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 07:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514147#M549473</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2013-12-20T07:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514148#M549474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has to be dynamic, tomorrow account 40 is highest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 07:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514148#M549474</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T07:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514149#M549475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it that, you want to max value dynamically. PFA&lt;/P&gt;&lt;P&gt;Expression, something like (in text box):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Aggr(Sum(Amt),Months), -Aggr(Sum(Amt), Months))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 07:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514149#M549475</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-20T07:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514150#M549476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Rank(aggr(sum(Value),Account))=1,lightGreen(),lightred()) is my calculated backgroundcolor that dont works right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 07:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514150#M549476</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T07:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514151#M549477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not exact, I will get green in all the boxes with this expression&lt;/P&gt;&lt;P&gt;if(FirstSortedValue(Aggr(Sum(Value),Account), -Aggr(Sum(Value), Account)),Green(),red())&lt;/P&gt;&lt;P&gt;That is because this is the highest value in "just this textbox" it has to compare "outside the box" with all other Account values. Because all Account will be shown in there own textobject, and the highest sum(Value) should be green.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 08:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514151#M549477</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T08:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514152#M549478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, so your text boxes are specific to acounts.&lt;/P&gt;&lt;P&gt;Then try like:&lt;/P&gt;&lt;P&gt;If( Aggr(If(Account='50', Rank(Sum(Value))), Months) =1, lightgreen(), red()) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work, please share your sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 08:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514152#M549478</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-20T08:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514153#M549479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes they are specific to Account, and I can not harcode 50 in my expression, because tomorrow it could be another Account with the highest Value. You can see on top in this discussion how it should be, this is just an example.&lt;/P&gt;&lt;P&gt;I havent "draw" all textboxes but have in mind that you have a Textobject for each Account. And the Account with the highest Value should be "Highligted" Green as you se in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 08:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514153#M549479</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T08:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514154#M549480</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;PFa&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514154#M549480</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2013-12-20T09:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514155#M549481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then how do you decide on number of text boxes? Is it something like: first text box for Rank 1, then second textbox for rank -2 ?&lt;BR /&gt;Please attach a sample app explaining the exact output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514155#M549481</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-20T09:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514156#M549482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2013-12-20_1029.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50723_2013-12-20_1029.png" style="width: 620px; height: 166px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514156#M549482</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514157#M549483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I have 10 texobject.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514157#M549483</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T09:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514158#M549484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of this textbox shall be green, the other ones red. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 10:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514158#M549484</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T10:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514159#M549485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Staffan,&lt;/P&gt;&lt;P&gt;I have not got yet the logic of yours; how do you get the values account wise in text boxes if it is not hardcoded?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 10:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514159#M549485</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-20T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514160#M549486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right about that, the values is hardcoded, but that is not the case here. I have&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; Account ={'10'}&amp;gt;}Value) for ex in the expression for textbox with value from Account 10.&lt;/P&gt;&lt;P&gt;The case here is to get the textbox with the highest value to change color. And I try to do that with backgroudcolor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 10:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514160#M549486</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T10:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514161#M549487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( Aggr(Rank(Sum(Value)), Months) =1, lightgreen(), red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 10:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514161#M549487</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-20T10:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514162#M549488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, works in tables but not in the textobjects, all went red.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 10:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514162#M549488</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514163#M549489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the file &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 10:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514163#M549489</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T10:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514164#M549490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 11:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514164#M549490</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-20T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Change Background color on Rank</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514165#M549491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tresesco, this is absolutly a possible solution and maybe the best. I dident "se" that I have to hardcode the Account inside the textobjects backgroundcolor. Do you think there is a way to NOT use the Account No in the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 11:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-color-on-Rank/m-p/514165#M549491</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-20T11:18:43Z</dc:date>
    </item>
  </channel>
</rss>

