<?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 Date Time filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216631#M69930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the reply , how did you create the variable To and From ?&lt;/P&gt;&lt;P&gt;Sorry for my basic question , i am new to qlikview...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jul 2010 20:04:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-07T20:04:06Z</dc:date>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216622#M69921</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;I have a datetime field finish_time , which i converted to date fields as below, i want to get the data where the finish_time is between start_date and end_date, i have the calender bos set up for start_date and end_date in my report and user has to select two different dates from them , but when i select a date from start_date the same reflects in end_date , how do i over come this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically i am trying to get the job data which are finished between selected dates by user , Please Help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;START_DATE,&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;AS &lt;P&gt;END_DATE,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 20:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216622#M69921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-06T20:03:14Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216623#M69922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Let me know if the question is not clear , basically i am looking for an option where i can set finish_time between the select dates....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 21:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216623#M69922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-06T21:48:16Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216624#M69923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple solution is to remove your START_DATE and END_DATE fields, and just have a FINISH_DATE field. If the user wants to see data between two dates, they can select the date range between those two dates. A multi-value slider bar would make this fairly easy. So would having year and month fields in many cases. Lots of ways to make it easy to select a range.&lt;/P&gt;&lt;P&gt;If you really want to stick with a START_DATE and END_DATE, you'll still probably want a FINISH_DATE field. You could make START_DATE and END_DATE be variables instead of fields. User enters the two dates, and you calculate something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count({&amp;lt;FINISH_DATE={"&amp;gt;=$(START_DATE) &amp;lt;=$(END_DATE)"}&amp;gt;} distinct JobID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 23:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216624#M69923</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-06T23:40:14Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216625#M69924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i select date range , from multi value slider bar...&lt;/P&gt;&lt;P&gt;i have selected calender/slider and gave field expression as finish_date and selected option multi ,&lt;/P&gt;&lt;P&gt;is that the right way to do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 00:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216625#M69924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-07T00:39:38Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216626#M69925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's the right way to do it. If you click on the bar, it will just give you a single date. If you hover over that one date, you'll have a hand cursor, and you can move the one date. If you move a little to the side, you should get a side to side arrow cursor. You can then expand into a date range. As before, the hand will move it (this time the whole range), and moving a little to the side of either end will let you change the size of the range.&lt;/P&gt;&lt;P&gt;It may not be what you need for this application, but it's at least an alternative to be aware of.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 00:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216626#M69925</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-07T00:48:27Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216627#M69926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Got it ! Thank you , So can i select a date range using a calender style also , i think that would be more user frindly , selecting date range in calender ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 01:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216627#M69926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-07T01:05:26Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216628#M69927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that it would be more user friendly in many cases if you could select a date range from a calendar object in some way. Unfortunately, I don't believe that's directly supported. Thus my other suggestion to use two variables, which you can set with two calendars.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;"If you really want to stick with a START_DATE and END_DATE, you'll still probably want a FINISH_DATE field. You could make START_DATE and END_DATE be variables instead of fields. User enters the two dates, and you calculate something like this:&lt;/P&gt;&lt;P style="padding-left:60px;"&gt;count({&amp;lt;FINISH_DATE={"&amp;gt;=$(START_DATE) &amp;lt;=$(END_DATE)"}&amp;gt;} distinct JobID)"&lt;/P&gt;&lt;P&gt;I'm sure there are other approaches as well if that one isn't good for you either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 17:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216628#M69927</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-07T17:00:31Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216629#M69928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get some syntax error &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here is my code , i want the finish_date between start_date and end_date filter selected values ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;sql&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;select&lt;/B&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;AS &lt;P&gt;FINISH_DATE,&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;AS &lt;P&gt;START_DATE,&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;AS &lt;P&gt;END_DATE,&lt;/P&gt;&lt;P&gt;TO_CHAR(FINISH_TIME,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;'DY')AS &lt;P&gt;DAY,&lt;/P&gt;&lt;P&gt;"JOB_ID",&lt;/P&gt;&lt;P&gt;"USER_NAME",&lt;/P&gt;&lt;P&gt;"QUEUE_TIME",&lt;/P&gt;&lt;P&gt;"START_TIME",&lt;/P&gt;&lt;P&gt;"FINISH_TIME",&lt;/P&gt;&lt;P&gt;"PROJECT_NAME",&lt;/P&gt;&lt;P&gt;"QUEUE_NAME",&lt;/P&gt;&lt;P&gt;"CLUSTER_NAME",&lt;/P&gt;&lt;P&gt;"MEM_REQUEST",&lt;/P&gt;&lt;P&gt;"MEM_USAGE",&lt;/P&gt;&lt;P&gt;"SWAP_USAGE",&lt;/P&gt;&lt;P&gt;"CPU_MINUTES",&lt;/P&gt;&lt;P&gt;"JOB_EXIT_STATUS",&lt;/P&gt;&lt;P&gt;"JOB_EXIT_CODE",&lt;/P&gt;&lt;P&gt;"JOB_NAME",&lt;/P&gt;&lt;P&gt;"JOB_ARRAY_INDEX",&lt;/P&gt;&lt;P&gt;"JOBRES_RAW",&lt;/P&gt;&lt;P&gt;"JOB_CMD",&lt;/P&gt;&lt;P&gt;"EXECHOST_NAME",&lt;/P&gt;&lt;P&gt;"RUN_MINUTES",&lt;/P&gt;&lt;P&gt;"PENDING_MINUTES",&lt;/P&gt;&lt;P&gt;"JOB_TYPE"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;from&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;PIOWNER."DW_T_LSF_JOBMART" where "CLUSTER_NAME" IN &lt;P&gt;('STG','LAB')&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;FINISH_DATE &lt;P&gt;={"&amp;gt;=$(START_DATE) &amp;lt;=$(END_DATE)"}&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 17:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216629#M69928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-07T17:31:15Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216630#M69929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heh. Not what I meant at all. Let me just post an example. I think it will be more clear than trying to explain it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 18:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216630#M69929</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-07T18:44:17Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216631#M69930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the reply , how did you create the variable To and From ?&lt;/P&gt;&lt;P&gt;Sorry for my basic question , i am new to qlikview...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 20:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216631#M69930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-07T20:04:06Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216632#M69931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several ways to do it. Here's the one I used:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Settings -&amp;gt; Document Properties -&amp;gt; Variables -&amp;gt; New&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 20:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216632#M69931</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-07T20:12:03Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216633#M69932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear John when i copy your script in my qvw file and make two variable From and to&lt;/P&gt;&lt;P&gt;then again i copy your expression in my my chat it give me no value .&lt;/P&gt;&lt;P&gt;I attached my qvw file here with kindly check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish Srivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 13:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216633#M69932</guid>
      <dc:creator />
      <dc:date>2010-07-08T13:20:57Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216634#M69933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish Srivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 05:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216634#M69933</guid>
      <dc:creator />
      <dc:date>2010-07-09T05:07:27Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216635#M69934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please please------------------------------&lt;/P&gt;&lt;P&gt;help me urgent basic.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 07:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216635#M69934</guid>
      <dc:creator />
      <dc:date>2010-07-09T07:50:48Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216636#M69935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashish,&lt;/P&gt;&lt;P&gt;Create a new post and explain what you are trying to achive and what is the error your are getting in a new post ,&lt;/P&gt;&lt;P&gt;Then people might help you with what you want....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 18:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216636#M69935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-09T18:17:55Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216637#M69936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You copied only what you thought was the relevant portion of the script, and missed a very important piece. Your date format doesn't match the date format being read in. You're using 'M/D/YYYY', though not consistently. The dates are in 'D-M-YYYY'. Your date formats all need to be consistent. You can either fix your date formats to all match the inline load, or you can fix the inline load and your date formats to all be 'M/D/YYYY'. Either will fix your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jul 2010 00:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216637#M69936</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-10T00:14:21Z</dc:date>
    </item>
    <item>
      <title>Date Time filter</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216638#M69937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, you can select a range of dates in a calendar style too, if you use the CTRL button while you select days you can select all the days of one month and then move to the next month and continue the selection (if you keep the CTRL button pressed)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jul 2010 09:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-filter/m-p/216638#M69937</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2010-07-10T09:32:18Z</dc:date>
    </item>
  </channel>
</rss>

