<?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 showing max in text box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267831#M100579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have a set anaylsis in straight table which is sorted bu max price/cost with product dimension I would like to show max price/cost product in text box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Oct 2011 12:07:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-22T12:07:34Z</dc:date>
    <item>
      <title>showing max in text box</title>
      <link>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267831#M100579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have a set anaylsis in straight table which is sorted bu max price/cost with product dimension I would like to show max price/cost product in text box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 12:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267831#M100579</guid>
      <dc:creator />
      <dc:date>2011-10-22T12:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: showing max in text box</title>
      <link>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267832#M100580</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;The following expression should do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Num&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Max&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;1&lt;SPAN class="s1"&gt;} &lt;/SPAN&gt;&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;1&lt;SPAN class="s1"&gt;&amp;lt; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Employee&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; = {&lt;/SPAN&gt;'Jae Pak'&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;'Tsvi Reiter'&lt;SPAN class="s1"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;UnitPrice&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;BR /&gt;/&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;1&lt;SPAN class="s1"&gt;&amp;lt; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Employee&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; = {&lt;/SPAN&gt;'Jae Pak'&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;'Tsvi Reiter'&lt;SPAN class="s1"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;TotalProductCost&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;), &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Product&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;))&lt;BR /&gt;, &lt;/SPAN&gt;'#,##0%'&lt;SPAN class="s1"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "{1} TOTAL" part is needed because of the locked value in YearMonth field. Using instead &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Num&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2"&gt;Max&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;{&amp;lt; [$Year Month] = &amp;gt;} &lt;SPAN class="s2"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;1&lt;SPAN class="s1"&gt;&amp;lt; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Employee&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; = {&lt;/SPAN&gt;'Jae Pak'&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;'Tsvi Reiter'&lt;SPAN class="s1"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;UnitPrice&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;/&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;1&lt;SPAN class="s1"&gt;&amp;lt; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Employee&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; = {&lt;/SPAN&gt;'Jae Pak'&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;'Tsvi Reiter'&lt;SPAN class="s1"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;TotalProductCost&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;), &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Product&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;))&lt;BR /&gt;, &lt;/SPAN&gt;'#,##0%'&lt;SPAN class="s1"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should work as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 12:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267832#M100580</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-22T12:29:58Z</dc:date>
    </item>
    <item>
      <title>showing max in text box</title>
      <link>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267833#M100581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can I show product name on text box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 12:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267833#M100581</guid>
      <dc:creator />
      <dc:date>2011-10-22T12:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: showing max in text box</title>
      <link>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267834#M100582</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;This should do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Only&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;1&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;} &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;If&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Rank&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;( &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;1&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;lt; &lt;/SPAN&gt;Employee &lt;SPAN class="s1"&gt;= {&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;'Jae Pak'&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;'Tsvi Reiter'&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;} &amp;gt;} &lt;/SPAN&gt;UnitPrice&lt;SPAN class="s1"&gt;) / &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;1&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;lt; &lt;/SPAN&gt;Employee &lt;SPAN class="s1"&gt;= {&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;'Jae Pak'&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;'Tsvi Reiter'&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;} &amp;gt;} &lt;/SPAN&gt;TotalProductCost&lt;SPAN class="s1"&gt;), &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;4&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;1&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;BR /&gt;, &lt;/SPAN&gt;Product&lt;SPAN class="s1"&gt;) = &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;1&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;, &lt;/SPAN&gt;Product&lt;SPAN class="s1"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind of cumbersome because of the selection, that you want to ignore, hence all those {1}. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 16:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267834#M100582</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-22T16:25:27Z</dc:date>
    </item>
    <item>
      <title>showing max in text box</title>
      <link>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267835#M100583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are perfect Miguel thank you&lt;/P&gt;&lt;P&gt;last question::)))&amp;nbsp; is there any special meaning of 4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 17:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267835#M100583</guid>
      <dc:creator />
      <dc:date>2011-10-22T17:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: showing max in text box</title>
      <link>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267836#M100584</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;I'm glad to help. that ", 4, 1" refers to the ranking function, that allows several parameters. Actually that will work if you remove that part, but I'm used to specify it, even when there is no need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Rank(Something, 4, 1)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where "Something" is an expression reads "return the rank of something, giving each row a value, and in case two rows share the same rank, show the lowest value, (i. e.: instead of showing 2-3, 2-3, the above should return 2, 3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 17:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-max-in-text-box/m-p/267836#M100584</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-22T17:46:00Z</dc:date>
    </item>
  </channel>
</rss>

