<?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: Count the date for 7 rolling days. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338641#M412599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=Num(&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Count(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;{&amp;lt;Date={‘&amp;gt;=$(=Date(Max(DateField)-7))&amp;lt;=$(=Date(Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DateField&lt;/SPAN&gt;)))’}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; If(AMPM='AM',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&amp;nbsp; Only({&amp;lt;AMPM = {PM}&amp;gt;} TOTAL&amp;lt;[TGB Name], f_date&amp;gt; Counts) /Only({&amp;lt;AMPM = {AM}&amp;gt;} TOTAL&amp;lt;&amp;nbsp; [AMI TGB ID]&amp;gt; Counts)-1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&amp;nbsp; Only({&amp;lt;AMPM = {AM}&amp;gt;} TOTAL&amp;lt;[TGB Name],f_date&amp;gt; Counts)/ Only({&amp;lt;AMPM = {PM}&amp;gt;} TOTAL&amp;lt; [AMI TGB ID]&amp;gt; Counts) -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;)&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;, Measure)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'#.##%')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 03:04:31 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-04-20T03:04:31Z</dc:date>
    <item>
      <title>Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338635#M412593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the expression for count the 7 rolling days.so I request to everyone please suggest me to do the 7 rolling days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the below expression and make it 7 rolling days.based on file date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;=num(If(AMPM='AM',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; Only({&amp;lt;AMPM = {PM}&amp;gt;} TOTAL&amp;lt;[TGB Name], f_date&amp;gt; Counts) /Only({&amp;lt;AMPM = {AM}&amp;gt;} TOTAL&amp;lt;&amp;nbsp; [AMI TGB ID]&amp;gt; Counts)-1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; Only({&amp;lt;AMPM = {AM}&amp;gt;} TOTAL&amp;lt;[TGB Name],f_date&amp;gt; Counts)/ Only({&amp;lt;AMPM = {PM}&amp;gt;} TOTAL&amp;lt; [AMI TGB ID]&amp;gt; Counts) -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;),'#.##%') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Irshad Ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 22:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338635#M412593</guid>
      <dc:creator>iahmadmca1</dc:creator>
      <dc:date>2017-04-18T22:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338636#M412594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Date={‘&amp;gt;=$(=Date(Max(DateField)-7))&amp;lt;=$(=Date(Max(&lt;SPAN style="font-size: 13.3333px;"&gt;DateField&lt;/SPAN&gt;)))’}&amp;gt;} Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 02:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338636#M412594</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-19T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338637#M412595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Rangesum() with above() for last 7 records. It will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 03:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338637#M412595</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2017-04-19T03:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338638#M412596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338638#M412596</guid>
      <dc:creator>iahmadmca1</dc:creator>
      <dc:date>2017-04-19T13:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338639#M412597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hari for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338639#M412597</guid>
      <dc:creator>iahmadmca1</dc:creator>
      <dc:date>2017-04-19T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338640#M412598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please use my expression which I post and make it correct because I try to use the expression which you have sent but is showing error.please correct of my expression based 7 days rolling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Irshad Ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 17:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338640#M412598</guid>
      <dc:creator>iahmadmca1</dc:creator>
      <dc:date>2017-04-19T17:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338641#M412599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=Num(&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Count(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;{&amp;lt;Date={‘&amp;gt;=$(=Date(Max(DateField)-7))&amp;lt;=$(=Date(Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DateField&lt;/SPAN&gt;)))’}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; If(AMPM='AM',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&amp;nbsp; Only({&amp;lt;AMPM = {PM}&amp;gt;} TOTAL&amp;lt;[TGB Name], f_date&amp;gt; Counts) /Only({&amp;lt;AMPM = {AM}&amp;gt;} TOTAL&amp;lt;&amp;nbsp; [AMI TGB ID]&amp;gt; Counts)-1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&amp;nbsp; Only({&amp;lt;AMPM = {AM}&amp;gt;} TOTAL&amp;lt;[TGB Name],f_date&amp;gt; Counts)/ Only({&amp;lt;AMPM = {PM}&amp;gt;} TOTAL&amp;lt; [AMI TGB ID]&amp;gt; Counts) -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;)&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;, Measure)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'#.##%')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 03:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338641#M412599</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-20T03:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count the date for 7 rolling days.</title>
      <link>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338642#M412600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Anil !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 14:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-the-date-for-7-rolling-days/m-p/1338642#M412600</guid>
      <dc:creator>iahmadmca1</dc:creator>
      <dc:date>2017-04-20T14:11:53Z</dc:date>
    </item>
  </channel>
</rss>

