<?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 search by DateTime dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881327#M307530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Can u pls give more info..or else u can give sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 15:25:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-15T15:25:52Z</dc:date>
    <item>
      <title>How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881326#M307529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a dimension YYYYMMDDHHmmss and want to search the "TIME" part of it through variables.&lt;/P&gt;&lt;P&gt;for eg. varS1FromTime and varS1ToTime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to be able to filter a table using the TIME Variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;varS1FromTime: 7:30&lt;/P&gt;&lt;P&gt;varS1ToTime: 11:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would filter the table time from 7:30am to 11:00am&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="92955" alt="VariableTrigger1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92955_VariableTrigger1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="92973" alt="Table.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/92973_Table.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;How can we setup the time dimension in the load script and use it in the Variable Event Triggers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Syed Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881326#M307529</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2015-07-15T15:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881327#M307530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Can u pls give more info..or else u can give sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881327#M307530</guid>
      <dc:creator />
      <dc:date>2015-07-15T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881328#M307531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Narendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the image of the table and the log.cvs file containing the date in the main question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will appreciate your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 16:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881328#M307531</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2015-07-15T16:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881329#M307532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a time dimension in the script by extracting the time portion from the timestamp:&lt;/P&gt;&lt;P&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;time(frac(timestamp#(log_datetimeindata, 'YYYYMMDDHHmmss'))) 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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-Rib&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 22:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881329#M307532</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-07-15T22:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881330#M307533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&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;time(frac(timestamp#(log_datetimeindata, 'YYYYMMDDHHmmss'))) as log_time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I use the log_time Dimension in the variable trigger?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field: log_time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;=' &amp;amp; $(varS1FromTime) &amp;amp; '&amp;lt;=' &amp;amp; $(varS1ToTime)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also how would I enter the varS1FromTime and varS1ToTime variables? 7:30 and 11:00?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 01:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881330#M307533</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2015-07-16T01:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881331#M307534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could potentially work up an answer to your question, but first I would ask why not use a listbox or slider against the Time field and let the user select a range that way? Much easier I would think than using variables and triggers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 01:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881331#M307534</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-07-16T01:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881332#M307535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to use the input box as we are going to using multiple input boxes for multiple time search and then combine them into a boolean expression to get our result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the end user the liberty to search through mutiple timeframes.&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vS1TimeFrom: 7:30&lt;/P&gt;&lt;P&gt;vS1TimeTo: 11:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and/or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vS2TimeFrom: 13:00&lt;/P&gt;&lt;P&gt;vS2TimeTo: 15:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then we create a boolean expression with and/or and pass it in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we need to have input box and enter the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will appreciate your assistance on how to search between dates using the Time function you wrote in the previous message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 07:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881332#M307535</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2015-07-16T07:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to search by DateTime dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881333#M307536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you want to search between dates, but rather the new time field. Set the Number format of the input box to "Time" and require the user to enter times like "7:30", including the :.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 02:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-by-DateTime-dimension/m-p/881333#M307536</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-07-17T02:07:24Z</dc:date>
    </item>
  </channel>
</rss>

