<?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: how to show this expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171970#M519789</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;Use Rank function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 11:17:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-25T11:17:52Z</dc:date>
    <item>
      <title>how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171969#M519788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to put a KPI inside a text box showing the country that has the most growth comparing actual year x prior year.&lt;/P&gt;&lt;P&gt;I use this expression below in a chart straight table and it works using a dimension limits for 1 largest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;[Year] = {'$(vCurrentYear)'}&amp;gt;} amount) - sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to put this expression showing the Country as below without having the dimension limits for largest valeu, as this is not a chart table anymore?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;China - 23.42%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 11:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171969#M519788</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-25T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171970#M519789</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;Use Rank function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 11:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171970#M519789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-25T11:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171971#M519790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;FirstSortedValue(Country, -Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(sum({&amp;lt;[Year] = {'$(vCurrentYear)'}&amp;gt;} amount) - sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount)&lt;SPAN style="color: #ff0000;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Country))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 11:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171971#M519790</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-25T11:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171972#M519791</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;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= yourcountryfield &amp;amp; ' - ' &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;num((sum({&amp;lt;[Year] = {'$(vCurrentYear)'}&amp;gt;} amount) - sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;#.##0,00%)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HTH&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 11:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171972#M519791</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2016-08-25T11:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171973#M519792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;FirstSortedValue(DISTINCT Country,-Aggr(YourExpression,Country))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 11:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171973#M519792</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-08-25T11:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171974#M519793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vExpr1: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;[Year] = {'$(vCurrentYear)'}, &amp;gt;} amount)/&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount) - 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;Country={"=rank($(vExpr1))=1"}&amp;gt;}Country) &amp;amp; ' - ' &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; num( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;[Year] = {'$(vCurrentYear)'}, &lt;SPAN style="font-size: 13.3333px;"&gt;Country={"=rank($(vExpr1))=1"}&lt;/SPAN&gt;&amp;gt;} amount)/&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;[Year] = {'$(vPriorYear)'}, &lt;SPAN style="font-size: 13.3333px;"&gt;Country={"=rank($(vExpr1))=1"}&lt;/SPAN&gt;&amp;gt;} amount) - 1&lt;/SPAN&gt; ,'0.00%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 11:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171974#M519793</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-25T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171975#M519794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gave the country, but I am not being able to show the number beside, can you help me again?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 12:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171975#M519794</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-25T12:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171976#M519795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use max instead of firstsortedvalue and remove the first argument and the comma of course and the minus ( - ) character.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 12:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171976#M519795</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-25T12:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171977#M519796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a null value in this expression, but thank you for all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 12:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171977#M519796</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-25T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171978#M519797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 12:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171978#M519797</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-25T12:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to show this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171979#M519798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just like Gysbert mentioned, try this to get the max Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;Num(Max(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(sum({&amp;lt;[Year] = {'$(vCurrentYear)'}&amp;gt;} amount) - sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;sum({&amp;lt;[Year] = {'$(vPriorYear)'}&amp;gt;} amount)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;Country)), '##.00%')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 12:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-show-this-expression/m-p/1171979#M519798</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-25T12:50:47Z</dc:date>
    </item>
  </channel>
</rss>

