<?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: Calculate an average for the last 4 weeks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070454#M933947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Like this&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&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-family: inherit;"&gt;&lt;EM&gt;S&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;um({1&amp;lt; DateTest={"&amp;gt;=$(=Date(YearStart(Today()),'DD/MM/YYYY')) &amp;lt;=$(=Date(Today()-1,'DD/MM/YYYY'))"}&amp;gt;}[CA])&lt;/EM&gt;&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-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&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-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&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;change the date format according to your&amp;nbsp; DateTest field date format..&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2016 12:35:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-02T12:35:03Z</dc:date>
    <item>
      <title>Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070448#M933941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following expression in order to calculate&amp;nbsp; CA from the begining of the year till yeasterday &lt;/P&gt;&lt;P&gt;=num(Sum({1&amp;lt; DateTest={"$(='&amp;gt;=' &amp;amp; Yearstart(AddYears(Today(), -1)) &amp;amp; '&amp;lt;' &amp;amp;&amp;nbsp; AddYears(Today(), -1))"}&amp;gt;} [CA]&amp;nbsp; ),'# ##0 ;-# ##0 ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to calculate CA average for the last 4 weeks. starting from today()-2 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070448#M933941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070449#M933942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk dis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/402717"&gt;Re: Last 4 Week Average&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070449#M933942</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-02T11:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070450#M933943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a rolling average you are calculating in a chart? or are you calculating this in a text box object? A sample with expected output will be helpful to resolve your issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070450#M933943</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-02T11:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070451#M933944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Something like&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Sum({1&amp;lt; DateTest={"&amp;gt;=$(=Date(Today() - 28)) &amp;lt;$(=Today())"}&amp;gt;} [CA])&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070451#M933944</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-02T12:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070452#M933945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming your&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;DateTest is in this format "DD/MM/YYYY"&lt;/STRONG&gt;&lt;/SPAN&gt;&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;"&gt;Sum({&amp;lt;DateTest={"&amp;gt;=$(=date(WeekStart(max(DateTest),-3),'DD/MM/YYYY'))&amp;lt;=$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=date(WeekStart(max(DateTest)),'DD/MM/YYYY')&lt;/SPAN&gt;)"}&amp;nbsp; [CA])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070452#M933945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T12:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070453#M933946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Side by side check this as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9162"&gt;Set Analysis for certain Point in Time&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9144"&gt;Set Analysis for Rolling Periods&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070453#M933946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T12:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070454#M933947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Like this&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&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-family: inherit;"&gt;&lt;EM&gt;S&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;um({1&amp;lt; DateTest={"&amp;gt;=$(=Date(YearStart(Today()),'DD/MM/YYYY')) &amp;lt;=$(=Date(Today()-1,'DD/MM/YYYY'))"}&amp;gt;}[CA])&lt;/EM&gt;&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-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&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-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&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;change the date format according to your&amp;nbsp; DateTest field date format..&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070454#M933947</guid>
      <dc:creator />
      <dc:date>2016-03-02T12:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070455#M933948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the correction. But I have written expression&amp;nbsp;&amp;nbsp; for&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;calculation&amp;nbsp; CA from the beginning of the year till yesterday &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070455#M933948</guid>
      <dc:creator />
      <dc:date>2016-03-02T12:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate an average for the last 4 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070456#M933949</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;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;expression for calculating&amp;nbsp; CA average for the &lt;STRONG&gt;last 4 weeks. starting from today()-2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;S&lt;/EM&gt;&lt;EM style="font-weight: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;um({1&amp;lt; DateTest={"&amp;gt;=$(=Date(Weekstart(Today()-2,-4),'DD/MM/YYYY')) &amp;lt;=$(=Date(Today()-2,'DD/MM/YYYY'))"} &amp;gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;[CA])&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 13:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-an-average-for-the-last-4-weeks/m-p/1070456#M933949</guid>
      <dc:creator />
      <dc:date>2016-03-02T13:07:49Z</dc:date>
    </item>
  </channel>
</rss>

