<?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: Background colour formatting based on last 3 months average values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794304#M1034420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual source will include data from Jan 2011 till Dec 2014.&lt;/P&gt;&lt;P&gt;so for all the years except 2011, we will compare Jan with average of Oct/Nov/Dec from previous year.&lt;/P&gt;&lt;P&gt;Similarly, for Feb with Nov/Dec/Jan and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For year 2011, we will not have any comparative analysis for Jan/Feb/March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I have clarified your doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 12:09:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-02T12:09:31Z</dc:date>
    <item>
      <title>Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794297#M1034402</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;/P&gt;&lt;P&gt;I am a newbie to qlikview and would really appreciate if the community folks can help me out on this task given to me.&lt;/P&gt;&lt;P&gt;Below is a snap shot of the design which is expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Report should show all 12 months numbers along with the monthly YTD numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. The BG colour coding should apply to all months and KPIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Colour coding&amp;nbsp; for Month column needs to be based on comparing current month with average of last 3 months&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Colour coding for YTD is by checking whether value is within a range or not.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" height="315" src="https://community.qlik.com/legacyfs/online/76672_pastedImage_0.png" style="width: 620px; height: 360px;" width="542" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also attached a dummy set of data for reference.&lt;/P&gt;&lt;P&gt;Really appreciate help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 07:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794297#M1034402</guid>
      <dc:creator />
      <dc:date>2015-01-30T07:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794298#M1034405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post your sample application to understand the logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 07:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794298#M1034405</guid>
      <dc:creator />
      <dc:date>2015-01-30T07:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794299#M1034408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi Bhawna,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I have attached a sample. I need average value for last 3 months in column 'Last 3 months'.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I am not sure how it can be achieved since the data is getting split by months.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;In the final design, the colour formatting will be based on comparing the actuals with the average of last 3 months.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2015 11:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794299#M1034408</guid>
      <dc:creator />
      <dc:date>2015-01-31T11:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794300#M1034412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I attached a qvw with your data and a pivot with a setting in background colour of the expression.&lt;/P&gt;&lt;P&gt;I didn't know the colours you need, so I chose green and red for the comparisono between current month and the average of the previous 3 month.&lt;/P&gt;&lt;P&gt;Obviously, if you data begin from Jan-2013, for the first 3 months there will not be the comparison with the average, so the colour may not be correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know!&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2015 14:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794300#M1034412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-01T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794301#M1034415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great thanks Elena!!!&lt;/P&gt;&lt;P&gt;I also need to show the same logic for Jan Feb and March.&lt;/P&gt;&lt;P&gt;Can I input a user defined variable for year input and based on that I can filter the data for current selected and previous year(Oct/Nov/Dec).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 10:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794301#M1034415</guid>
      <dc:creator />
      <dc:date>2015-02-02T10:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794302#M1034417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a way. Please share your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( (before(sum({&amp;lt;Year=&amp;gt;}Value),1)+ before(sum({&amp;lt;Year=&amp;gt;}Value),2)+before(sum({&amp;lt;Year=&amp;gt;}Value),3))/3 &amp;lt; sum(Value), Green(), lightred())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 11:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794302#M1034417</guid>
      <dc:creator />
      <dc:date>2015-02-02T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794303#M1034418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm not understanding you requirement...&lt;/P&gt;&lt;P&gt;For the first 3 months you can't perform a comparison because you don't have any values (in this case you don't have Oct, Nov,Dic 2012)&lt;/P&gt;&lt;P&gt;Your set analysis Year=&amp;nbsp; just disregards the selection on year, and considers all years you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 11:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794303#M1034418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-02T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Background colour formatting based on last 3 months average values</title>
      <link>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794304#M1034420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual source will include data from Jan 2011 till Dec 2014.&lt;/P&gt;&lt;P&gt;so for all the years except 2011, we will compare Jan with average of Oct/Nov/Dec from previous year.&lt;/P&gt;&lt;P&gt;Similarly, for Feb with Nov/Dec/Jan and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For year 2011, we will not have any comparative analysis for Jan/Feb/March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I have clarified your doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 12:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-colour-formatting-based-on-last-3-months-average/m-p/794304#M1034420</guid>
      <dc:creator />
      <dc:date>2015-02-02T12:09:31Z</dc:date>
    </item>
  </channel>
</rss>

