<?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 Max value doesn't work ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145760#M24409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Slash&lt;/P&gt;&lt;P&gt;I think I know what you need, so please take a look at the attached example, comments are in the load script.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2009 17:02:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-03T17:02:20Z</dc:date>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145756#M24405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need a support. I would to found the max data in a field.&lt;/P&gt;&lt;P&gt;In this case:&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;Load * Inline[&lt;/P&gt;&lt;P&gt;dat , qty&lt;/P&gt;&lt;P&gt;01/01/2009 ,10&lt;/P&gt;&lt;P&gt;02/01/2009 , 50&lt;/P&gt;&lt;P&gt;05/01/2009 , 100 ] ;&lt;/P&gt;&lt;P&gt;b:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Max(dat as Maxdate,&lt;/P&gt;&lt;P&gt;qty resident a: Group by dat, qty;&lt;/P&gt;&lt;P&gt;I aspect&lt;/P&gt;&lt;P&gt;05/01/2009 in the Maxdate, field. But doesn't work.&lt;/P&gt;&lt;P&gt;Please could to help me someone?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 15:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145756#M24405</guid>
      <dc:creator />
      <dc:date>2009-06-03T15:52:31Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145757#M24406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Si&lt;/P&gt;&lt;P&gt;It really depends on what you want to achieve with the result.&lt;/P&gt;&lt;P&gt;First, you can get the max date as a single field by changing your second load script to simply state LOAD Max(Dat) Resident A&lt;/P&gt;&lt;P&gt;The thing that you are doing is getting the max date grouped by date and qty, which basically means you will get each line from table a (because each combination of dat/qty is different.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 16:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145757#M24406</guid>
      <dc:creator />
      <dc:date>2009-06-03T16:18:59Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145758#M24407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, just thought i'd attach an example......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 16:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145758#M24407</guid>
      <dc:creator />
      <dc:date>2009-06-03T16:20:24Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145759#M24408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;consider:&lt;/P&gt;&lt;P&gt;Target: I would to to obtain in oine field themax date and linked the qty referred to the max date.&lt;/P&gt;&lt;P&gt;Could you help me?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 16:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145759#M24408</guid>
      <dc:creator />
      <dc:date>2009-06-03T16:49:29Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145760#M24409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Slash&lt;/P&gt;&lt;P&gt;I think I know what you need, so please take a look at the attached example, comments are in the load script.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 17:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145760#M24409</guid>
      <dc:creator />
      <dc:date>2009-06-03T17:02:20Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145761#M24410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Slash,&lt;/P&gt;&lt;P&gt;I think the problem is with the interpretation of the date.&lt;/P&gt;&lt;P&gt;If you use this piece of code it will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;I&gt;b:&lt;BR /&gt;&lt;/I&gt; &lt;B&gt;load&lt;BR /&gt;&lt;/B&gt;date (Max(date#(dat,'dd/mm/yyyy'))) &lt;B&gt;as&lt;/B&gt; Maxdate &lt;BR /&gt;&lt;B&gt;resident&lt;/B&gt; a; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Walter.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 17:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145761#M24410</guid>
      <dc:creator />
      <dc:date>2009-06-03T17:03:53Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145762#M24411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Cool" src="http://community.qlik.com/emoticons/emotion-11.gif" /&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks. for your example. But I need to group the max date by week.&lt;/P&gt;&lt;P&gt;Example: I would to know in 2 week of the year (the xeek(dat) ) what was the maximum date . If I selekt a week number the field should be shows the maximum date referred of the week I select. Sorry for my bad english &lt;IMG alt="Cool" src="http://community.qlik.com/emoticons/emotion-11.gif" /&gt;&lt;/P&gt;&lt;P&gt;Please, could to help me?&lt;/P&gt;&lt;P&gt;Thanks . Best Regards.&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 16:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145762#M24411</guid>
      <dc:creator />
      <dc:date>2009-06-04T16:45:10Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145763#M24412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this attached application.&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 17:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145763#M24412</guid>
      <dc:creator />
      <dc:date>2009-06-04T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145764#M24413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The file you attached is partial target thath I need.&lt;/P&gt;&lt;P&gt;I need to select a week number and the object should be show the max date of the linked week and the sales of the max date.&lt;/P&gt;&lt;P&gt;Could to help me?&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 17:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145764#M24413</guid>
      <dc:creator />
      <dc:date>2009-06-09T17:16:50Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145765#M24414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I`m not sure what is your requirement ..? and what else is required from that application....?&lt;/P&gt;&lt;P&gt;Check the attached application.&lt;/P&gt;&lt;P&gt;if the attached application doesn`t solve your purpose , please post your sample data and explain your senario.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 17:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145765#M24414</guid>
      <dc:creator />
      <dc:date>2009-06-09T17:26:06Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145766#M24415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I select in the week object the item 7, in the sales resolved 2 Items:&lt;/P&gt;&lt;P&gt;in the sales Object I found&lt;/P&gt;&lt;P&gt;4 referred to 10/02/2009&lt;/P&gt;&lt;P&gt;5 referred to 14/02/2009&lt;/P&gt;&lt;P&gt;I would to shows JUS Sales =5 becouse I filtered by max date amd the max date is linked to sales=5&lt;/P&gt;&lt;P&gt;Thank yo&lt;/P&gt;&lt;P&gt;Best regardsu&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 19:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145766#M24415</guid>
      <dc:creator />
      <dc:date>2009-06-09T19:37:26Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145767#M24416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this attachment.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 19:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145767#M24416</guid>
      <dc:creator />
      <dc:date>2009-06-09T19:47:10Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145768#M24417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QV friend,,&lt;/P&gt;&lt;P&gt;yes is what I was looking doe.&lt;/P&gt;&lt;P&gt;I thank you for your help but I do not able to apply the example in my application.&lt;/P&gt;&lt;P&gt;I need to store a table bexouse the fields will be rewrite and do not store. To atore the data in the table I need to store and load the qvs file.&lt;/P&gt;&lt;P&gt;I need to apply your example in my application:&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;mytable:&lt;BR /&gt;&lt;BR /&gt;// I load the table I stored becouse the data are always rewrite and I nedd to store it&lt;BR /&gt;in qvd file. The store will be by timestamp..&lt;BR /&gt;&lt;BR /&gt;Load *&lt;BR /&gt;from ..\mypath\db.qvd;&lt;BR /&gt;&lt;BR /&gt;load&lt;BR /&gt;costAmount,&lt;BR /&gt;timestamp(ReloadTime()) as Date,&lt;BR /&gt;"Quantity",&lt;BR /&gt;item,&lt;BR /&gt;remainingQTY,&lt;BR /&gt;description&lt;BR /&gt;From ...&lt;/P&gt;&lt;P&gt;store * from mytable: into ..\mypath\db.qvd;&lt;BR /&gt;Load *&lt;BR /&gt;from ..\mypath\db.qvd&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I need to aggregate the field lik your example. by max date ( data format timestamp) and the linked values of :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;costAmount,&lt;BR /&gt;"Quantity",&lt;BR /&gt;remainingQTY,&lt;/P&gt;&lt;P&gt;and dimensions:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;timestamp(ReloadTime()) as Date,&lt;BR /&gt;item,&lt;BR /&gt;description&lt;/P&gt;&lt;P&gt;Please is many time I need to solved it.. Could to help me? &lt;IMG alt="Angry" src="http://community.qlik.com/emoticons/emotion-12.gif" /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;--Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 03:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145768#M24417</guid>
      <dc:creator />
      <dc:date>2009-06-10T03:49:26Z</dc:date>
    </item>
    <item>
      <title>Max value doesn't work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145769#M24418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi at All,&lt;/P&gt;&lt;P&gt;I solved !&lt;/P&gt;&lt;P&gt;Many thanks|&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 02:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-doesn-t-work/m-p/145769#M24418</guid>
      <dc:creator />
      <dc:date>2009-06-11T02:00:28Z</dc:date>
    </item>
  </channel>
</rss>

