<?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 Expression in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Table/m-p/449763#M167843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm in trouble with an expression in my pivot table.&lt;/P&gt;&lt;P&gt;The Pivot table has these dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;District,&lt;/P&gt;&lt;P&gt;Area,&lt;/P&gt;&lt;P&gt;AreaManagerName,&lt;/P&gt;&lt;P&gt;SubAreaManagerName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I've an expression that calculate how many SubAreaManager a single AreaManager has.&lt;/P&gt;&lt;P&gt;So in my pivot table I have this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;gradoPB={'060'}&amp;gt;}PBcode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gradoPB = 060 says that the PB (identifyed by his codePB) is a SubAreaManager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT WORKS PERFECTLY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to calculate how many SubAreaManager with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(SUM(Field1) / SUM(Field2)) &amp;gt;= 0.2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a single AreaManager has.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it's clear.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2013 14:14:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-19T14:14:57Z</dc:date>
    <item>
      <title>Expression in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Table/m-p/449763#M167843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm in trouble with an expression in my pivot table.&lt;/P&gt;&lt;P&gt;The Pivot table has these dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;District,&lt;/P&gt;&lt;P&gt;Area,&lt;/P&gt;&lt;P&gt;AreaManagerName,&lt;/P&gt;&lt;P&gt;SubAreaManagerName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I've an expression that calculate how many SubAreaManager a single AreaManager has.&lt;/P&gt;&lt;P&gt;So in my pivot table I have this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;gradoPB={'060'}&amp;gt;}PBcode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gradoPB = 060 says that the PB (identifyed by his codePB) is a SubAreaManager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT WORKS PERFECTLY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to calculate how many SubAreaManager with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(SUM(Field1) / SUM(Field2)) &amp;gt;= 0.2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a single AreaManager has.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it's clear.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 14:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Table/m-p/449763#M167843</guid>
      <dc:creator />
      <dc:date>2013-02-19T14:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Table/m-p/449764#M167844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to put this condition in my set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can put this filter : SUM(Field1) / SUM(Field2)) &amp;gt;= 0.2&lt;/P&gt;&lt;P&gt;in this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(Count({$&amp;lt;gradoPB={'060'}&amp;gt;} codicePB),AreaManagerName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I can solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 14:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Table/m-p/449764#M167844</guid>
      <dc:creator />
      <dc:date>2013-02-19T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Table/m-p/449765#M167845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No one can help me?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 09:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Pivot-Table/m-p/449765#M167845</guid>
      <dc:creator />
      <dc:date>2013-02-21T09:22:15Z</dc:date>
    </item>
  </channel>
</rss>

