<?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: how to extract hour from date column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107777#M366752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Hour(Timestamp(DateField))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where DateField should be proper DateTime format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2016 11:02:44 GMT</pubDate>
    <dc:creator>saimahasan</dc:creator>
    <dc:date>2016-07-21T11:02:44Z</dc:date>
    <item>
      <title>how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107770#M366745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date column (Calendar_Dt) and want to exactract Hour from that column.i need to use this hour column in dimensions to display as 00 to 23, the complete 24 hours has to display in bar chart. So that based on hour i am calucating answered, abandoned calls like that.. can anybody help me on this. thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 12:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107770#M366745</guid>
      <dc:creator />
      <dc:date>2016-07-20T12:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107771#M366746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using &lt;STRONG&gt;Hour()&lt;/STRONG&gt; function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hour(Calendar_Dt) as Hour&lt;/STRONG&gt;&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;Calculated dimension:&lt;/P&gt;&lt;P&gt;Hour(&lt;STRONG style="font-size: 13.3333px;"&gt;Calendar_Dt)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 13:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107771#M366746</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-20T13:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107772#M366747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i have used it under fiscal_calendar dimension at script level and reloaded the application, its showing only '0' for that particular column 'Hour'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use Hour column i want to get the values like 00,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 to show the number of calls for each hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other solution which we can get desired output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 04:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107772#M366747</guid>
      <dc:creator />
      <dc:date>2016-07-21T04:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107773#M366748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And currently i dont have date column in timestamp format thats what am using below expression to convert it to hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Time(num((Calendar_Dt)/24),'hh'), when i use this expression in calculated dimension, am getting the number of hours from 00 to 23 but getting hour values for all dates which Calendar_Dt has. How to get the hour values only one time to display constantly, can we distinct these values anywhere or can we use any function to get values only once in chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise. thank you&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 07:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107773#M366748</guid>
      <dc:creator />
      <dc:date>2016-07-21T07:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107774#M366749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Time(Hour(Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// I think Your Date field must contains time as well to find Hours&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 07:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107774#M366749</guid>
      <dc:creator />
      <dc:date>2016-07-21T07:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107775#M366750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be your date field is not having time part which you used in the script. I think if you use time or timestamp type, it will show correct hour.&lt;/P&gt;&lt;P&gt;If you try below function in textbox it shows 05 as hour.&lt;/P&gt;&lt;P&gt;=Hour(Timestamp#('20-07-2016 05:57:10'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 07:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107775#M366750</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-07-21T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107776#M366751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check whether your OS time format is same as the &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Calendar_Dt format and also check your &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Calendar_Dt date format .. if still issue persist share some sample data &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 07:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107776#M366751</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-07-21T07:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107777#M366752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Hour(Timestamp(DateField))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where DateField should be proper DateTime format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 11:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107777#M366752</guid>
      <dc:creator>saimahasan</dc:creator>
      <dc:date>2016-07-21T11:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107778#M366753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately i dont have the date column with timestamp format to extract hour. i checked at DB level, there we have the time format for different&amp;nbsp; columns but not for Calendar_Dt column, so could i use any other column which will have time stamp?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107778#M366753</guid>
      <dc:creator />
      <dc:date>2016-07-21T17:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107779#M366754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use any column as long as it has time and it serves the business purpose &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107779#M366754</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-07-21T18:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract hour from date column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107780#M366755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Avinash ,&lt;/P&gt;&lt;P&gt;Can you advise me with the below request from posted thread yeterday .How can I build the logic?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/256073"&gt;STRAIGHT TABLE DATE CAN BE MAPPED WITH 0-23 hours and then do the logic based on HOUR filter.?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 07:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-extract-hour-from-date-column/m-p/1107780#M366755</guid>
      <dc:creator>aj0031724</dc:creator>
      <dc:date>2017-04-06T07:43:45Z</dc:date>
    </item>
  </channel>
</rss>

