<?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: Comparing two dates in Set Analysis challenge in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231055#M24049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So did you manage to get this resolved? I am a little confused from your response. You wrote 'Awesome' which made me think that something worked..... but then first expression timed out? it showed a result and then timed out? (and second one didn't really work at all)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I wonder if its resolved or not &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 12:30:15 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-12T12:30:15Z</dc:date>
    <item>
      <title>Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231051#M24045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is wrong with this set analysis statement?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;Scenario = {'Actual'}, Date(FLOOR(TimeStamp#(PR_BUSINESS_DAY))) = {'=$(vCurrentDate}' &amp;gt;} AMOUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script I have:&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;LET vCurrentDate = Today();&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt; Which generates:&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt; 1/11/2017&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;/P&gt;&lt;P&gt;Testing the timestamp removal works as expected:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(FLOOR(TimeStamp#(PR_BUSINESS_DAY))) &lt;/P&gt;&lt;P style="text-indent: .5in;"&gt; changes datetime of --&amp;gt; 5/4/2016 12:00:00 AM&amp;nbsp; --&amp;gt; to 5/4/2016 as expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a table object I have this that is not working:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Scenario = {'Actual'}, Date(FLOOR(TimeStamp#(PR_BUSINESS_DAY))) = {'=$(vCurrentDate}' &amp;gt;} AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returns all of the rows when I should only return the one THAT MATCHES THE DATE!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone see the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 17:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231051#M24045</guid>
      <dc:creator>deerhunter</dc:creator>
      <dc:date>2017-01-11T17:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231052#M24046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this in the script:&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;Date(FLOOR(TimeStamp#(PR_BUSINESS_DAY))) as &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;PR_BUSINESS_DAY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this:&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({&amp;lt;Scenario = {'Actual'}, PR_BUSINESS_DAY = {'$(=vCurrentDate)'}&amp;gt;} AMOUNT)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try this:&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({&amp;lt;Scenario = {'Actual'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PR_BUSINESS_DAY&lt;/SPAN&gt; = {"=Date(FLOOR(TimeStamp#(PR_BUSINESS_DAY))) = $(vCurrentDate)"}&amp;gt;} AMOUNT)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 17:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231052#M24046</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-11T17:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231053#M24047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, the first suggestion worked but timed out. The second returned a single row really quick with nothing in it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 20:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231053#M24047</guid>
      <dc:creator>deerhunter</dc:creator>
      <dc:date>2017-01-11T20:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231054#M24048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;You can only have a bare field on the left-hand-side of the = inside the modifiers which are &amp;lt; and &amp;gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Sum({&amp;lt;Scenario = {'Actual'}, PR_BUSINESS_DAY_DT={'$(vCurrentDate'}&amp;gt;} AMOUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;You need to create an extra field by doing this in the appropriate LOAD:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(FLOOR(TimeStamp#(PR_BUSINESS_DAY))) AS PR_BUSINESS_DAY_DT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 21:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231054#M24048</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-01-11T21:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231055#M24049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So did you manage to get this resolved? I am a little confused from your response. You wrote 'Awesome' which made me think that something worked..... but then first expression timed out? it showed a result and then timed out? (and second one didn't really work at all)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I wonder if its resolved or not &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 12:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231055#M24049</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-12T12:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231056#M24050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it worked, very sorry for the confusion. i used your first example by placing it in the load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you sooooooo much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 14:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231056#M24050</guid>
      <dc:creator>deerhunter</dc:creator>
      <dc:date>2017-01-13T14:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231057#M24051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, please close the thread by marking the correct response also.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 14:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231057#M24051</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-13T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231058#M24052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing, how do i do that? Close the thread!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231058#M24052</guid>
      <dc:creator>deerhunter</dc:creator>
      <dc:date>2017-01-13T15:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two dates in Set Analysis challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231059#M24053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shared a link above which tells you exactly how to close a thread &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; (Sharing it again)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-two-dates-in-Set-Analysis-challenge/m-p/1231059#M24053</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-13T15:44:40Z</dc:date>
    </item>
  </channel>
</rss>

