<?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: Percent of Group Average Accross Periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859913#M1016567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Edited after I stared at the formula a bit longer--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that I can understand better how to use similar capabilities in the future, can confirm for me through how the following section works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Group = P({&amp;lt;Individual={"$(=(GetFieldSelections(Individual)))"} &amp;gt;}),Individual=,Metric= {"&amp;gt;$(=(0))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Between the {} there are 3 different fields that will be filtered:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;Group = P({&amp;lt;Individual={"$(=(GetFieldSelections(Individual)))"} &amp;gt;})&lt;/EM&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;means filter for the groups that the individual has resided in at a given point&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #0000ff; font-size: 13.3333330154419px;"&gt;&lt;EM&gt;Individual=&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;means filter for all individuals regardless of current selection&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #0000ff; font-size: 13.3333330154419px;"&gt;Metric= {"&amp;gt;$(=(0))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;means filter for Metrics that are greater than 0. This is equivalent to the If statement in my original formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 20:06:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-17T20:06:37Z</dc:date>
    <item>
      <title>Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859904#M1016550</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 trying to compare individual performance to their group's average performance across periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following formulas:&lt;/P&gt;&lt;P&gt;1. Metric: sum(Metric)&lt;/P&gt;&lt;P&gt;2. Group Average:&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt; padding-left: 30px;"&gt;if(Metric &amp;gt; 0,&lt;/P&gt;&lt;P style="padding-left: 63px; font-family: Calibri; font-size: 11pt;"&gt;Sum({$&amp;lt;Individual= &amp;gt;} TOTAL &amp;lt;Group,Period&amp;gt; Metric)/&lt;/P&gt;&lt;P style="padding-left: 63px; font-family: Calibri; font-size: 11pt;"&gt;COUNT({$&amp;lt;Individual= &amp;gt;} TOTAL &amp;lt;Group,Period&amp;gt; Metric)&lt;/P&gt;&lt;P style="padding-left: 63px; font-family: Calibri; font-size: 11pt;"&gt;)&lt;/P&gt;&lt;P style="padding-left: 3px; font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="padding-left: 3px; font-family: Calibri; font-size: 11pt;"&gt;These work as intended in a straight table. I can either have both an individual and their group selected, or just the individual and the Group Average still works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 481px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Group&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Period&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Individual&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="89"&gt;Metric&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Group Average&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none;"&gt;131&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;n&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;68&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;67.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;n&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;63&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;61&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I change this table to a graph, if I select an individual and leave the group selection at the default, it shows the average across all groups (~36) instead of just that individual's group's average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my document for reference.&lt;/P&gt;&lt;P&gt;My real data has about 5 groups, and the periods most often used will be weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Elin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 16:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859904#M1016550</guid>
      <dc:creator />
      <dc:date>2015-04-17T16:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859905#M1016553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is because you are telling your expression to include all the employees regardless of any selection made on employee list box. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Metric &amp;gt; 0, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sum({$} TOTAL &amp;lt;Group,Period&amp;gt; Metric)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;COUNT({$} TOTAL &amp;lt;Group,Period&amp;gt; Metric)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859905#M1016553</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-17T17:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859906#M1016555</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 want to include all individuals that belong to a given group. I want the average of all indivuduals who belong to a group, for each period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That formula returns the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="579"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Group&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Period&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Individual&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="89"&gt;Metric&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Group Average&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Group Average v2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none;"&gt;131&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;n&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;68&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;67.5&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;68&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;b&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;n&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;63&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;61&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;63&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859906#M1016555</guid>
      <dc:creator />
      <dc:date>2015-04-17T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859907#M1016557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the output you are expecting to see? the one you just posted now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859907#M1016557</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-17T17:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859908#M1016558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The output I'm expecting to see is in the Group Average Column. The Group Average v2 returns that individuals performance when selecting only one individual, which is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the table and the graph appear to behave differently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859908#M1016558</guid>
      <dc:creator />
      <dc:date>2015-04-17T17:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859909#M1016560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A theory I have as to why it isn't working in the graph is that Group isn't appearing on the x-axis. I don't know how to get group to appear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859909#M1016560</guid>
      <dc:creator />
      <dc:date>2015-04-17T17:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859910#M1016562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's weird, but seems like it may be a function of your dimensions here. I am unable to figure out why it is happening, but I hope someone else might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859910#M1016562</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-17T17:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859911#M1016564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using a line chart and even if you add more than 1 dimensions to I guess it would calculate your expressions with regard to first dim only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use a bar chart instead,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83996_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 18:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859911#M1016564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T18:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859912#M1016566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you do not want to use a combo chart you can use the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;sum({&amp;lt;Group = P({&amp;lt;Individual={"$(=(GetFieldSelections(Individual)))"} &amp;gt;}),Individual=,Metric= {"&amp;gt;$(=(0))"}&amp;gt;} TOTAL &amp;lt;Group,Period&amp;gt; Metric)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;/&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;COUNT({&amp;lt;Group = P({&amp;lt;Individual={"$(=(GetFieldSelections(Individual)))"} &amp;gt;}),Individual=,Metric= {"&amp;gt;$(=(0))"}&amp;gt;} TOTAL &amp;lt;Group,Period&amp;gt; Metric)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 19:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859912#M1016566</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-17T19:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859913#M1016567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Edited after I stared at the formula a bit longer--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that I can understand better how to use similar capabilities in the future, can confirm for me through how the following section works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Group = P({&amp;lt;Individual={"$(=(GetFieldSelections(Individual)))"} &amp;gt;}),Individual=,Metric= {"&amp;gt;$(=(0))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Between the {} there are 3 different fields that will be filtered:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;Group = P({&amp;lt;Individual={"$(=(GetFieldSelections(Individual)))"} &amp;gt;})&lt;/EM&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;means filter for the groups that the individual has resided in at a given point&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #0000ff; font-size: 13.3333330154419px;"&gt;&lt;EM&gt;Individual=&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;means filter for all individuals regardless of current selection&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #0000ff; font-size: 13.3333330154419px;"&gt;Metric= {"&amp;gt;$(=(0))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;means filter for Metrics that are greater than 0. This is equivalent to the If statement in my original formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 20:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859913#M1016567</guid>
      <dc:creator />
      <dc:date>2015-04-17T20:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Percent of Group Average Accross Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859914#M1016568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so the expression in the set analysis is split in three parts&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group = P({&amp;lt;Individual={"$(=(GetFieldSelections(Individual)))"} &amp;gt;})&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Your original problem was that you were excluding &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Individual from the expression and because you were not selecting any group QV was adding the total for both groups, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;with this we are telling QV to use the group that is associated with the Individual field&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Individual =&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;this is to bring all Individu &lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Metric= {"&amp;gt;$(=(0))"}&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;since you were using an IF for Metric &amp;gt; 0, I used an advanced search&amp;nbsp; instead of the if, this performs faster than IF's&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 20:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-of-Group-Average-Accross-Periods/m-p/859914#M1016568</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-17T20:22:14Z</dc:date>
    </item>
  </channel>
</rss>

