<?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 Dates in Set Analysys. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720205#M1059510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a fairly simple expression that does a SUM based on some set analysis.&amp;nbsp; It works perfectly until I try to compare two dates.&amp;nbsp; My expression is:&amp;nbsp; Sum({&amp;lt;{who={1,6}, [Stip Deactivated]={'No'}, [Stip Cleared]={'No'}, [Stip Evaluated={'Yes'}&amp;gt;} [Stip Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All dates loaded into the model are loaded as follows:&lt;/P&gt;&lt;P&gt;Date(Floor("Stip Evaluated Date")) as [Stip Evaluated Date],&lt;/P&gt;&lt;P&gt;Date(Floor("Stip Submitted Date")) as [Stip Submitted Date],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is add Stip Submitted Date &amp;lt; Stip Evaluated Date. I have tried countless ways to do this but it never seems to evaluate.&amp;nbsp; I have tried [Stip Submitted Date]={"&amp;lt;$(=Date([Stip Evaluated Date]))"}.&amp;nbsp; I gave tried this with both single and double quotes.&amp;nbsp; Nothing seems to evaluate correctly.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 16:29:49 GMT</pubDate>
    <dc:creator>kevincase</dc:creator>
    <dc:date>2014-09-29T16:29:49Z</dc:date>
    <item>
      <title>Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720205#M1059510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a fairly simple expression that does a SUM based on some set analysis.&amp;nbsp; It works perfectly until I try to compare two dates.&amp;nbsp; My expression is:&amp;nbsp; Sum({&amp;lt;{who={1,6}, [Stip Deactivated]={'No'}, [Stip Cleared]={'No'}, [Stip Evaluated={'Yes'}&amp;gt;} [Stip Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All dates loaded into the model are loaded as follows:&lt;/P&gt;&lt;P&gt;Date(Floor("Stip Evaluated Date")) as [Stip Evaluated Date],&lt;/P&gt;&lt;P&gt;Date(Floor("Stip Submitted Date")) as [Stip Submitted Date],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is add Stip Submitted Date &amp;lt; Stip Evaluated Date. I have tried countless ways to do this but it never seems to evaluate.&amp;nbsp; I have tried [Stip Submitted Date]={"&amp;lt;$(=Date([Stip Evaluated Date]))"}.&amp;nbsp; I gave tried this with both single and double quotes.&amp;nbsp; Nothing seems to evaluate correctly.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 16:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720205#M1059510</guid>
      <dc:creator>kevincase</dc:creator>
      <dc:date>2014-09-29T16:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720206#M1059511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the set Expression Looks good!&lt;/P&gt;&lt;P&gt;can you test in a TextBox if [Stip Submitted Date] and Date([Stip Evaluated Date]) have the same date formats?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 16:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720206#M1059511</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T16:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720207#M1059512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 16:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720207#M1059512</guid>
      <dc:creator />
      <dc:date>2014-09-29T16:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720208#M1059513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, they display as the same format.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 17:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720208#M1059513</guid>
      <dc:creator>kevincase</dc:creator>
      <dc:date>2014-09-29T17:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720209#M1059514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://"&gt;http://&lt;/A&gt;Here is a quick sample.&amp;nbsp; I want to add the condition that Stip Submitted Date &amp;lt; Stip Evaluated Date.&amp;nbsp; This should drop the sum to around 1293 (give or take).&amp;nbsp; This is old sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 17:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720209#M1059514</guid>
      <dc:creator>kevincase</dc:creator>
      <dc:date>2014-09-29T17:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720210#M1059515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try something like below:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Who={1,6}, [Stip Deactivated]={'No'}, [Stip Cleared]={'No'}, [Stip Evaluated]={'Yes'}, [Stip Submitted Date] = {"&amp;lt;$(=max([Stip Evaluated Date]))"}&amp;gt;} [Stip Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 18:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720210#M1059515</guid>
      <dc:creator />
      <dc:date>2014-09-29T18:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720211#M1059516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;once again i think there is a little bit confusion on what set analysis those&lt;/P&gt;&lt;P&gt;set analysis is like making a selection in the model , so basically it returns the same result to all rows in a table or expression&lt;/P&gt;&lt;P&gt;so i your case you need to use if statement &lt;/P&gt;&lt;P&gt;i changed the expression to &lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Who={1,6}, [Stip Deactivated]={'No'}, [Stip Cleared]={'No'}, [Stip Evaluated]={'Yes'}&amp;gt;} if([Stip Submitted Date]&amp;lt;[Stip Evaluated Date], [Stip Count]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it seems to work perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 18:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720211#M1059516</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-09-29T18:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Dates in Set Analysys.</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720212#M1059517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Liron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to give me what I need.&amp;nbsp; Thanks for the help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysys/m-p/720212#M1059517</guid>
      <dc:creator>kevincase</dc:creator>
      <dc:date>2014-09-30T14:13:17Z</dc:date>
    </item>
  </channel>
</rss>

