<?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 Input box Date Validation  and Data based on entered values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Input-box-Date-Validation-and-Data-based-on-entered-values/m-p/183894#M48993</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 have a very different requirement.&lt;/P&gt;&lt;P&gt;I have Sales end Month of Products. I have to provide Input Box for Start Month and End Month to the End User where the data has to be filtered on the Entered Months. This is normal requirement.&lt;/P&gt;&lt;P&gt;Here comes a typical requirement:&lt;/P&gt;&lt;P&gt;Month validations has to be done on these two Months(Validation is YYYYMM)&lt;/P&gt;&lt;P&gt;When i dont enter any values in the Start Month and End Month, then my entire data should be shown.&lt;/P&gt;&lt;P&gt;When i Enter only start Month and leave End Month as null, then data should be shown from the entered Month to the Last Month that is avilable in the Data Base.&lt;/P&gt;&lt;P&gt;When i enter End Month and leave Start Month as blank, then data should be shown from the Starting Month available in the database till the entered End Month.&lt;/P&gt;&lt;P&gt;Does anyone have idea how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Nov 2010 08:07:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-12T08:07:42Z</dc:date>
    <item>
      <title>Input box Date Validation  and Data based on entered values</title>
      <link>https://community.qlik.com/t5/QlikView/Input-box-Date-Validation-and-Data-based-on-entered-values/m-p/183894#M48993</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 have a very different requirement.&lt;/P&gt;&lt;P&gt;I have Sales end Month of Products. I have to provide Input Box for Start Month and End Month to the End User where the data has to be filtered on the Entered Months. This is normal requirement.&lt;/P&gt;&lt;P&gt;Here comes a typical requirement:&lt;/P&gt;&lt;P&gt;Month validations has to be done on these two Months(Validation is YYYYMM)&lt;/P&gt;&lt;P&gt;When i dont enter any values in the Start Month and End Month, then my entire data should be shown.&lt;/P&gt;&lt;P&gt;When i Enter only start Month and leave End Month as null, then data should be shown from the entered Month to the Last Month that is avilable in the Data Base.&lt;/P&gt;&lt;P&gt;When i enter End Month and leave Start Month as blank, then data should be shown from the Starting Month available in the database till the entered End Month.&lt;/P&gt;&lt;P&gt;Does anyone have idea how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 08:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-box-Date-Validation-and-Data-based-on-entered-values/m-p/183894#M48993</guid>
      <dc:creator />
      <dc:date>2010-11-12T08:07:42Z</dc:date>
    </item>
    <item>
      <title>Input box Date Validation  and Data based on entered values</title>
      <link>https://community.qlik.com/t5/QlikView/Input-box-Date-Validation-and-Data-based-on-entered-values/m-p/183895#M48994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can give you idea to start up.&lt;/P&gt;&lt;P&gt;Create two variable&lt;/P&gt;&lt;P&gt;vMinDate = if(isnull(vTempMinDate) =-1, min(Date),vTempMindate)&lt;/P&gt;&lt;P&gt;vMaxDate = if(isnull(vTempMaxDate) =-1, min(Date),vTempMaxdate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here vTempMindate is the variable in the first input box and&lt;/P&gt;&lt;P&gt;vTempMaxDate is the variable in the second inputbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use the below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;({&amp;lt;Date= {"&amp;gt;=$(vTempMindate )&amp;lt;=$(vTempMaxDate )"}&amp;gt;} Sales) &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&gt;Hope this helps you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 08:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-box-Date-Validation-and-Data-based-on-entered-values/m-p/183895#M48994</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2010-11-12T08:52:47Z</dc:date>
    </item>
  </channel>
</rss>

