<?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 Summing up Max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272641#M582864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I would like is a pie chart that shows the percentage of time the agent spent during each activity.&amp;nbsp; One of the slices will be 'idle' time when they aren't doing anything but waiting for the next call.&amp;nbsp; I need the login time so that I can subtract the things they did to get that idle time.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression works great in a straight table, but if I have those dimensions in the pie chart, I don't get what I want.&amp;nbsp; Unless I am missing something with pie charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may have to live with the straight table for aggregations and use the pie chart only for one day and one agent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 00:56:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-02T00:56:28Z</dc:date>
    <item>
      <title>Summing up Max</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272638#M582861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a somewhat unique challenge with data provided by a report I am stuck with for now.&amp;nbsp; The data concerns login times for agents in a phone system.&amp;nbsp; The agents can be in multiple phone queues.&amp;nbsp; Unfortunately, the login times that the system reports is the whole time for each queue in each row:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Queue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Call time&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Login time&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Queue 1&lt;/TD&gt;&lt;TD&gt;2:34&lt;/TD&gt;&lt;TD&gt;9:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Queue 2&lt;/TD&gt;&lt;TD&gt;1:23&lt;/TD&gt;&lt;TD&gt;9:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Queue 3&lt;/TD&gt;&lt;TD&gt;4:00&lt;/TD&gt;&lt;TD&gt;2:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can sum the call time and get what I want for a day, or a range of days.&amp;nbsp; But in order to get the login time for a day, I have to take the max.&amp;nbsp; (It is assumed they are in one queue all day, thankfully).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, what do I do for data ranges greater than a day?&amp;nbsp; The summing of the call times works fine, but I will get the maximum login time for whatever day in the range happens to be largest.&amp;nbsp; I want the sum of the maximums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 19:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272638#M582861</guid>
      <dc:creator />
      <dc:date>2011-12-01T19:07:31Z</dc:date>
    </item>
    <item>
      <title>Summing up Max</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272639#M582862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clarification: I can get this to work in&amp;nbsp; straight table by adding the user and date as expressions, using max as the definition of login, and using sum in the total mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a pie chart showing the distribution of times for each activity: call times, lunch, after call work, etc.&amp;nbsp; I need the login time so I can calculate the idle time - login minus everything else.&amp;nbsp; The pie chart won't have the dimensions, so I can't figure out how to get a pie chart to work for more than one day and one agent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 19:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272639#M582862</guid>
      <dc:creator />
      <dc:date>2011-12-01T19:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Summing up Max</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272640#M582863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure quite what you're saying about the pie chart.&amp;nbsp; But a sum of maximum login times by user and date would be something along these lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum(aggr(max(LoginTime),User,Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 00:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272640#M582863</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-12-02T00:30:07Z</dc:date>
    </item>
    <item>
      <title>Summing up Max</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272641#M582864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I would like is a pie chart that shows the percentage of time the agent spent during each activity.&amp;nbsp; One of the slices will be 'idle' time when they aren't doing anything but waiting for the next call.&amp;nbsp; I need the login time so that I can subtract the things they did to get that idle time.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression works great in a straight table, but if I have those dimensions in the pie chart, I don't get what I want.&amp;nbsp; Unless I am missing something with pie charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may have to live with the straight table for aggregations and use the pie chart only for one day and one agent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 00:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-Max/m-p/272641#M582864</guid>
      <dc:creator />
      <dc:date>2011-12-02T00:56:28Z</dc:date>
    </item>
  </channel>
</rss>

