<?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: set analysis not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772273#M1037657</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;The problem is expression like $(=max(Code)) does not take into consideration dimensions. So max Code is always 53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest to use flags in load script. Example is in attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 16:08:10 GMT</pubDate>
    <dc:creator>mrybalko</dc:creator>
    <dc:date>2015-01-15T16:08:10Z</dc:date>
    <item>
      <title>set analysis not working</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772272#M1037656</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 need to know the &lt;STRONG&gt;Last Price&lt;/STRONG&gt; of each article sold, but how can I accomplish that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75073" alt="1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75099_1.PNG" style="height: 198px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;and I need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75098" alt="LastPrice.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/75100_LastPrice.PNG" style="height: auto;" /&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;my current expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max( { &amp;lt; Code = {$(=max(aggr( max(Code), Article)))} &amp;gt; } Price)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as you can see above doesn't work... can anyone please help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a qvw here to help you : &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/downloadBody/7752-102-1-10425/SalesByPrice.qvw"&gt;http://community.qlik.com/servlet/JiveServlet/downloadBody/7752-102-1-10425/SalesByPrice.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cafc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 10:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772272#M1037656</guid>
      <dc:creator>cafcptg2011</dc:creator>
      <dc:date>2015-01-12T10:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772273#M1037657</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;The problem is expression like $(=max(Code)) does not take into consideration dimensions. So max Code is always 53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest to use flags in load script. Example is in attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 16:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772273#M1037657</guid>
      <dc:creator>mrybalko</dc:creator>
      <dc:date>2015-01-15T16:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772274#M1037658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks for reply/help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on possible solution is max(code).... as simple as that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 16:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772274#M1037658</guid>
      <dc:creator>cafcptg2011</dc:creator>
      <dc:date>2015-01-15T16:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772275#M1037659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one more solution: function FirstSortedValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the expression is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, -&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&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, 21 Jan 2015 14:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working/m-p/772275#M1037659</guid>
      <dc:creator>mrybalko</dc:creator>
      <dc:date>2015-01-21T14:35:24Z</dc:date>
    </item>
  </channel>
</rss>

