<?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: Problem with Set Analysis aggr max Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Set-Analysis-aggr-max-Date/m-p/1027432#M522977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 07:42:02 GMT</pubDate>
    <dc:creator>DaanBrand</dc:creator>
    <dc:date>2016-04-14T07:42:02Z</dc:date>
    <item>
      <title>Problem with Set Analysis aggr max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Set-Analysis-aggr-max-Date/m-p/1027430#M522975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Hi, all&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; line-height: 19.5px; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; line-height: 19.5px; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;I have a problem with Set Analysis. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; line-height: 19.5px; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;I &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;want to show the sum of [Aantal] when the THT_Datum = the Maximum THT_Datum per PartijNummer per Artikel. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; line-height: 19.5px; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="color: #575757;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; line-height: 19.5px; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I'm using the following expression;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; line-height: 19.5px; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="color: #575757;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Sum ({&amp;lt;THT_Datum = {"$(=aggr(nodistinct(max(THT_Datum)),PartijNummer,Artikel))"}&amp;gt;}Aantal) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;When I have no selections made it will return only 0 values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;IMG alt="Knipsel1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121550_Knipsel1.PNG" style="width: 620px; height: 485px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt; If I make a selection based on one PartijNummer it will return the correct Values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;IMG alt="Knipsel2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/121552_Knipsel2.PNG" style="width: 620px; height: 105px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;I can solve it with an IF expression but i want to solve it in Set Analysis because I also need the data per Week. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Is there anyone who can help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Thank you very much in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Daan&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, 13 Apr 2016 14:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Set-Analysis-aggr-max-Date/m-p/1027430#M522975</guid>
      <dc:creator>DaanBrand</dc:creator>
      <dc:date>2016-04-13T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set Analysis aggr max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Set-Analysis-aggr-max-Date/m-p/1027431#M522976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could consider flagging the records where &lt;SPAN style="font-size: 13.3333px;"&gt;THT_Datum = the Maximum THT_Datum per PartijNummer per Artikel in your script. Then use this flag in your set expression to filter the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis is only evaluated once per chart, not per chart line / dimension line, so you won't get a correct evaluation of your date field modifier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 16:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Set-Analysis-aggr-max-Date/m-p/1027431#M522976</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-13T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Set Analysis aggr max Date</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Set-Analysis-aggr-max-Date/m-p/1027432#M522977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 07:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Set-Analysis-aggr-max-Date/m-p/1027432#M522977</guid>
      <dc:creator>DaanBrand</dc:creator>
      <dc:date>2016-04-14T07:42:02Z</dc:date>
    </item>
  </channel>
</rss>

