<?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: Expression on how to get data by specific time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502125#M690867</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;The expression which I gave you restricts the records less than or equal to the '8/22/2013&amp;nbsp; 12:00:00 PM', since your post heading says "get data by specific time".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have this flag&lt;/P&gt;&lt;P&gt;if(Date(Date#()),'DD.MM.YYYY hh:mm:ss TT')&amp;lt;=Date(&lt;/P&gt;&lt;P&gt;Date#('DD.MM.YYYY 12:00:00 PM'),'DD.MM.YYYY hh:mm:ss TT'),'Within','Over'&lt;/P&gt;&lt;P&gt;as SLA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can restrict like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;SLA={'Within'}&amp;gt;} Value) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the best method, since calculation is done in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 04:03:37 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-10-22T04:03:37Z</dc:date>
    <item>
      <title>Expression on how to get data by specific time</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502122#M690864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im currently doing an expenxe report. can you please help me how will I get all the expense reports submitted in a particular time? For Ex: Id like to get all the expense reports submitted not later than 12:00 noon? Here's the example of my date format (8/22/2013&amp;nbsp; 12:14:04 PM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 02:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502122#M690864</guid>
      <dc:creator />
      <dc:date>2013-10-22T02:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Expression on how to get data by specific time</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502123#M690865</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;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;DateTimeDimension={"&amp;lt;=$(=Date(Date#('8/22/2013&amp;nbsp; 12:00:00 PM', 'M/D/YYYY hh:mm:ss TT'), 'M/D/YYYY hh:mm:ss TT)")}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOpe this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 03:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502123#M690865</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-22T03:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression on how to get data by specific time</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502124#M690866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for this but im still a bit confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(Date(Date#()),'DD.MM.YYYY hh:mm:ss TT')&amp;lt;=Date(&lt;/P&gt;&lt;P&gt;Date#('DD.MM.YYYY 12:00:00 PM'),'DD.MM.YYYY hh:mm:ss TT'),'Within','Over'&lt;/P&gt;&lt;P&gt;as SLA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Above is what I did.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Also, with the script that you gave, what will I put instead of&lt;/P&gt;&lt;P&gt;('8/22/2013  12:00:00 PM', 'M/D/YYYY hh:mm:ss TT') since I have lots of&lt;/P&gt;&lt;P&gt;dates in my Step Entry Date/Time field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 03:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502124#M690866</guid>
      <dc:creator />
      <dc:date>2013-10-22T03:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression on how to get data by specific time</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502125#M690867</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;The expression which I gave you restricts the records less than or equal to the '8/22/2013&amp;nbsp; 12:00:00 PM', since your post heading says "get data by specific time".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have this flag&lt;/P&gt;&lt;P&gt;if(Date(Date#()),'DD.MM.YYYY hh:mm:ss TT')&amp;lt;=Date(&lt;/P&gt;&lt;P&gt;Date#('DD.MM.YYYY 12:00:00 PM'),'DD.MM.YYYY hh:mm:ss TT'),'Within','Over'&lt;/P&gt;&lt;P&gt;as SLA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can restrict like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;SLA={'Within'}&amp;gt;} Value) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the best method, since calculation is done in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 04:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-on-how-to-get-data-by-specific-time/m-p/502125#M690867</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-22T04:03:37Z</dc:date>
    </item>
  </channel>
</rss>

