<?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 Month over Month Report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-over-Month-Report/m-p/232927#M84489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a Headcount and Attrition Analysis report, I need to calculate the Average Heacount for any given month as (current headcount + previous headcount)/2. I've created this expression to do that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;[Employee_Non-Employee]={'Employee'}&amp;gt;}TurnoverPopulationFlag)) + (sum({1&amp;lt;YearMonth={"$(=(date(AddMonths(YearMonth,-1),'YYYYMM')))"},[Employee_Non-Employee]={'Employee'}&amp;gt;}TurnoverPopulationFlag)))/2&lt;/P&gt;&lt;P&gt;Performance Rating and YearMonth are Dimensions in the report. If a single YearMonth is selected, the calculation works fine However, if multiple YearMonth selections are made, the preious month calculation does not seem to work - (sum({1&amp;lt;YearMonth={"$(=(date(AddMonths(YearMonth,-1),'YYYYMM')))"},[Employee_Non-Employee]={'Employee'}&amp;gt;}TurnoverPopulationFlag))).&lt;/P&gt;&lt;P&gt;Any ideas why? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 May 2010 02:07:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-06T02:07:09Z</dc:date>
    <item>
      <title>Month over Month Report</title>
      <link>https://community.qlik.com/t5/QlikView/Month-over-Month-Report/m-p/232927#M84489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a Headcount and Attrition Analysis report, I need to calculate the Average Heacount for any given month as (current headcount + previous headcount)/2. I've created this expression to do that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;[Employee_Non-Employee]={'Employee'}&amp;gt;}TurnoverPopulationFlag)) + (sum({1&amp;lt;YearMonth={"$(=(date(AddMonths(YearMonth,-1),'YYYYMM')))"},[Employee_Non-Employee]={'Employee'}&amp;gt;}TurnoverPopulationFlag)))/2&lt;/P&gt;&lt;P&gt;Performance Rating and YearMonth are Dimensions in the report. If a single YearMonth is selected, the calculation works fine However, if multiple YearMonth selections are made, the preious month calculation does not seem to work - (sum({1&amp;lt;YearMonth={"$(=(date(AddMonths(YearMonth,-1),'YYYYMM')))"},[Employee_Non-Employee]={'Employee'}&amp;gt;}TurnoverPopulationFlag))).&lt;/P&gt;&lt;P&gt;Any ideas why? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 02:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-over-Month-Report/m-p/232927#M84489</guid>
      <dc:creator />
      <dc:date>2010-05-06T02:07:09Z</dc:date>
    </item>
    <item>
      <title>Month over Month Report</title>
      <link>https://community.qlik.com/t5/QlikView/Month-over-Month-Report/m-p/232928#M84490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can create a variable to identifying the minimum or maximum value of the selected values in YearMonth field and make use of the variable in your expression.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 03:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-over-Month-Report/m-p/232928#M84490</guid>
      <dc:creator />
      <dc:date>2010-05-06T03:49:27Z</dc:date>
    </item>
    <item>
      <title>Month over Month Report</title>
      <link>https://community.qlik.com/t5/QlikView/Month-over-Month-Report/m-p/232929#M84491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Do you have an example of how this would be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 13:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-over-Month-Report/m-p/232929#M84491</guid>
      <dc:creator />
      <dc:date>2010-05-06T13:38:38Z</dc:date>
    </item>
  </channel>
</rss>

