<?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 Date comparison in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926777#M320730</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 have 2 tables, one with customers who have used a discount code, and another that has all purchases for all customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wan't to calculate all the purchases a customer has made after the customer has used a discount code. So if a customers uses 2 discount codes, one sale could end up in two columns, one for each discount code, if the sale date is after both discount code dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a simple Excel with how my data looks like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 12:02:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-14T12:02:52Z</dc:date>
    <item>
      <title>Date comparison in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926777#M320730</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 have 2 tables, one with customers who have used a discount code, and another that has all purchases for all customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wan't to calculate all the purchases a customer has made after the customer has used a discount code. So if a customers uses 2 discount codes, one sale could end up in two columns, one for each discount code, if the sale date is after both discount code dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a simple Excel with how my data looks like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 12:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926777#M320730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-14T12:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926778#M320731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you also provide the result you are looking for in excel file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 12:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926778#M320731</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-08-14T12:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926779#M320732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added a third tab called "Result".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 12:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926779#M320732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-14T12:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926780#M320733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Straight Table&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;UserID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM(IF(OrderDate &amp;gt; DateUsedCode, Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 12:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-analysis/m-p/926780#M320733</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-08-14T12:33:22Z</dc:date>
    </item>
  </channel>
</rss>

