<?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 in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814034#M1033797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;try this now&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;firstsortedvalue(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Hnua07Pre&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;,-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Hnua08Cta &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 14:26:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-19T14:26:57Z</dc:date>
    <item>
      <title>Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814031#M1033791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have&amp;nbsp; 2 fields, Hnua08Cta and Hnua07Pre, for each Hnua08Cta could be more than 1 values, i want to only bring the max Hnua07Pre value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this posible to do this in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using firstsortvalue() or max function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i attached a qvw and a qvd to see this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814031#M1033791</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-01-19T14:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814032#M1033792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firstsortedvalue(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Hnua08Cta &lt;/SPAN&gt;,-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Hnua07Pre&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814032#M1033792</guid>
      <dc:creator />
      <dc:date>2015-01-19T14:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814033#M1033794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manoj, Invalid Expression said&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814033#M1033794</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-01-19T14:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814034#M1033797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;try this now&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;firstsortedvalue(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Hnua07Pre&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;,-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Hnua08Cta &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814034#M1033797</guid>
      <dc:creator />
      <dc:date>2015-01-19T14:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814035#M1033799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Invalid&lt;/P&gt;&lt;P&gt;then i have to put some group by?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814035#M1033799</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-01-19T14:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814036#M1033802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may i know what kind of data u have in the fields &lt;/P&gt;&lt;P&gt;give me some sample records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814036#M1033802</guid>
      <dc:creator />
      <dc:date>2015-01-19T14:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814037#M1033805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both of them are number(integer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i attached the qvd and the qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814037#M1033805</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-01-19T14:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Max Field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814038#M1033809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD HnuA07Cta, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(HnuA07PRe),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstSortedValue(HnuA07PRe,-HnuA07PRe )&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[HNUA07.qvd]&lt;/P&gt;&lt;P&gt;(qvd) Group by HnuA07Cta;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue may not work for few rows since you have duplicates in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hnua07Pre &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 15:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Field-in-script/m-p/814038#M1033809</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-01-19T15:46:55Z</dc:date>
    </item>
  </channel>
</rss>

