<?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: Max Value in Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Value-in-Pivot/m-p/1810115#M1212512</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Might take a bit of fiddling, but try something like;&lt;/P&gt;&lt;P&gt;max(aggr(sum(task_time),[employee name],[task name]))&lt;/P&gt;&lt;P&gt;FirstSortedValue([task name],-aggr(sum(task_time),[employee name],[task name]))&lt;/P&gt;&lt;P&gt;So like below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20210524_1.png" style="width: 990px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55555i854E5469A7533BFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="20210524_1.png" alt="20210524_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 18:14:04 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2021-05-24T18:14:04Z</dc:date>
    <item>
      <title>Max Value in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-in-Pivot/m-p/1810088#M1212505</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a pivot table with two dimensions: employee name, task name and then expressions are sum(task_time) and sum(forecast_time).&lt;/P&gt;&lt;P&gt;What I need to show is which of their tasks is taking the longest in a separate expression.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;John Doe has booked 30hrs against 7 different tasks, the largest is 'Investment Time' so in another expression I need to show that it took 20hrs.&lt;/P&gt;&lt;P&gt;The tasks vary across all the employees.&lt;/P&gt;&lt;P&gt;Advice be appreciate...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 15:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-in-Pivot/m-p/1810088#M1212505</guid>
      <dc:creator>Lifesigns</dc:creator>
      <dc:date>2021-05-24T15:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-in-Pivot/m-p/1810115#M1212512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Might take a bit of fiddling, but try something like;&lt;/P&gt;&lt;P&gt;max(aggr(sum(task_time),[employee name],[task name]))&lt;/P&gt;&lt;P&gt;FirstSortedValue([task name],-aggr(sum(task_time),[employee name],[task name]))&lt;/P&gt;&lt;P&gt;So like below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20210524_1.png" style="width: 990px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55555i854E5469A7533BFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="20210524_1.png" alt="20210524_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 18:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-in-Pivot/m-p/1810115#M1212512</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2021-05-24T18:14:04Z</dc:date>
    </item>
  </channel>
</rss>

