<?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 display largest value in a text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/display-largest-value-in-a-text-object/m-p/516405#M483537</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;I'm testing to visualize my IIS website log-files with Qlikview. What I am struggling with is to create a text object to display the day with the highest amount of unique client visits. &lt;/P&gt;&lt;P&gt;Below expression I use in a chart with date as my dimension which is limited to output the largest 10 values.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13723413767221644" jivemacro_uid="_13723413767221644"&gt;&lt;P&gt;Count(Distinct(Hostname))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I now put the largest value in a text object? And how can I create another text object for the amount of unique hosts of today?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 14:12:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-27T14:12:12Z</dc:date>
    <item>
      <title>display largest value in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/display-largest-value-in-a-text-object/m-p/516405#M483537</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;I'm testing to visualize my IIS website log-files with Qlikview. What I am struggling with is to create a text object to display the day with the highest amount of unique client visits. &lt;/P&gt;&lt;P&gt;Below expression I use in a chart with date as my dimension which is limited to output the largest 10 values.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13723413767221644" jivemacro_uid="_13723413767221644"&gt;&lt;P&gt;Count(Distinct(Hostname))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I now put the largest value in a text object? And how can I create another text object for the amount of unique hosts of today?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 14:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/display-largest-value-in-a-text-object/m-p/516405#M483537</guid>
      <dc:creator />
      <dc:date>2013-06-27T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: display largest value in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/display-largest-value-in-a-text-object/m-p/516406#M483538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think can u try MAXSTRING to get the hostname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct(masxtring(Hostname)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 14:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/display-largest-value-in-a-text-object/m-p/516406#M483538</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2013-06-27T14:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: display largest value in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/display-largest-value-in-a-text-object/m-p/516407#M483539</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;=FirstSortedValue( aggr(Date, Date), aggr( -count(distinct Hostname), Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the Date, and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max(aggr( count(distinct Hostname), Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the max count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for your last request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Date = {'$(=today())'}&amp;gt;} distinct Hostname)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct if(Date = today(), Hostname))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 14:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/display-largest-value-in-a-text-object/m-p/516407#M483539</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-27T14:29:58Z</dc:date>
    </item>
  </channel>
</rss>

