<?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 Find max count using class function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29327#M1996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a bar graph where my dimension is the following to make 30&amp;nbsp; min time buckets &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;create_time&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1524840666588273" jivemacro_uid="_1524840666588273" modifiedtitle="true"&gt;
&lt;P&gt;class(create_time,60*30)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My measure is&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15248405008145232" jivemacro_uid="_15248405008145232" modifiedtitle="true"&gt;
&lt;P&gt;count(id)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which will give me the totals for each time bucket and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to display the highest total using the KPI chart type and for the life of me can't figure out the formula I need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2018 14:56:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-27T14:56:57Z</dc:date>
    <item>
      <title>Find max count using class function</title>
      <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29327#M1996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a bar graph where my dimension is the following to make 30&amp;nbsp; min time buckets &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;create_time&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1524840666588273" jivemacro_uid="_1524840666588273" modifiedtitle="true"&gt;
&lt;P&gt;class(create_time,60*30)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My measure is&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15248405008145232" jivemacro_uid="_15248405008145232" modifiedtitle="true"&gt;
&lt;P&gt;count(id)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which will give me the totals for each time bucket and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to display the highest total using the KPI chart type and for the life of me can't figure out the formula I need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 14:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29327#M1996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-27T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Find max count using class function</title>
      <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29328#M1997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest creating this in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD class(create_time,60*30) as create_time_class&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(Aggr(Count(id), create_time_class))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 15:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29328#M1997</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T15:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Find max count using class function</title>
      <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29329#M1998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're hoping to avoid that and use class as its more flexible and we could adjust the size of the buckets with out re-loading the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 16:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29329#M1998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-27T16:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find max count using class function</title>
      <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29330#M1999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to play around with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 16:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29330#M1999</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T16:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find max count using class function</title>
      <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29331#M2000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to this. It's an internal application and I'm unsure of other ways to share a sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 18:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29331#M2000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-27T18:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find max count using class function</title>
      <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29332#M2001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mock up data which is close to your real scenario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 21:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29332#M2001</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-27T21:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Find max count using class function</title>
      <link>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29333#M2002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh. Very simply broken down the following table has create time in seconds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID,CREATE_TIME&lt;BR /&gt;1,0&lt;/P&gt;&lt;P&gt;1,60&lt;/P&gt;&lt;P&gt;2,1800&lt;/P&gt;&lt;P&gt;3,3600&lt;/P&gt;&lt;P&gt;4,3601&lt;/P&gt;&lt;P&gt;5,3602&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It should results in a graph that has 2 in the first column, 1 in the second and 3 in the third.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KPI should display the maximum count for those buckets in this case 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 21:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-max-count-using-class-function/m-p/29333#M2002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-27T21:18:06Z</dc:date>
    </item>
  </channel>
</rss>

