<?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: Help using Max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347688#M128684</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;So do you mean that you want the highest price for the item, and the currency for the highest price?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 May 2012 13:35:06 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-05-12T13:35:06Z</dc:date>
    <item>
      <title>Help using Max</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347685#M128681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new in QLikView. I have the following problem.&lt;/P&gt;&lt;P&gt;I have one table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item, Price, Currency&lt;/P&gt;&lt;P&gt;A, 2, USD, ...&lt;/P&gt;&lt;P&gt;A, 3, EUR, ...&lt;/P&gt;&lt;P&gt;B, 2, EUR, ...&lt;/P&gt;&lt;P&gt;B, 4, EEK, ...&lt;/P&gt;&lt;P&gt;B, 4, USD....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would to create a new table like this&lt;/P&gt;&lt;P&gt;Item, MaxPrice, Currency&lt;/P&gt;&lt;P&gt;A, 3, EUR, ...&lt;/P&gt;&lt;P&gt;B, 4, EEK, ... (EEK or USD)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(MaxPrice is simply the Max value of Price, and the Currency is the currency related to the MaxPrice)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the best way to do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 13:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347685#M128681</guid>
      <dc:creator />
      <dc:date>2012-05-11T13:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help using Max</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347686#M128682</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;Create a straight table or pivot table with Item &amp;amp; Currency as dimensions and Max(Price) as the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 13:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347686#M128682</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-11T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Help using Max</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347687#M128683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;I tried to do the pivot, but... if the Item A has multiple Prices, with different currencies ﻿, the result is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A, USD, 2, ..&lt;/P&gt;&lt;P&gt;A, EUR, 3&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A, EUR, 3 &lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Martina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 13:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347687#M128683</guid>
      <dc:creator />
      <dc:date>2012-05-11T13:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help using Max</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347688#M128684</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;So do you mean that you want the highest price for the item, and the currency for the highest price?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2012 13:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347688#M128684</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-12T13:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help using Max</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347689#M128685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes, exactly. I need to have a table with the highest price for the item, and the currency for the highest price.&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Martina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 06:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347689#M128685</guid>
      <dc:creator />
      <dc:date>2012-05-14T06:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help using Max</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347690#M128686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it in script level, the scripting code is as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;price:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Item, Price, Currency&lt;/P&gt;&lt;P&gt;A, 3, EUR&lt;/P&gt;&lt;P&gt;A, 2, USD&lt;/P&gt;&lt;P&gt;B, 2, EUR&lt;/P&gt;&lt;P&gt;B, 4, EEK&lt;/P&gt;&lt;P&gt;B, 4, USD&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;LastValue(Currency), &lt;/P&gt;&lt;P&gt;Item,&lt;/P&gt;&lt;P&gt;MaxString(Price) as [Max Price]&lt;/P&gt;&lt;P&gt;Resident price&lt;/P&gt;&lt;P&gt;Group By Item Order By Price;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP table price;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Tiong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 07:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347690#M128686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T07:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help using Max</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347691#M128687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works!!! &lt;/P&gt;&lt;P&gt;Many Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Martina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 08:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-Max/m-p/347691#M128687</guid>
      <dc:creator />
      <dc:date>2012-05-14T08:51:38Z</dc:date>
    </item>
  </channel>
</rss>

