<?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 Restriction is not Working Properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382841#M813887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to show last 5 days data in Line Chart.&lt;/P&gt;&lt;P&gt;I have used the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;M_DATE={"&amp;gt;=$(=(Date(Date#('$(vDATE)','M/D/YYYY') - 5)))","&amp;lt;=$(=(Date(Date#('$(vDATE)','M/D/YYYY') - 0)))"}&amp;gt;} ORD_LINE_CNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is not restricting. Showing all day's data.&lt;/P&gt;&lt;P&gt;Could you please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>mhmmd_srf</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382841#M813887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to show last 5 days data in Line Chart.&lt;/P&gt;&lt;P&gt;I have used the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;M_DATE={"&amp;gt;=$(=(Date(Date#('$(vDATE)','M/D/YYYY') - 5)))","&amp;lt;=$(=(Date(Date#('$(vDATE)','M/D/YYYY') - 0)))"}&amp;gt;} ORD_LINE_CNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is not restricting. Showing all day's data.&lt;/P&gt;&lt;P&gt;Could you please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382841#M813887</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382842#M813888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your date formats of M_DATE and your variable vDate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be try this?&lt;/P&gt;&lt;P&gt;&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;=Sum({$&amp;lt;M_DATE={"$(= '&amp;gt;='&amp;amp; Date($(vDATE),'M/D/YYYY') - 5)&amp;nbsp; &amp;amp; '&amp;lt;=' &amp;amp; Date(Max($(vDATE)),'M/D/YYYY'))"} &amp;gt;} ORD_LINE_CNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382842#M813888</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-20T13:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382843#M813889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;M_DATE={"&amp;gt;=$(=max($(vDate)-5))&amp;lt;=$(=max(&lt;SPAN style="font-size: 13.3333px;"&gt;$(vDate)&lt;/SPAN&gt;))"}&amp;gt;}ORD_LINE_CNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pratik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382843#M813889</guid>
      <dc:creator>mostwanted123</dc:creator>
      <dc:date>2017-09-20T13:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382844#M813890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put you expression into an expression of a straight table with no header&lt;/P&gt;&lt;P&gt;mouse over the expression so you can see how your expression is beeing evaluated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382844#M813890</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-09-20T13:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382845#M813891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177185_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/177186_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382845#M813891</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2017-09-20T13:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382846#M813892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&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;=Sum({$&amp;lt;M_DATE={"&amp;gt;=$(=Date(Max(M_DATE) - 5, 'M/D/YYYY'))&amp;lt;=$(=Date(Max(M_DATE), 'M/D/YYYY'))"}&amp;gt;} ORD_LINE_CNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382846#M813892</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-20T13:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382847#M813893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your sample app to look into?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382847#M813893</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-20T13:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date Restriction is not Working Properly</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382848#M813894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have deleted the other thread that was a duplicate of this one, and have restored this thread to an un-answered question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the future, if you accidentally post a question twice, you can delete one of them by following the steps listed here: &lt;A href="https://community.qlik.com/docs/DOC-17816"&gt;Qlik Community Tip: How to Delete a Post&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Qlik Community Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 17:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Restriction-is-not-Working-Properly/m-p/1382848#M813894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-20T17:13:27Z</dc:date>
    </item>
  </channel>
</rss>

