<?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 field value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399093#M490201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesnt work because it then totalises Duration regardless of whether journey length is equal to the maxlength.&lt;/P&gt;&lt;P&gt;Anyone else have any ideas? can i do it in the load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 13:06:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-10T13:06:16Z</dc:date>
    <item>
      <title>Max field value?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399091#M490199</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;Please see my attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to show data for all fields but only when the values in the specified field are equal to the Maximum value of that field.&lt;/P&gt;&lt;P&gt;In this case i only want to show rows where journey_length is the largest value specific to the JoinField dimension - i have marked the rows in bold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the expression =aggr(max(journey_length),JoinField) but this does not work as i expected- the MaxLength is not shown against the records i expected. &lt;/P&gt;&lt;P&gt;I had initially planned to modify the Duration expression to sum the Journey_Duration if the MaxLength is equal to avg (journey_length) but as the Max length is not calculated in every row i am stumped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has been a difficult question to express in black and white so if there are any questions please get in touch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached spreadsheet for an export of my table along with the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 12:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399091#M490199</guid>
      <dc:creator />
      <dc:date>2012-10-10T12:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Max field value?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399092#M490200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want only Joinfield as dimension and max(journey_length) and avg(journey_length) as expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 12:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399092#M490200</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-10T12:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Max field value?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399093#M490201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesnt work because it then totalises Duration regardless of whether journey length is equal to the maxlength.&lt;/P&gt;&lt;P&gt;Anyone else have any ideas? can i do it in the load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 13:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399093#M490201</guid>
      <dc:creator />
      <dc:date>2012-10-10T13:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Max field value?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399094#M490202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw. Is that what you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 14:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399094#M490202</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-10T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Max field value?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399095#M490206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does seem to work for the extract i posted but i cant make it work for the source data, i'll persevere with it &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 15:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-field-value/m-p/399095#M490206</guid>
      <dc:creator />
      <dc:date>2012-10-10T15:13:39Z</dc:date>
    </item>
  </channel>
</rss>

