<?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 Relative % in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relative-in-Pivot-Table/m-p/987962#M336837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get a relative % in a pivot table, but the following formula doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sum({$&amp;lt;YEAR={$(=vYear)}, MONTH={$(=vMonth)}&amp;gt;} If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;-Sum(TOTAL {$&amp;lt;YEAR={$(=vYear)}, MONTH={$(=vMonth)}&amp;gt;} If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me the same results this formula, which ignores the set analysis:&lt;/P&gt;&lt;P&gt;-Sum(TOTAL If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 15:57:08 GMT</pubDate>
    <dc:creator>jdmarlin</dc:creator>
    <dc:date>2015-10-02T15:57:08Z</dc:date>
    <item>
      <title>Relative % in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-in-Pivot-Table/m-p/987962#M336837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get a relative % in a pivot table, but the following formula doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sum({$&amp;lt;YEAR={$(=vYear)}, MONTH={$(=vMonth)}&amp;gt;} If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;-Sum(TOTAL {$&amp;lt;YEAR={$(=vYear)}, MONTH={$(=vMonth)}&amp;gt;} If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me the same results this formula, which ignores the set analysis:&lt;/P&gt;&lt;P&gt;-Sum(TOTAL If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-in-Pivot-Table/m-p/987962#M336837</guid>
      <dc:creator>jdmarlin</dc:creator>
      <dc:date>2015-10-02T15:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relative % in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-in-Pivot-Table/m-p/987963#M336838</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;Not sure what's happening but I've added set modifiers and the total divisor is being calculated properly now:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-Sum({$&amp;lt;YEAR={$(=vYear)}, MONTH={$(=vMonth)}&amp;gt;} If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-Sum(TOTAL &amp;lt;ACCTNUM, SUBACCT&amp;gt; {$&amp;lt;YEAR={$(=vYear)}, MONTH={$(=vMonth)}&amp;gt;} If(ACCTNUM=SUBACCT,ACTIVITY * PERCENTAGE/100))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 16:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-in-Pivot-Table/m-p/987963#M336838</guid>
      <dc:creator>jdmarlin</dc:creator>
      <dc:date>2015-10-02T16:55:56Z</dc:date>
    </item>
  </channel>
</rss>

