<?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: problem with filter dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-filter-dates/m-p/1024716#M929419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your date field actually contains time that's why you get decimal numbers as values&lt;/P&gt;&lt;P&gt;Qlikview deals with Dates as numbers&lt;/P&gt;&lt;P&gt;and you use the Date function on the charts to display date values as readable dates (formatted as DD/MM/YYYY etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to remove the time part then in the script you need to use the num(DayStart(your_date_field)) as field_name&lt;/P&gt;&lt;P&gt;now in the sliders you need to link each to a varialble vFromDate and vToDate&lt;/P&gt;&lt;P&gt;in the number tab select Date to display readable dates&lt;/P&gt;&lt;P&gt;then go to settings-&amp;gt;Document Properties-&amp;gt;triggers&lt;/P&gt;&lt;P&gt;and use the OnSelect triggers of the variables to assign actions&lt;/P&gt;&lt;P&gt;the actions would be select in Field and the value would be:&lt;/P&gt;&lt;P&gt;'your_date_field &amp;gt;=' &amp;amp; $(vFromDate) &amp;amp; 'your_date_field &amp;lt;=' &amp;amp; $(vToDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps or you can send me a sample document and I would give you the solution on the sample document&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2016 12:30:13 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2016-03-18T12:30:13Z</dc:date>
    <item>
      <title>problem with filter dates</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-filter-dates/m-p/1024715#M929418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I choose CAREA 2015 = 0&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="118571" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118571_1.png" style="height: 215px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;But when I choose year =2016 , when I choose CAREA 2015 =&amp;lt;&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="118572" alt="2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/118572_2.png" style="height: 215px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date format stored in Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="118573" alt="Sans titre.png" class="jive-image image-3" src="/legacyfs/online/118573_Sans titre.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Expression :=if(IsNull(GetFieldSelections(Week,'*')),Sum({$&amp;lt;Year={$(=max(Year-1))}&amp;gt;}[Prix de vente TTC]),Sum({$&amp;lt;Weekyear= {$(=max(Weekyear-1))}&amp;gt;}[Prix de vente TTC]))&lt;/P&gt;&lt;P&gt;How to get values for last year when I choose from .. to date ?&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/problem-with-filter-dates/m-p/1024715#M929418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with filter dates</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-filter-dates/m-p/1024716#M929419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your date field actually contains time that's why you get decimal numbers as values&lt;/P&gt;&lt;P&gt;Qlikview deals with Dates as numbers&lt;/P&gt;&lt;P&gt;and you use the Date function on the charts to display date values as readable dates (formatted as DD/MM/YYYY etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to remove the time part then in the script you need to use the num(DayStart(your_date_field)) as field_name&lt;/P&gt;&lt;P&gt;now in the sliders you need to link each to a varialble vFromDate and vToDate&lt;/P&gt;&lt;P&gt;in the number tab select Date to display readable dates&lt;/P&gt;&lt;P&gt;then go to settings-&amp;gt;Document Properties-&amp;gt;triggers&lt;/P&gt;&lt;P&gt;and use the OnSelect triggers of the variables to assign actions&lt;/P&gt;&lt;P&gt;the actions would be select in Field and the value would be:&lt;/P&gt;&lt;P&gt;'your_date_field &amp;gt;=' &amp;amp; $(vFromDate) &amp;amp; 'your_date_field &amp;lt;=' &amp;amp; $(vToDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps or you can send me a sample document and I would give you the solution on the sample document&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 12:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-filter-dates/m-p/1024716#M929419</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-03-18T12:30:13Z</dc:date>
    </item>
  </channel>
</rss>

