<?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 Help with Date input in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270244#M1206743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks For your response Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(From &amp;lt; To, sum({&amp;lt;ATIME={"&amp;gt;=$(From)&amp;lt;=$(To)"}&amp;gt;} CID),0) .&lt;/P&gt;&lt;P&gt;I trying based on the below steps&lt;/P&gt;&lt;P&gt;ATIME field is in the Datetimeformat. And the From and To condition are from the same ATIME Feild.&lt;/P&gt;&lt;P&gt;Issue is i am getting as numbers(from with decimal value and To as Number ) as selected values inplace of dates.Where as the From and To are based on the same feild ATIME, then why from is decimal and To is number even if i am choosing the same dates.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;=if(From &amp;lt; To, sum({&amp;lt;ATIME={"&amp;gt;=$(From)&amp;lt;=$(To)"}&amp;gt;} CID),0) .&lt;/P&gt;&lt;P&gt;Moreover i am not getting output.For what ever selection i am getting blank table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,XXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Aug 2010 13:51:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-12T13:51:52Z</dc:date>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270237#M1206735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am building a TRANSACTION MODULE which will display ALL transactions that have taken place in our retail stores.&lt;/P&gt;&lt;P&gt;I want the end user to be able to search through transactions between a chosen date range.&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;The end user will enter a START date and END date, then the application will show all transactions between those dates.&lt;/P&gt;&lt;P&gt;The only way i can find to do this is to add SEARCH boxes, so the user can enter directly into them the dates required&lt;/P&gt;&lt;P&gt;My problems are :&lt;/P&gt;&lt;P&gt;If i add 2 search boxes (1 for START date and 1 for END date), and i input a START date, then when i input an END date my start date is erased and only results for my end date is displayed.&lt;/P&gt;&lt;P&gt;Is there a way of keeping my START date selection? and also...&lt;/P&gt;&lt;P&gt;after i input a START or END date, the date is selected, but my search box goes back to SEARCH. Is there a way of keeping the date i have entered displayed in the search boxs until i clear my selections? Or is there another way of the end user to key in start and end dates?&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 11:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270237#M1206735</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-08-09T11:45:16Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270238#M1206736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two separate tables with the date field like &lt;B&gt;[Start Date]&lt;/B&gt; and &lt;B&gt;[End Date]&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;Add two calendar object in the report and map them to &lt;B&gt;[Start Date] and [End Date]&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Create two variables &lt;B&gt;'vStartDate'&lt;/B&gt; and &lt;B&gt;'vEndDate'&lt;/B&gt; with the following definitions:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;vStartDate = GetFieldSelections([Start Date])&lt;BR /&gt;vEndDate = GetFieldSelections([End Date])&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;We should now use these variables in expression to pass the date range to get the transactions between the date range. The expression will be as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;=SUM({&amp;lt;[Trans Date]={"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;}Sales)&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Assuming &lt;B&gt;[Trans Date]&lt;/B&gt; is your date field. This expression will give the value for sales for the dates entered in the two calendar objects which we created.&lt;BR /&gt;&lt;BR /&gt;Hope this resolves your issue.&lt;BR /&gt;&lt;BR /&gt;-Haneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 12:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270238#M1206736</guid>
      <dc:creator />
      <dc:date>2010-08-09T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270239#M1206737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I made a sample application about this in my project.I use the steps below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I create two time tables.StartTimeTable and EndTimeTable.Those two tables don't have any joins with other tables and with each other.&lt;/LI&gt;&lt;LI&gt;I create two calenders which uses StartTimeTable.Date and EndTimeTable.Date.&lt;/LI&gt;&lt;LI&gt;Under those two calenders i put a button named "Select Date".I put an "select field" action.In select field action,selection field is RelatedDate. Search string is {"&amp;gt;= $(StartTimeTable.Date) &amp;lt;=$(EndTimeTable.Date)"}&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;After selecting two dates and pressing the button the times will selected as you want.&lt;/P&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 12:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270239#M1206737</guid>
      <dc:creator />
      <dc:date>2010-08-09T12:28:09Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270240#M1206738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Instant of making variable you make calender object from_date,To_date.&lt;/P&gt;&lt;P&gt;I have attached sample application herewith kindly find it.&lt;/P&gt;&lt;P&gt;&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>Mon, 09 Aug 2010 13:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270240#M1206738</guid>
      <dc:creator />
      <dc:date>2010-08-09T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270241#M1206739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;I am tried your application and i got a problem if i am choosing the &lt;STRONG&gt;To Date less&lt;/STRONG&gt; than the &lt;STRONG&gt;From Date&lt;/STRONG&gt; it is showing some values. Is there any option to restrict this ?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,XXX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 14:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270241#M1206739</guid>
      <dc:creator />
      <dc:date>2010-08-09T14:46:37Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270242#M1206740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a calculation condition in the chart properties such that the from date should be always less than to date and add a corresponding message like 'From date should be lesser than to date'&lt;/P&gt;&lt;P&gt;Ex. &lt;B&gt;if(from_date &amp;lt; To_Date, true(),false())&lt;/B&gt;&lt;/P&gt;&lt;P&gt;So, the calculation will be done only when the above condition is satisfied&lt;/P&gt;&lt;P&gt;-Haneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 06:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270242#M1206740</guid>
      <dc:creator />
      <dc:date>2010-08-10T06:09:21Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270243#M1206741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I attached modified application herewith find 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>Tue, 10 Aug 2010 08:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270243#M1206741</guid>
      <dc:creator />
      <dc:date>2010-08-10T08:36:17Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270244#M1206743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks For your response Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(From &amp;lt; To, sum({&amp;lt;ATIME={"&amp;gt;=$(From)&amp;lt;=$(To)"}&amp;gt;} CID),0) .&lt;/P&gt;&lt;P&gt;I trying based on the below steps&lt;/P&gt;&lt;P&gt;ATIME field is in the Datetimeformat. And the From and To condition are from the same ATIME Feild.&lt;/P&gt;&lt;P&gt;Issue is i am getting as numbers(from with decimal value and To as Number ) as selected values inplace of dates.Where as the From and To are based on the same feild ATIME, then why from is decimal and To is number even if i am choosing the same dates.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;=if(From &amp;lt; To, sum({&amp;lt;ATIME={"&amp;gt;=$(From)&amp;lt;=$(To)"}&amp;gt;} CID),0) .&lt;/P&gt;&lt;P&gt;Moreover i am not getting output.For what ever selection i am getting blank table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,XXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 13:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270244#M1206743</guid>
      <dc:creator />
      <dc:date>2010-08-12T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270245#M1206744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value is decimal because the feild i have used in the Calender control is of the Datetime format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 14:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270245#M1206744</guid>
      <dc:creator />
      <dc:date>2010-08-12T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Help with Date input</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270246#M1206746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karem, Do you have a sample you could post please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 15:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date-input/m-p/270246#M1206746</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-09-02T15:17:04Z</dc:date>
    </item>
  </channel>
</rss>

