<?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: Set Analysis help for WeekEnd expression -1week, -2week &amp; -3Week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-help-for-WeekEnd-expression-1week-2week-3Week/m-p/1026202#M346829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Week&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;um({1&amp;lt;DateField = {"$(='&amp;gt;=' &amp;amp; Date(WeekStart(Today()), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(WeekEnd(Today())&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;, 'DateFieldFormatHere'&lt;/STRONG&gt;))"}, [Maintcon CallStatus]={'Open'}, CalendarWeekEnd&amp;gt; }[Maintcon Count]&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Previous Week&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;um({1&amp;lt;DateField = {"$(='&amp;gt;=' &amp;amp; Date(WeekStart(Today(), -1), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(WeekEnd(Today(), -1)&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;, 'DateFieldFormatHere'&lt;/STRONG&gt;))"}, [Maintcon CallStatus]={'Open'}, CalendarWeekEnd&amp;gt; }[Maintcon Count]&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Previous 2 Week&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;um({1&amp;lt;DateField = {"$(='&amp;gt;=' &amp;amp; Date(WeekStart(Today(), -2), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(WeekEnd(Today(), -2)&lt;STRONG style="font-size: 10pt;"&gt;, 'DateFieldFormatHere'&lt;/STRONG&gt;))"}, [Maintcon CallStatus]={'Open'}, CalendarWeekEnd&amp;gt; }[Maintcon Count]&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 15:50:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-13T15:50:53Z</dc:date>
    <item>
      <title>Set Analysis help for WeekEnd expression -1week, -2week &amp; -3Week</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-help-for-WeekEnd-expression-1week-2week-3Week/m-p/1026201#M346828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;HI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have a pivot table which displays open Maintenance calls. I want 3 expressions across the top that show the quantity of open calls for the weekending for this week, last weeks week end and the week before lasts weekend. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I'm having no problem showing the total for a fiscal year:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Calendar Fiscal Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'2015-2016'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Maintcon CallStatus]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Open'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Maintcon Count]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I tried using the WeekEnd() function like this and this shows the total that were opened in that week end period not the total that was still open/outstanding at that date:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CalendarWeekEnd]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'$(vWeekEnd)'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Maintcon CallStatus]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Open'} &amp;gt; }&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Maintcon Count]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The variable&amp;nbsp; $(vWeekEnd)&amp;nbsp; is set to :&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WeekEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I thought I could just stick a -7 after the Today()-7 but this does not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Nick&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 11:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-help-for-WeekEnd-expression-1week-2week-3Week/m-p/1026201#M346828</guid>
      <dc:creator />
      <dc:date>2016-04-13T11:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis help for WeekEnd expression -1week, -2week &amp; -3Week</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-help-for-WeekEnd-expression-1week-2week-3Week/m-p/1026202#M346829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Week&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;um({1&amp;lt;DateField = {"$(='&amp;gt;=' &amp;amp; Date(WeekStart(Today()), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(WeekEnd(Today())&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;, 'DateFieldFormatHere'&lt;/STRONG&gt;))"}, [Maintcon CallStatus]={'Open'}, CalendarWeekEnd&amp;gt; }[Maintcon Count]&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Previous Week&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;um({1&amp;lt;DateField = {"$(='&amp;gt;=' &amp;amp; Date(WeekStart(Today(), -1), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(WeekEnd(Today(), -1)&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;, 'DateFieldFormatHere'&lt;/STRONG&gt;))"}, [Maintcon CallStatus]={'Open'}, CalendarWeekEnd&amp;gt; }[Maintcon Count]&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Previous 2 Week&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;um({1&amp;lt;DateField = {"$(='&amp;gt;=' &amp;amp; Date(WeekStart(Today(), -2), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(WeekEnd(Today(), -2)&lt;STRONG style="font-size: 10pt;"&gt;, 'DateFieldFormatHere'&lt;/STRONG&gt;))"}, [Maintcon CallStatus]={'Open'}, CalendarWeekEnd&amp;gt; }[Maintcon Count]&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-help-for-WeekEnd-expression-1week-2week-3Week/m-p/1026202#M346829</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-13T15:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis help for WeekEnd expression -1week, -2week &amp; -3Week</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-help-for-WeekEnd-expression-1week-2week-3Week/m-p/1026203#M346830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-help-for-WeekEnd-expression-1week-2week-3Week/m-p/1026203#M346830</guid>
      <dc:creator />
      <dc:date>2016-04-14T08:02:10Z</dc:date>
    </item>
  </channel>
</rss>

