<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090257#M937436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Try this expression: sum({&amp;lt;Date={"&amp;lt;$(=date(min({&amp;lt;Sale1-={0}&amp;gt;}Date)))"}&amp;gt;}Sale2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 14:58:04 GMT</pubDate>
    <dc:creator>t_chetirbok</dc:creator>
    <dc:date>2016-02-10T14:58:04Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090255#M937434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not solve writing the expression for this problem, need ur help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Customer,Date, Sale1, Sale2&lt;/P&gt;&lt;P&gt;C1, 01/03/2014, 0,1&lt;/P&gt;&lt;P&gt;C1,01/10/2014,0,1&lt;/P&gt;&lt;P&gt;C1,01/25/2014,0,2&lt;/P&gt;&lt;P&gt;C1,03/02/2014,1,2&lt;/P&gt;&lt;P&gt;C1,04/01/2014,2,1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each Customer, find the 1st Sale1 Date and then sum of Sale2 before this date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: 1st Sale1 is on 03/02/2014 , i got to show sum(1+1+2) ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090255#M937434</guid>
      <dc:creator />
      <dc:date>2016-02-10T13:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090256#M937435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Date=P({&amp;lt;Sale1={"&amp;lt;=0"}&amp;gt;} Date)&amp;gt;} Sale2)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 14:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090256#M937435</guid>
      <dc:creator />
      <dc:date>2016-02-10T14:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090257#M937436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Try this expression: sum({&amp;lt;Date={"&amp;lt;$(=date(min({&amp;lt;Sale1-={0}&amp;gt;}Date)))"}&amp;gt;}Sale2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 14:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090257#M937436</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2016-02-10T14:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090258#M937437</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;this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Date={"&amp;lt;$(=Min({&amp;lt;Sale1=-{0}&amp;gt;} Date))"}&amp;gt;} Sale2)}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Sebastian Lettner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 15:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090258#M937437</guid>
      <dc:creator>sebastianlettner</dc:creator>
      <dc:date>2016-02-10T15:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090259#M937438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Min date got to be dynamic with the customer. each customer will have diff min date,i have not tried your exp but i assume $() sign will expand the exp before the calculation in the chart which makes it one min date for the entire table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 15:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090259#M937438</guid>
      <dc:creator />
      <dc:date>2016-02-10T15:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090260#M937439</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;do you need this to be done with set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, you could use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(If(Min(total&amp;lt;Customer&amp;gt;{$ &amp;lt;Sale1-={0}&amp;gt;}Date) &amp;lt;= Date, Sale2), Date, Customer)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Sebastian Lettner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 16:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090260#M937439</guid>
      <dc:creator>sebastianlettner</dc:creator>
      <dc:date>2016-02-10T16:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090261#M937440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! It's work perfectly! ))&lt;/P&gt;&lt;P&gt;try to use, if it's not work, share your example, please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 07:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1090261#M937440</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2016-02-11T07:05:16Z</dc:date>
    </item>
  </channel>
</rss>

