<?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 maximum value per key-field in graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189115#M52122</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;I have a table with turn around times.&lt;/P&gt;&lt;P&gt;The most important fields are: KEY, START, END, TAT, STATUS&lt;/P&gt;&lt;P&gt;So, now my problem is the status field can change (the value of END is the time when the status changes), so for 1 key I can have multiple lines in my table.&lt;/P&gt;&lt;P&gt;I only want to show the TAT in a graph of the lines where the status = 'LV'.&lt;/P&gt;&lt;P&gt;another problem is that 1 key can have multiple lines with STATUS = 'LV', so when that occurs, I need to take the maximum value of TAT.&lt;/P&gt;&lt;P&gt;So in short, i need the maximum value of TAT, per KEY, where STATUS = 'LV'.&lt;/P&gt;&lt;P&gt;And I want to show the sum of these values in a graph over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Mar 2011 08:12:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-30T08:12:22Z</dc:date>
    <item>
      <title>maximum value per key-field in graph</title>
      <link>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189115#M52122</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;I have a table with turn around times.&lt;/P&gt;&lt;P&gt;The most important fields are: KEY, START, END, TAT, STATUS&lt;/P&gt;&lt;P&gt;So, now my problem is the status field can change (the value of END is the time when the status changes), so for 1 key I can have multiple lines in my table.&lt;/P&gt;&lt;P&gt;I only want to show the TAT in a graph of the lines where the status = 'LV'.&lt;/P&gt;&lt;P&gt;another problem is that 1 key can have multiple lines with STATUS = 'LV', so when that occurs, I need to take the maximum value of TAT.&lt;/P&gt;&lt;P&gt;So in short, i need the maximum value of TAT, per KEY, where STATUS = 'LV'.&lt;/P&gt;&lt;P&gt;And I want to show the sum of these values in a graph over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 08:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189115#M52122</guid>
      <dc:creator />
      <dc:date>2011-03-30T08:12:22Z</dc:date>
    </item>
    <item>
      <title>maximum value per key-field in graph</title>
      <link>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189116#M52123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM(AGGR(MAX({&amp;lt;STATUS={LV}&amp;gt;} TAT),KEY,PERIOD))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;NOTE: Change the PERIOD dimension above with the your time dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 08:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189116#M52123</guid>
      <dc:creator />
      <dc:date>2011-03-30T08:24:52Z</dc:date>
    </item>
    <item>
      <title>maximum value per key-field in graph</title>
      <link>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189117#M52124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, but it doesn't seem to be working..&lt;/P&gt;&lt;P&gt;Maybe a little more info too, we want a graph with boxplots, so i need to calculate te percentiles.&lt;/P&gt;&lt;P&gt;For example, this is what i have for the p90:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=fractile((Aggr(max(TAT),KEY)),0.90)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now I put a listbox for STATUS on my dashboard, and when I select 'LV', it is working, but it would be better if I can get it in my formula so we wouldn't have to make this selection every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 10:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189117#M52124</guid>
      <dc:creator />
      <dc:date>2011-03-30T10:27:52Z</dc:date>
    </item>
    <item>
      <title>maximum value per key-field in graph</title>
      <link>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189118#M52125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have given you the set analysis expression in my example which will only use the 'LV' status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 10:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189118#M52125</guid>
      <dc:creator />
      <dc:date>2011-03-30T10:33:41Z</dc:date>
    </item>
    <item>
      <title>maximum value per key-field in graph</title>
      <link>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189119#M52126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the right expression for my graphs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=fractile({&amp;lt;STATUS={'VL'}&amp;gt;}(Aggr(max({&amp;lt;STATUS={'VL'}&amp;gt;}TAT),KEY)),0.90)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;And this one i can use now with my drilldownlist for time (year, month, week,...) because the formula doesn't depend on 1 datefield.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 11:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/maximum-value-per-key-field-in-graph/m-p/189119#M52126</guid>
      <dc:creator />
      <dc:date>2011-03-30T11:00:01Z</dc:date>
    </item>
  </channel>
</rss>

