<?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: if condition between two time stamps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209878#M881679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2016 15:32:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-10T15:32:10Z</dc:date>
    <item>
      <title>if condition between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209875#M881676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to do an if condition between two times&lt;/P&gt;&lt;P&gt;Accesstime, Clearingtime. these are not in the timestamp format.&lt;/P&gt;&lt;P&gt;My condition is if (Accesstime - Clearingtime) is less than 30 minutes, then count the distinct salesproducts by year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m trying the below expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Time(&lt;SPAN style="font-size: 13.3333px;"&gt;Accesstime &lt;/SPAN&gt;,'hh:mm:ss')-Time(&lt;SPAN style="font-size: 13.3333px;"&gt;Clearingtime&lt;/SPAN&gt;,'hh:mm:ss') &amp;lt;=('00:30:00'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count(DISTINCT &lt;SPAN style="font-size: 13.3333px;"&gt;ProductNumber&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is working fine if my dimension is &lt;STRONG style="font-size: 13.3333px;"&gt;ProductNumber.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want to calculate this by year, by month,.. it is not working with my calendar dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to correct my expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209875#M881676</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if condition between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209876#M881677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;P&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;Count(DISTINCT &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;If(Time(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Accesstime &lt;/SPAN&gt;,'hh:mm:ss')-Time(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Clearingtime&lt;/SPAN&gt;,'hh:mm:ss') &amp;lt;=('00:30:00'),&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ProductNumber&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 14:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209876#M881677</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-10T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: if condition between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209877#M881678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 13px;"&gt;IF(Time(Interval(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Accesstime &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; font-size: 13px;"&gt;- &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Clearingtime)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt;,'hh:mm:ss') &amp;lt;=('00:30:00'),&lt;/SPAN&gt;&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;count(DISTINCT &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ProductNumber&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 15:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209877#M881678</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-10T15:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: if condition between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209878#M881679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 15:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-between-two-time-stamps/m-p/1209878#M881679</guid>
      <dc:creator />
      <dc:date>2016-10-10T15:32:10Z</dc:date>
    </item>
  </channel>
</rss>

