<?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: Time range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-range/m-p/847191#M469559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First you need a semicolon before the SQL command:&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;Load *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Time(subfield(CallUniversalTime, ' ' ,'hh:mm:ss')) as Time&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "HN_Ondata".dbo.ODCalls where FirstCampaign = '1743'and Time &amp;gt; '04:00:00' and Time &amp;lt; '15:00:00';&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Secondly - test your SQL query in SQL Management Studio (or other tool like Toad). Verify the data type of [Time]. SQL does not have a time data type, so this will be a datetime field. What is the date portion of the field? Perhaps that is why the query is failing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 05:12:45 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-06-30T05:12:45Z</dc:date>
    <item>
      <title>Time range</title>
      <link>https://community.qlik.com/t5/QlikView/Time-range/m-p/847188#M469556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue I need to load data from a specific time (from 04:00:00 to 15:00:00).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my load script in my call table i used the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Time(subfield(CallUniversalTime, ' ' ,'hh:mm:ss')) as Time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "HN_Ondata".dbo.ODCalls where FirstCampaign = '1743'and Time &amp;gt; '04:00:00' and Time &amp;lt; '15:00:00';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 04:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-range/m-p/847188#M469556</guid>
      <dc:creator />
      <dc:date>2015-06-30T04:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Time range</title>
      <link>https://community.qlik.com/t5/QlikView/Time-range/m-p/847189#M469557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try by converting the time to Number format while equating in the Time field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 04:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-range/m-p/847189#M469557</guid>
      <dc:creator>vivek_niti</dc:creator>
      <dc:date>2015-06-30T04:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Time range</title>
      <link>https://community.qlik.com/t5/QlikView/Time-range/m-p/847190#M469558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me an example please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 05:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-range/m-p/847190#M469558</guid>
      <dc:creator />
      <dc:date>2015-06-30T05:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Time range</title>
      <link>https://community.qlik.com/t5/QlikView/Time-range/m-p/847191#M469559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First you need a semicolon before the SQL command:&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;Load *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Time(subfield(CallUniversalTime, ' ' ,'hh:mm:ss')) as Time&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "HN_Ondata".dbo.ODCalls where FirstCampaign = '1743'and Time &amp;gt; '04:00:00' and Time &amp;lt; '15:00:00';&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Secondly - test your SQL query in SQL Management Studio (or other tool like Toad). Verify the data type of [Time]. SQL does not have a time data type, so this will be a datetime field. What is the date portion of the field? Perhaps that is why the query is failing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 05:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-range/m-p/847191#M469559</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-30T05:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Time range</title>
      <link>https://community.qlik.com/t5/QlikView/Time-range/m-p/847192#M469560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, and if Time is indeed a date time field, your load expression should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Time(CallUniversalTime, 'hh:mm:ss')) as Time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or, to remove the date portion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Load *,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Time(Frac(CallUniversalTime), 'hh:mm:ss')) as Time;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 05:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-range/m-p/847192#M469560</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-30T05:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Time range</title>
      <link>https://community.qlik.com/t5/QlikView/Time-range/m-p/847193#M469561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally set the filter in the set it in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 08:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-range/m-p/847193#M469561</guid>
      <dc:creator />
      <dc:date>2015-06-30T08:32:35Z</dc:date>
    </item>
  </channel>
</rss>

