<?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: Button to select current hour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-to-select-current-hour/m-p/1803570#M1211910</link>
    <description>&lt;P&gt;is it possible your In Hour field is a number field and not a time field?&amp;nbsp; Time i believe will return a dual.&amp;nbsp; first i would try using a hard coded value in your action just to test the selection (make sure it is selectable from a list for In Hour), then maybe use num() function&amp;nbsp; to return the number component of your expression.&amp;nbsp; of course make sure your expression returns a selectable value&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 15:18:00 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-04-28T15:18:00Z</dc:date>
    <item>
      <title>Button to select current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Button-to-select-current-hour/m-p/1802730#M1211839</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm currently developing a dashboard which includes several buttons for users to make quick selections. One of these, for example, selects today's data using the simple expression&amp;nbsp;&lt;STRONG&gt;=Today()&lt;/STRONG&gt; on a&amp;nbsp; Date field.&lt;/P&gt;&lt;P&gt;My current problem is with attempting to create a similar button, but to select data from the last hour. I have a field available called "&lt;STRONG&gt;In Hour&lt;/STRONG&gt;", which just shows each hour of the day in hh format. I have tried using several expressions to select the current hour from this field, currently&amp;nbsp; &lt;STRONG&gt;=Time(now(), 'hh')&lt;/STRONG&gt;. However, nothing seems to trigger a selection, despite the fact that the same formula produces the correct value when placed on a KPI.&lt;/P&gt;&lt;P&gt;Does anybody know of a solution for this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 14:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-to-select-current-hour/m-p/1802730#M1211839</guid>
      <dc:creator>jordan1</dc:creator>
      <dc:date>2021-04-26T14:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Button to select current hour</title>
      <link>https://community.qlik.com/t5/QlikView/Button-to-select-current-hour/m-p/1803570#M1211910</link>
      <description>&lt;P&gt;is it possible your In Hour field is a number field and not a time field?&amp;nbsp; Time i believe will return a dual.&amp;nbsp; first i would try using a hard coded value in your action just to test the selection (make sure it is selectable from a list for In Hour), then maybe use num() function&amp;nbsp; to return the number component of your expression.&amp;nbsp; of course make sure your expression returns a selectable value&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 15:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-to-select-current-hour/m-p/1803570#M1211910</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-04-28T15:18:00Z</dc:date>
    </item>
  </channel>
</rss>

