<?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 Help with Set Analysis - MAX in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438719#M560626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with MONTH, WEEK, DAY, PRODUCT and VALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a graph with dimension MONTH and PRODUCT, in expresson I need the VALUE of the biggest day of the month. (This value will be used to perform other account)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problems encountered: When do the set analysis to catch the biggest day of the month, he does not respect the month dimension. Only respect when I selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression used: SUM({$&amp;lt;DATA = {$(=max(DATA))} &amp;gt;} VALOR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to use AGGR, but had no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the example application.&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>Tue, 09 Apr 2013 19:41:06 GMT</pubDate>
    <dc:creator>nicolett_yuri</dc:creator>
    <dc:date>2013-04-09T19:41:06Z</dc:date>
    <item>
      <title>Help with Set Analysis - MAX</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438719#M560626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with MONTH, WEEK, DAY, PRODUCT and VALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a graph with dimension MONTH and PRODUCT, in expresson I need the VALUE of the biggest day of the month. (This value will be used to perform other account)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problems encountered: When do the set analysis to catch the biggest day of the month, he does not respect the month dimension. Only respect when I selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression used: SUM({$&amp;lt;DATA = {$(=max(DATA))} &amp;gt;} VALOR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to use AGGR, but had no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the example application.&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>Tue, 09 Apr 2013 19:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438719#M560626</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2013-04-09T19:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis - MAX</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438720#M560627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved the problem without using Set Analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DATA &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Nodistinct&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DATA &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;MES&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;PRODUTO &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;VALOR &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; color: #222222; font-family: Arial, sans-serif;"&gt;But if someone solve otherwise post here!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 23:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438720#M560627</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2013-04-09T23:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis - MAX</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438721#M560628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to me that your maximum DATA per MES and PRODUTO might be static (not depending on selections), so you could add a flag to your data model (add these lines to your script):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Calendario) LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MES,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRODUTO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(DATA) as DATA, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as MAXDATAFLAG &lt;/P&gt;&lt;P&gt;Resident Calendario group by MES,PRODUTO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this as expression in your chart with dimensions MES and PRODUTO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;MAXDATAFLAG={1}&amp;gt;} VALOR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 12:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438721#M560628</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-04-10T12:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis - MAX</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438722#M560629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's not possible to use Set Analysis in the way how the data looks as there is no unique connection between DATA and MES...and I think thats the problem here. Guess you have to script it differently (e.g. sript calendar-table and data-table separately) - then set analysis should be no problem. &lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 13:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438722#M560629</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2013-04-10T13:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis - MAX</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438723#M560630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good idea, but I'll not solve my problem in script because I'll need another solutions to day, week, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 18:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-MAX/m-p/438723#M560630</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2013-04-10T18:08:20Z</dc:date>
    </item>
  </channel>
</rss>

