<?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: Grouping time to morning, noon and evening in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376583#M612928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, please close this thread by marking correct and helpful responses.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Aug 2017 15:37:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-25T15:37:38Z</dc:date>
    <item>
      <title>Grouping time to morning, noon and evening</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376579#M612924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field called 'visit_last_action_time' which delivers me the exact user's time of last action, formatted as "hh:mm:ss" (e.g. "10:03:03")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to group these time stamps into Morning, Noon and Evening.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried the if function:&lt;/P&gt;&lt;P&gt;=if (visit_last_action_time &amp;gt; '12:00:00', 'Morning')&lt;/P&gt;&lt;P&gt;but it does not work properly, since the time stamps of different dates are not clustered together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Philipp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 09:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376579#M612924</guid>
      <dc:creator>un_check24</dc:creator>
      <dc:date>2017-08-24T09:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping time to morning, noon and evening</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376580#M612925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;1 example&lt;/P&gt;&lt;P&gt;dual(timestamp(class(frac(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;visit_last_action_time &lt;/SPAN&gt;),&lt;SPAN style="text-decoration: underline;"&gt;480&lt;/SPAN&gt;/(24*60)),'h:mm TT') &amp;amp; ' - ' &amp;amp; timestamp(class(frac(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;visit_last_action_time &lt;/SPAN&gt;)+480/(24*60),&lt;SPAN style="text-decoration: underline;"&gt;480&lt;/SPAN&gt;/(24*60)),'h:mm TT'), class(frac(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;visit_last_action_time &lt;/SPAN&gt;),&lt;SPAN style="text-decoration: underline;"&gt;480&lt;/SPAN&gt;/(24*60))) as Betwen_HRS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 21:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376580#M612925</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-08-24T21:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping time to morning, noon and evening</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376581#M612926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Frac(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;visit_last_action_time) &amp;lt; MakeTime(12), 'Morning',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Frac(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;visit_last_action_time) = MakeTime(12), 'Noon', 'Evening')) as Period&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that till 11:59 AM, it is morning and 12 pm is Noon and after that is evening..... change these according to your needs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 00:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376581#M612926</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-25T00:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping time to morning, noon and evening</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376582#M612927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much to you guys, both worked and gives me some great new insights :-)!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 08:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376582#M612927</guid>
      <dc:creator>un_check24</dc:creator>
      <dc:date>2017-08-25T08:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping time to morning, noon and evening</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376583#M612928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, please close this thread by marking correct and helpful responses.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 15:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-time-to-morning-noon-and-evening/m-p/1376583#M612928</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-25T15:37:38Z</dc:date>
    </item>
  </channel>
</rss>

