<?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: Problem with if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Re-Problem-with-if-statement/m-p/1830203#M1245628</link>
    <description>&lt;P&gt;Yes, that did it! I had tried using =if(hour &amp;lt;= Num(Date(Now(),'hh')), hour, NULL()) to convert it to a integer but wasn't getting any useful results. Didn't think to convert using hour(). Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 12:56:45 GMT</pubDate>
    <dc:creator>bsocks_11415</dc:creator>
    <dc:date>2021-08-20T12:56:45Z</dc:date>
    <item>
      <title>Re: Problem with if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Re-Problem-with-if-statement/m-p/1830028#M1245624</link>
      <description>&lt;P&gt;The problem is that even thought he presentation is an integer, this is still a timestamp, so if you add the hour function, you convert it to an integer..&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(hour &amp;lt;= hour(Date(Now(),'hh')), hour, NULL())&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-Problem-with-if-statement/m-p/1830028#M1245624</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Re-Problem-with-if-statement/m-p/1830203#M1245628</link>
      <description>&lt;P&gt;Yes, that did it! I had tried using =if(hour &amp;lt;= Num(Date(Now(),'hh')), hour, NULL()) to convert it to a integer but wasn't getting any useful results. Didn't think to convert using hour(). Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 12:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-Problem-with-if-statement/m-p/1830203#M1245628</guid>
      <dc:creator>bsocks_11415</dc:creator>
      <dc:date>2021-08-20T12:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Re-Problem-with-if-statement/m-p/1830299#M1245633</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;FYI: Simply, you can use hour function instead of &lt;SPAN&gt;hour(Date(Now(),'hh'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=hour(Now())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 02:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-Problem-with-if-statement/m-p/1830299#M1245633</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-08-21T02:27:23Z</dc:date>
    </item>
  </channel>
</rss>

