<?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 Comparing Two Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267381#M461285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A even better approach here would be to create a flag in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If([Close Date] &amp;gt; [Campaign Start Date], 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Flag = {1}&amp;gt;} &lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Upsell ARR (converted)])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 19:21:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-31T19:21:54Z</dc:date>
    <item>
      <title>Set Analysis Comparing Two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267377#M461281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically, I only want to SUM the $$ &lt;SPAN style="font-size: 13.3333px;"&gt;[Upsell ARR (converted)]&lt;/SPAN&gt; if the Close Date of an Opp is &amp;gt; the start of a campaign. I feel like I have the right syntax below but it isnt working. Maybe I am overlooking something. Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Close Date] = {'&amp;gt;[Campaign Start Date]'}&amp;gt;}[Upsell ARR (converted)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 18:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267377#M461281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T18:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Comparing Two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267378#M461282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your Close Date and Campaign Start Date, holds same date formatting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 19:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267378#M461282</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-01-31T19:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Comparing Two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267379#M461283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(If([Close Date] &amp;gt; [Campaign Start Date], [Upsell ARR (converted)]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 19:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267379#M461283</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-31T19:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Comparing Two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267380#M461284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked thank you Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 19:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267380#M461284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T19:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Comparing Two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267381#M461285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A even better approach here would be to create a flag in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If([Close Date] &amp;gt; [Campaign Start Date], 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Flag = {1}&amp;gt;} &lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Upsell ARR (converted)])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 19:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267381#M461285</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-31T19:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Comparing Two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267382#M461286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Campaign Start Date and Close Dates aren't static so they need to be calculated per user selections, but thank you for the tip!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 19:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparing-Two-Dates/m-p/1267382#M461286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T19:41:04Z</dc:date>
    </item>
  </channel>
</rss>

