<?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: Last 7 days collection?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550244#M205501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what i have to do.&lt;/P&gt;&lt;P&gt;if i requirement is that&amp;nbsp; ,When i select a day like 4july 2013 then it will show &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count of 28jun,29jun,30jun,1jun,2jun,3jun,4jun prerelease no.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;means dynamic result .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Advice please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2013 12:51:17 GMT</pubDate>
    <dc:creator>narender123</dc:creator>
    <dc:date>2013-07-08T12:51:17Z</dc:date>
    <item>
      <title>Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550235#M205492</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;I want to calculate last seven days collection .I am using the expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Year={$(=max(Year))},Month={$(=MaxString(Month))},Day={'&amp;gt;=$(=Day(Today()-8))'},Status={'1'}&amp;gt;}PreReleaseNo) //not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i uses this&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Year={$(=max(Year))},Month={$(=MaxString(Month))},Day={'&amp;gt;=$(=Day(Today()-7))'},Status={'1'}&amp;gt;}PreReleaseNo)&amp;nbsp;&amp;nbsp; //working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because today is 8july2013 so it will calculate this month days collection but when i used more than 7 days then it will not calculate because that day fall in the previous month.So it is not calculate the when the days fall into previous month day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Solve this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 11:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550235#M205492</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-08T11:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550236#M205493</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;=count({&amp;lt;Year=,Month=,Day={'&amp;gt;=$(=Day(Today()-8))'},Status={'1'}&amp;gt;}PreReleaseNo)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 11:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550236#M205493</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-07-08T11:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550237#M205494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My date format is in&amp;nbsp; MM/DD/YYYY fromat&lt;/P&gt;&lt;P&gt;like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Date={"&amp;gt;=$(=Date(Today()-8,'MM/DD/YYYY&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Still its not working for 8th days but running for this month days like Today()-7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Any idea??&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 11:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550237#M205494</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-08T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550238#M205495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks tresesco .Its not working as it will select all year and all days and giving wrong result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 12:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550238#M205495</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-08T12:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550239#M205496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;simply try this with sign' &amp;gt; 'or '&amp;gt;='&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count(distinct {$&amp;lt;Datefield={"&amp;gt;=$(=Date(Today()-8,'&lt;STRONG&gt;MM/DD/YYYY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;'))"},Status={'1'}&amp;gt;}PreReleaseNo) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count(distinct {$&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Year=,Month=,&lt;/SPAN&gt;Datefield={"&amp;gt;=$(=Date(Today()-8,'&lt;STRONG&gt;MM/DD/YYYY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;'))"},Status={'1'}&amp;gt;}PreReleaseNo)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 12:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550239#M205496</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-07-08T12:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550240#M205497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right. In that case why don't you try with Date instead of Day?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 12:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550240#M205497</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-07-08T12:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550241#M205498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you date dimension then use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=count({&amp;lt;Year=,Month=,Day=, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;DateDimensionName={"&amp;gt;=$(=Date(Today()-8,'&lt;STRONG&gt;MM/DD/YYYY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;'))"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; Status={'1'}&amp;gt;}PreReleaseNo) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Make sure DateDimensionName and Date() has he same date format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 12:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550241#M205498</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-07-08T12:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550242#M205499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohit.&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;count(distinct {$&amp;lt;Year=,Month=,Datefield={"&amp;gt;=$(=Date(Today()-8,'&lt;STRONG&gt;MM/DD/YYYY&lt;/STRONG&gt;'))"},Status={'1'}&amp;gt;}PreReleaseNo)&lt;/P&gt;&lt;P&gt;this expression is working .Is it possible to create dynamic report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i select 4th of july 2013&lt;/P&gt;&lt;P&gt;then it will show the &lt;/P&gt;&lt;P&gt;Count of 28jun,29jun,30jun,1jun,2jun,3jun,4jun prerelease no.&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 12:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550242#M205499</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-08T12:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550243#M205500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what i have to do.&lt;/P&gt;&lt;P&gt;if i requirement is that&amp;nbsp; ,When i select a day like 4july 2013 then it will show &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count of 28jun,29jun,30jun,1jun,2jun,3jun,4jun prerelease no.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;means dynamic result .Give me some suggestion please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 12:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550243#M205500</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-08T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550244#M205501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what i have to do.&lt;/P&gt;&lt;P&gt;if i requirement is that&amp;nbsp; ,When i select a day like 4july 2013 then it will show &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count of 28jun,29jun,30jun,1jun,2jun,3jun,4jun prerelease no.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;means dynamic result .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Advice please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 12:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550244#M205501</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-08T12:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550245#M205502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a variable :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxSeven= Max(Date)-7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this variable in the SET&amp;nbsp; something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Year=,Month=,Date={'&amp;gt;=$(vMaxSeven))'},Status={'1'}&amp;gt;}PreReleaseNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again you have to be sure of the date format (numeric/string/date).... i guess the logic here would help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 13:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550245#M205502</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-07-08T13:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550246#M205503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about generating a unique ID for date field say DateID and with below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Count({&amp;lt;DateId= {"&amp;gt;=$(=Max(DateId) - 7)&amp;lt;=$(=Max(DateId))"}&amp;gt;}&amp;nbsp; [Prerelease no])&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 13:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550246#M205503</guid>
      <dc:creator>AbhijitBansode</dc:creator>
      <dc:date>2013-07-08T13:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days collection??</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550247#M205504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;P&gt;Its really Appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 14:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-days-collection/m-p/550247#M205504</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-09T14:51:17Z</dc:date>
    </item>
  </channel>
</rss>

