<?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: Only Display the highest record in a text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591467#M1101879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Most flown to Airport ' &amp;amp;&amp;nbsp; FirstSortedValue(Airport, -[No. of times flown to])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 10:51:37 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2014-04-02T10:51:37Z</dc:date>
    <item>
      <title>Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591464#M1101873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding text objects. I have a list of airports flown to, please see below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Airport&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 196px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;Airport&lt;/TD&gt;&lt;TD colspan="1"&gt;No. of times flown to&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;BEG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="98"&gt;131&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;BHX&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;83&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;OTP&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;SRZ&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;61&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;LOS&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;55&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created this as a straight table so i'll need some sort of count in the text object. =Count({$&amp;lt;[Product] = {'Freight'} &amp;gt;}[To Airport]) so the raw data is BEG 131 rows BHX 83 rows and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know if I put this in a text object i would only get the total amount as there are no Dimensions 396 in this case but what I want is the Name of the airport so something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Most flown to Airport ' &amp;amp; 'BEG'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591464#M1101873</guid>
      <dc:creator />
      <dc:date>2014-04-02T10:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591465#M1101875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;='Most flown to Airport '&amp;nbsp; &amp;amp;FirstSortedValue(Airport,-[No. of times flown to])&amp;amp;CHR(10)&amp;amp;SUM([No. of times flown to])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591465#M1101875</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-02T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591466#M1101877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use This Expression It Will Useful For U&lt;/P&gt;&lt;P&gt;='Most flown to Airport '&amp;nbsp; &amp;amp;FirstSortedValue(Airport,-aggr(sum(No. of times flown to),Airport))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591466#M1101877</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-02T10:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591467#M1101879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Most flown to Airport ' &amp;amp;&amp;nbsp; FirstSortedValue(Airport, -[No. of times flown to])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591467#M1101879</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-04-02T10:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591468#M1101880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can also keep it in a script level. please take a look at the attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591468#M1101880</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-04-02T10:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591469#M1101881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I think the data I've given you is miss-leading.&lt;/P&gt;&lt;P&gt;my data set is actually&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;airport&lt;/P&gt;&lt;P&gt;BEG&lt;/P&gt;&lt;P&gt;BEG&lt;/P&gt;&lt;P&gt;BEG&lt;/P&gt;&lt;P&gt;BEG&lt;/P&gt;&lt;P&gt;BEG...&lt;/P&gt;&lt;P&gt;BHX&lt;/P&gt;&lt;P&gt;BHX&lt;BR /&gt;BHX&lt;/P&gt;&lt;P&gt;BHX....&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have to Count the number of BEG's and show BEG in the text object instead of the number of BEG's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591469#M1101881</guid>
      <dc:creator />
      <dc:date>2014-04-02T11:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591470#M1101882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;='Most flown to Airport '&amp;nbsp; &amp;amp;FirstSortedValue(Airport,-Aggr(SUM([No. of times flown to]),Airport))&amp;amp;CHR(10)&amp;amp;SUM([No. of times flown to])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591470#M1101882</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-02T11:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591471#M1101886</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;=FirstSortedValue(airport, -Aggr(Count(airport), airport))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591471#M1101886</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-04-02T11:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591472#M1101889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presuming you might have an index column in your flight table (Flight_ID), I believe you could achieve your result using the following expression:&lt;/P&gt;&lt;P&gt;=FirstSortedValue(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;[Product] = {'Freight'} &amp;gt;}[To Airport]&lt;/SPAN&gt;, -Aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;[Product] = {'Freight'} &amp;gt;}&lt;/SPAN&gt; Count(DISTINCT Flight_ID), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[To Airport]&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591472#M1101889</guid>
      <dc:creator>pgrenier</dc:creator>
      <dc:date>2014-04-02T11:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Only Display the highest record in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591473#M1101892</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 this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Tab:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;Airport, No. of times flown to &lt;BR /&gt;BEG, 131 &lt;BR /&gt;BEG, 100&lt;BR /&gt;BHX, 83 &lt;BR /&gt;BHX, 88 &lt;BR /&gt;OTP, 66 &lt;BR /&gt;OTP, 60&lt;BR /&gt;SRZ, 61 &lt;BR /&gt;LOS, 55&lt;BR /&gt;BEG, 80 &lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;Tab2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[No. of times flown to]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxVal&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tab;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vMax&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('MaxVal',-1,'Tab2');&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tab2;&lt;BR /&gt;&lt;BR /&gt;Tab2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Airport&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Airport_Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[No. of times flown to]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxTimesFlown&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tab&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[No. of times flown to]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='$(vMax)';&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Text Object ---&amp;gt; =&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Airport_Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;' : ' &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxTimesFlown &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Display-the-highest-record-in-a-text-object/m-p/591473#M1101892</guid>
      <dc:creator />
      <dc:date>2014-04-02T12:17:02Z</dc:date>
    </item>
  </channel>
</rss>

