<?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: Pivot Table Formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348820#M460805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, this appears to be working well!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 11:24:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-06T11:24:10Z</dc:date>
    <item>
      <title>Pivot Table Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348814#M460799</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 have been having issues when applying RAG formatting to a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table shows staff utilisation per month, and their respective teams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression for the utilisation is as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;SUM([Billable AMS Time])/ SUM([Available AMS Time])*100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;My Dimensions are Team, Person and Month(set horizontally)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;When I have a filter on Month, and Department not expanded, the rule works as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;If I unfilter month, or expand Department, the rule appears for Department appears to use whatever value is in the top left cell for that Department.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;See below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;Correct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;IMG alt="correct.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159139_correct.JPG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;When I expand the department, however, it appears to take the top value for that department, as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;IMG alt="incorrect1.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/159146_incorrect1.JPG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;If I remove the Month filter, I get a similar issue:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;IMG alt="incorrect2.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/159148_incorrect2.JPG" style="height: 291px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;I would like the Department column's RAG to reflect the average of each person within that Department, and each Person's RAG to reflect their average across the three months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 15:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348814#M460799</guid>
      <dc:creator />
      <dc:date>2017-04-05T15:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348815#M460800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to test this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 16:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348815#M460800</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-05T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348816#M460801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Certainly, find attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 16:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348816#M460801</guid>
      <dc:creator />
      <dc:date>2017-04-05T16:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348817#M460802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if this works for Department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Aggr(Avg(Aggr((SUM([Billable AMS Time])/ SUM([Available AMS Time])*100), Department, Resource, T_UploadMonth)), Department)&amp;lt;55, var_colour_RAG_Opaque_Red,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Aggr(Avg(Aggr((SUM([Billable AMS Time])/ SUM([Available AMS Time])*100), Department, Resource, T_UploadMonth)), Department)&amp;gt;=70, var_colour_RAG_Opaque_Green, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; var_colour_RAG_Opaque_Amber))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159158_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 16:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348817#M460802</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-05T16:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348818#M460803</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;It appears to work when the month filter is on, but when the month filter is removed it appears to error, and colour everything amber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="incorrect3.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159157_incorrect3.JPG" style="height: 277px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definite progress though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 16:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348818#M460803</guid>
      <dc:creator />
      <dc:date>2017-04-05T16:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348819#M460804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Aggr(NODISTINCT Avg(Aggr((SUM([Billable AMS Time])/ SUM([Available AMS Time])*100), Department, Resource, T_UploadMonth)), Department)&amp;lt;55, var_colour_RAG_Opaque_Red,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Aggr(NODISTINCT Avg(Aggr((SUM([Billable AMS Time])/ SUM([Available AMS Time])*100), Department, Resource, T_UploadMonth)), Department)&amp;gt;=70, var_colour_RAG_Opaque_Green, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; var_colour_RAG_Opaque_Amber))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 17:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348819#M460804</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-05T17:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348820#M460805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, this appears to be working well!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 11:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Formatting/m-p/1348820#M460805</guid>
      <dc:creator />
      <dc:date>2017-04-06T11:24:10Z</dc:date>
    </item>
  </channel>
</rss>

