<?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 Facing Count Problem in Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Facing-Count-Problem-in-Pivot/m-p/178853#M45919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am facing Problem with the Total in Pivot Table . So, I have used aggr function to overcome this . The problem is I have to select the dimensions as cyclic . The following is the expression I have used ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Aggr(Count( distinct FACT_ID),Fact_Year,Fact_Org,Fact_City))&lt;/P&gt;&lt;P&gt;SO my thought is to replace the dimensions Fact_Org,Fact_City dynamically when I select a selection in the cyclic group.&lt;/P&gt;&lt;P&gt;for that I have created a variable curr and passed the value as getcurrentfield(GroupName). Group name is my cyclic group .&lt;/P&gt;&lt;P&gt;Now my expression is like below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Aggr(Count( distinct FACT_ID),Fact_Year,$(curr)))&lt;/P&gt;&lt;P&gt;but this is not working . I request your kind help ..........................&lt;/P&gt;&lt;P&gt;Thanks in Advance ........&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chakravarthy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Aug 2010 03:52:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-30T03:52:41Z</dc:date>
    <item>
      <title>Facing Count Problem in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-Count-Problem-in-Pivot/m-p/178853#M45919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am facing Problem with the Total in Pivot Table . So, I have used aggr function to overcome this . The problem is I have to select the dimensions as cyclic . The following is the expression I have used ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Aggr(Count( distinct FACT_ID),Fact_Year,Fact_Org,Fact_City))&lt;/P&gt;&lt;P&gt;SO my thought is to replace the dimensions Fact_Org,Fact_City dynamically when I select a selection in the cyclic group.&lt;/P&gt;&lt;P&gt;for that I have created a variable curr and passed the value as getcurrentfield(GroupName). Group name is my cyclic group .&lt;/P&gt;&lt;P&gt;Now my expression is like below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Aggr(Count( distinct FACT_ID),Fact_Year,$(curr)))&lt;/P&gt;&lt;P&gt;but this is not working . I request your kind help ..........................&lt;/P&gt;&lt;P&gt;Thanks in Advance ........&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chakravarthy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 03:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-Count-Problem-in-Pivot/m-p/178853#M45919</guid>
      <dc:creator />
      <dc:date>2010-08-30T03:52:41Z</dc:date>
    </item>
  </channel>
</rss>

