<?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: Current hour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360810#M134016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to get what I needed going, Can you please help me with this, I want to display in a table everything that happen in the past hour from now, please see the file attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Edzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 13:36:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-21T13:36:23Z</dc:date>
    <item>
      <title>Current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360808#M134014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, how do I display a current hour in a textbox? like displaying a current dat using =Today()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 11:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360808#M134014</guid>
      <dc:creator />
      <dc:date>2012-05-21T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360809#M134015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the Now() Function in text object .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Now()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Time(Now())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 11:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360809#M134015</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-05-21T11:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360810#M134016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to get what I needed going, Can you please help me with this, I want to display in a table everything that happen in the past hour from now, please see the file attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Edzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360810#M134016</guid>
      <dc:creator />
      <dc:date>2012-05-21T13:36:23Z</dc:date>
    </item>
    <item>
      <title>Current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360811#M134017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Here's an answer BUT make sure you heed the warnings on use of Now() !!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now()-(1/24) will give you the current time minus an hour so your dimension variable could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Yourtimestamp&amp;gt;=(Now()-(1/24),Test_Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;but &lt;/STRONG&gt;&lt;/SPAN&gt;Now() will poll the operating system every second to get the current time. With large data sets dependent upon the result of Now() and with many users you could significantly impact server performance.&amp;nbsp; Could you not use Now(0) instead?&amp;nbsp; This will use the datetime the script was last run and would not impact the server in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360811#M134017</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-21T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360812#M134018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the code below but still it doesn’t give return data for the past our, Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(text(date(Test_Date1,'YYYY/MM/DD')) = Date(Today(), 'YYYY/MM/DD') and hour(Test_Date1) &amp;gt;= (Now()-(1/24)),Test_Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Edzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 09:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360812#M134018</guid>
      <dc:creator />
      <dc:date>2012-05-22T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360813#M134019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're over-complicating it a bit!&amp;nbsp; See attached which uses a variable vFiltertime to define the minimum datetime.&amp;nbsp; The chart expression then uses this in set analysis rather than using IF statements in a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 10:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-hour/m-p/360813#M134019</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-22T10:19:49Z</dc:date>
    </item>
  </channel>
</rss>

