<?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: Filter based on date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945441#M951866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i want to get only the previous day, what is the best solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 13:44:33 GMT</pubDate>
    <dc:creator>anuradhaa</dc:creator>
    <dc:date>2015-12-03T13:44:33Z</dc:date>
    <item>
      <title>Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945433#M951858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using below expression to get averages of previous day sales. My report reloads everyday at 07.00 AM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({$&amp;lt;nw_date={"=nw_date&amp;gt;=date(ReloadTime()-1,'DD-MM-YYYY')"},type={"I"}&amp;gt;} &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;,sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me is it corrects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i found that expression in forum. but i can't understand that expression. can you please explain that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945433#M951858</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-03T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945434#M951859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;avg({$&amp;lt;nw_date={"=nw_date&amp;gt;=date(ReloadTime()-1,'DD-MM-YYYY')"},type={"I"}&amp;gt;} &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;sales)&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except for this extra comma before sales, it seems that it might work. Have you tested it out to check if it is giving you what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Avg({$&amp;lt;nw_date={"=nw_date &amp;gt;= Date(ReloadTime()-1,'DD-MM-YYYY')"}, type={"I"}&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can try this as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=Avg({$&amp;lt;nw_date={"$(='&amp;gt;=' &amp;amp;Date(ReloadTime()-1,'DD-MM-YYYY'))"}, type={"I"}&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where this -&amp;gt; &lt;STRONG style="font-size: 13.3333px;"&gt;='&amp;gt;=' &amp;amp;Date(ReloadTime()-1,'DD-MM-YYYY') &lt;/STRONG&gt;in a text box object needs to match the format of nw_date and needs to be the date which you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945434#M951859</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-03T13:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945435#M951860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;nw_date={"=nw_date&amp;gt;=date(ReloadTime()-1,'DD-MM-YYYY')"}&amp;nbsp; &lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;this will return data which is greater than your last &lt;STRONG&gt;Previous Relaodtime&lt;/STRONG&gt; i.e ReloadTime()-1 &lt;STRONG&gt;till today date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945435#M951860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945436#M951861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please explain this expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945436#M951861</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-03T13:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945437#M951862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think that's for "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;nw_date&amp;gt;=date(ReloadTime()-1,'DD-MM-YYYY')" and what does whole thing &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;nw_date&amp;gt;=date(ReloadTime()-1,'DD-MM-YYYY') means&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945437#M951862</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-03T13:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945438#M951863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From what I understand, this is just trying to average sales for type I which is greater or equal to 1 day minus today's reload date and time. So if the application got reloaded at 10 am 12/2/2015 the expression will average sales for nw_date greater than or equal to 10 am 12/01/2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945438#M951863</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-03T13:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945439#M951864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i want to get Previous day data , how can i do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945439#M951864</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-03T13:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945440#M951865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;nw_date={"=nw_date&amp;gt;=date(ReloadTime()-1,'DD-MM-YYYY')"} &lt;/SPAN&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; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&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; background-color: #f2f2f2;"&gt;and&lt;/SPAN&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; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;nw_date={"&amp;gt;=date(ReloadTime()-1,'DD-MM-YYYY')"} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Both expression will give same result which would be from your previous day of reload to till to date&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945440#M951865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T13:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945441#M951866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i want to get only the previous day, what is the best solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945441#M951866</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-03T13:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945442#M951867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Previous day of reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then do 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; background-color: #f2f2f2;"&gt;nw_date={'=$(=date(ReloadTime()-1,'DD-MM-YYYY'))'}&amp;nbsp;&amp;nbsp;&amp;nbsp; //simply Remove greater sign&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945442#M951867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T13:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945443#M951868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just the previous day data? Assuming you nw_date is just a date (and not a timestamp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try one of these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;new_date = {"$(=Date((Floor(ReloadTime) - 1),&amp;nbsp; 'YourDateFieldFormat')"}&lt;/STRONG&gt;&lt;STRONG&gt;&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;new_date = {"$(=Date(Today(), 'YourDateFieldFormat')"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945443#M951868</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-03T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945444#M951869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grate, It works. But i have country and salesman as dimensions. And date calendar. When i select date from the calendar values get changed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how that happens and what's that value represent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say i have select date in September 26 ,then if the value is 58.68 what is that value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it the figures for september 25th&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945444#M951869</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-03T13:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945445#M951870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its totally depends on your last reloadtime()...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you asked say you have selected &lt;STRONG&gt;Sept 26, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then if&lt;STRONG&gt; last reload of your QVW was Sept 25&lt;/STRONG&gt; then you &lt;STRONG&gt;will be getting Sept 24 data&lt;/STRONG&gt; which is &lt;STRONG&gt;reloadtime()-1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 05:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945445#M951870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T05:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945446#M951871</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;When it is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;nw_date={'=$(=date(ReloadTime()-1,'DD-MM-YYYY'))'} and no selections it will show all the values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i remove "="&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; background-color: #f2f2f2;"&gt;nw_date={'$(=date(ReloadTime()-1,'DD-MM-YYYY'))'} it shows prev day data.&lt;/SPAN&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; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&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; background-color: #f2f2f2;"&gt;but when i change date by using selection box that value doesn't change.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 06:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945446#M951871</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-07T06:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945447#M951872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i change this to have rev day results based on selected date. if i select 2014-12-31 then can i have 2014-12-30 data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and keep default as reloaddate-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 06:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-based-on-date/m-p/945447#M951872</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-07T06:31:54Z</dc:date>
    </item>
  </channel>
</rss>

