<?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: Date comparison in set expression to get count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952882#M327613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or if I want to use like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;[Order Date] = {"&amp;gt;=$(=Date(Today()))"}&amp;gt;} [Order Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(Today()) should be starting time to end time stamp for the comparison so that my order date will falls between start and end date and time today.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;How can I use between operator start date time and end date time today.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 17:54:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-17T17:54:11Z</dc:date>
    <item>
      <title>Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952875#M327606</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 date field in the script and am comparing Order date= today() in the set expression to get number of orders received today, I used below formula but it is not giving anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= COUNT({&amp;lt;Date([Order Date],'DD/MM/YYYY') = {"&amp;gt;=$(=Today()"}&amp;gt;}[Order Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and once I done this I will have to implement orders received this week and orders received in this month as well, pls let me know what is wrong in my formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952875#M327606</guid>
      <dc:creator />
      <dc:date>2015-12-17T17:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952876#M327607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What format does [Order Date] has?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this if [Order Date] is actually a date (dual) and not text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;[Order Date] = {"&amp;gt;=$(=Date(Today(), '&lt;SPAN style="color: #ff0000;"&gt;YourOrderDateFormatHere&lt;/SPAN&gt;'))"}&amp;gt;} [Order Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952876#M327607</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-17T17:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952877#M327608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My order date is in date and time stamp, but I don't want use date and time stamp I just wanted use date part only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use below formula, but no luck&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;Date([Order Date],'') = {"&amp;gt;=$(=Today()"}&amp;gt;} Date([Order Date],'DD/MM/YYYY'))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952877#M327608</guid>
      <dc:creator />
      <dc:date>2015-12-17T17:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952878#M327609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I think it would be best to handle this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Order Date] as TimeStamp,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor([Order Date])) as [Order Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you do that, you can simply use this expression (Without specifying the format of Order Date this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;[Order Date] = {"&amp;gt;=$(=Date(Today()))"}&amp;gt;} [Order Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: You cannot use functions on the left hand side of the set analysis modifier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952878#M327609</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-17T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952879#M327610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use OLE DB and my script looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT "Order Date",&amp;nbsp; -- When I try to use Date (Order Date,'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;'Order ID',&lt;/P&gt;&lt;P&gt;Value&lt;/P&gt;&lt;P&gt;FROM ABC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gives me the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952879#M327610</guid>
      <dc:creator />
      <dc:date>2015-12-17T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952880#M327611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do it on top of your OLE DB Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD [Order Date] as TimeStamp,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor([Order Date])) as [Order Date];&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SQL SELECT "Order Date",&amp;nbsp; -- When I try to use Date (Order Date,'DD/MM/YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;'Order ID',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM ABC;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952880#M327611</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-17T17:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952881#M327612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I do this I am missing Order ID and Value from the list of the fields &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952881#M327612</guid>
      <dc:creator />
      <dc:date>2015-12-17T17:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952882#M327613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or if I want to use like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;[Order Date] = {"&amp;gt;=$(=Date(Today()))"}&amp;gt;} [Order Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(Today()) should be starting time to end time stamp for the comparison so that my order date will falls between start and end date and time today.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;How can I use between operator start date time and end date time today.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952882#M327613</guid>
      <dc:creator />
      <dc:date>2015-12-17T17:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952883#M327614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to add all those fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD [Order Date] as TimeStamp,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor([Order Date])) as [Order Date],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Order ID],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value; &lt;/STRONG&gt;// add any other you want to bring into your application from the SQL load&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SQL SELECT "Order Date",&amp;nbsp; -- When I try to use Date (Order Date,'DD/MM/YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'Order ID',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FROM ABC;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952883#M327614</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-17T17:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952884#M327615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;May be this:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Count({&amp;lt;[Order Date] = {"&amp;gt;=$(=TimeStamp(DayStart(Now()))&amp;lt;=&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;$(=TimeStamp(DayEnd(Now())))&lt;/STRONG&gt;&lt;/SPAN&gt;"}&amp;gt;} [Order Date])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Update: &lt;/STRONG&gt;You may be required to specify the timestamp format of Order Date:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Count({&amp;lt;[Order Date] = {"&amp;gt;=$(=TimeStamp(DayStart(Now()), 'OrderDateFormat')&amp;lt;=&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;$(=TimeStamp(DayEnd(Now()), '&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OrderDateFormat&lt;/STRONG&gt;'))&lt;/STRONG&gt;&lt;/SPAN&gt;"}&amp;gt;} [Order Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952884#M327615</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-17T17:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952885#M327616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny this is working fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Order Date] = {"&amp;gt;=$(=Date(Today()))"}&amp;gt;} [Order Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I am in the process of comparing past 1 week and I used below one and it worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Document Date] = {"&amp;lt;=$(=Date(Today()))&amp;gt;=$(=Date(Today()-7,'DD/MM/YYYY'))"}&amp;gt;} [Document Date])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 18:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952885#M327616</guid>
      <dc:creator />
      <dc:date>2015-12-17T18:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952886#M327617</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 am creating few formula's this week assuming starts from Sunday and current month in the set expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below are the formula which I have written but its not working as expected. I am not using any variables in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Month: =COUNT({$&amp;lt;OrderYr = {$(=Year(Today()))}&amp;gt;,&amp;lt;OrderMth={$(=Month(Today()))}&amp;gt;}Distinct Customers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This week: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Count({&amp;lt;[Order Date] = {"&amp;lt;=$(=Date(Today()))&amp;gt;=$(=Date(Today()-7,'DD/MM/YYYY'))"}&amp;gt;} [Order Date])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone pls correct the formulas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 17:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952886#M327617</guid>
      <dc:creator />
      <dc:date>2015-12-18T17:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date comparison in set expression to get count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952887#M327618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be much easier if you are able to share a sample with the output you are expecting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 17:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-comparison-in-set-expression-to-get-count/m-p/952887#M327618</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-18T17:20:34Z</dc:date>
    </item>
  </channel>
</rss>

