<?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: Getting count for last week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-count-for-last-week/m-p/945650#M325754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;=Count({$&amp;lt;RAG_STATUS={'Red'} , WEEK_DATE={"$(=Date(&lt;SPAN style="color: #ff0000;"&gt;Max(&lt;/SPAN&gt;[WEEK_DATE]&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;-7))"}&amp;gt;} Distinct [Release ID])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;Also make sure that &lt;STRONG&gt;WEEK_DATE&lt;/STRONG&gt; and the expression &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;$(=Date(Max([WEEK_DATE])-7))&lt;/STRONG&gt; gives the same format.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2015 10:10:06 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-09-01T10:10:06Z</dc:date>
    <item>
      <title>Getting count for last week</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-count-for-last-week/m-p/945649#M325753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to get count for last week( current week -1) i am using below expression but it is not working&lt;/P&gt;&lt;P&gt;can you please suggest on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;RAG_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'Red'} , &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;WEEK_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(=Date([WEEK_DATE]-7))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[Release ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 10:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-count-for-last-week/m-p/945649#M325753</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2015-09-01T10:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count for last week</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-count-for-last-week/m-p/945650#M325754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;=Count({$&amp;lt;RAG_STATUS={'Red'} , WEEK_DATE={"$(=Date(&lt;SPAN style="color: #ff0000;"&gt;Max(&lt;/SPAN&gt;[WEEK_DATE]&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;-7))"}&amp;gt;} Distinct [Release ID])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;Also make sure that &lt;STRONG&gt;WEEK_DATE&lt;/STRONG&gt; and the expression &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;$(=Date(Max([WEEK_DATE])-7))&lt;/STRONG&gt; gives the same format.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 10:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-count-for-last-week/m-p/945650#M325754</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-01T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count for last week</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-count-for-last-week/m-p/945651#M325755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also do you need the count for a day or the whole week (7 days)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a week, try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333320617676px;"&gt;=Count({$&amp;lt;RAG_STATUS={'Red'} , WEEK_DATE={"$(='&amp;gt;=' &amp;amp; Date(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #ff0000;"&gt;Max(&lt;/SPAN&gt;[WEEK_DATE]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt;-14) &amp;amp; '&amp;lt;=' &amp;amp; &lt;STRONG style="font-size: 13.3333320617676px;"&gt;Date(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #ff0000;"&gt;Max(&lt;/SPAN&gt;[WEEK_DATE]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt;-7)&lt;/STRONG&gt;)"}&amp;gt;} Distinct [Release ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 10:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-count-for-last-week/m-p/945651#M325755</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-01T10:14:15Z</dc:date>
    </item>
  </channel>
</rss>

