<?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 Pivot Table With AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1829885#M1214394</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am developing the Pivot table for no of FD calculation. I am facing the issue with below expression.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;Sum(Aggr((Sum({$&amp;lt;Month_End_Flag = {'-1'}&amp;gt;} Day_Number_In_Month) - Sum(TOTLength) -&lt;BR /&gt;(Count({$&amp;lt;Day_of_Week_Eng = {'Sunday'}&amp;gt;}Day_of_Week_Eng) - Count({&amp;lt;APWeekDay = {'Sun'},APStateCode = {'1'}&amp;gt;}Distinct APEndDate))),FFOptimaV3TerritoryIDDescription))&lt;/P&gt;&lt;P&gt;Without Month Selection, it is showing only Jan month with full month data. It will be splitting the month wise in pivot table. It should show for all months.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_0-1629391313693.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60416iAC75DB641187A1D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_0-1629391313693.png" alt="dineshm030_0-1629391313693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh Kumar.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 16:43:23 GMT</pubDate>
    <dc:creator>dineshm030</dc:creator>
    <dc:date>2021-08-19T16:43:23Z</dc:date>
    <item>
      <title>Pivot Table With AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1829885#M1214394</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am developing the Pivot table for no of FD calculation. I am facing the issue with below expression.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;Sum(Aggr((Sum({$&amp;lt;Month_End_Flag = {'-1'}&amp;gt;} Day_Number_In_Month) - Sum(TOTLength) -&lt;BR /&gt;(Count({$&amp;lt;Day_of_Week_Eng = {'Sunday'}&amp;gt;}Day_of_Week_Eng) - Count({&amp;lt;APWeekDay = {'Sun'},APStateCode = {'1'}&amp;gt;}Distinct APEndDate))),FFOptimaV3TerritoryIDDescription))&lt;/P&gt;&lt;P&gt;Without Month Selection, it is showing only Jan month with full month data. It will be splitting the month wise in pivot table. It should show for all months.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_0-1629391313693.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60416iAC75DB641187A1D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_0-1629391313693.png" alt="dineshm030_0-1629391313693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh Kumar.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 16:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1829885#M1214394</guid>
      <dc:creator>dineshm030</dc:creator>
      <dc:date>2021-08-19T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table With AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830201#M1214431</link>
      <description>&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;Sum(Aggr(DISTINCT (Sum({$&amp;lt;Month_End_Flag = {'-1'}&amp;gt;} Day_Number_In_Month) - Sum(TOTLength) - (Count({$&amp;lt;Day_of_Week_Eng = {'Sunday'}&amp;gt;}Day_of_Week_Eng) - Count({&amp;lt;APWeekDay = {'Sun'},APStateCode = {'1'}&amp;gt;}Distinct APEndDate))),FFOptimaV3TerritoryIDDescription))&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 12:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830201#M1214431</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2021-08-20T12:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table With AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830298#M1214447</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In Aggr function, you need to mention the month field also&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum(Aggr((Sum({$&amp;lt;Month_End_Flag = {'-1'}&amp;gt;} Day_Number_In_Month) - Sum(TOTLength) -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Count({$&amp;lt;Day_of_Week_Eng = {'Sunday'}&amp;gt;}Day_of_Week_Eng) - Count({&amp;lt;APWeekDay = {'Sun'},APStateCode = {'1'}&amp;gt;}Distinct APEndDate))),FFOptimaV3TerritoryIDDescription, &lt;STRONG&gt;urmonthfield&lt;/STRONG&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And also, make sure, all the month satisfy the set analysis info&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 02:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830298#M1214447</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-08-21T02:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table With AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830524#M1214487</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While i am seeing the data at FF Name it is showing the value,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_0-1629725863284.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60590i4B7EC94E0FB3B522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_0-1629725863284.png" alt="dineshm030_0-1629725863284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;while I am looking the data at Contact level it is showing as 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_1-1629725962604.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60591i39784D2A2E6535AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_1-1629725962604.png" alt="dineshm030_1-1629725962604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am checking the one contact name the value is showing,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_2-1629726012703.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60592iF3A3E7ADEFFB965C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_2-1629726012703.png" alt="dineshm030_2-1629726012703.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;Sum(Aggr((Sum({$&amp;lt;Month_End_Flag = {'-1'}&amp;gt;} Day_Number_In_Month) - Sum(TOTLength) -&lt;BR /&gt;(Count({$&amp;lt;Day_of_Week_Eng = {'Sunday'}&amp;gt;}Day_of_Week_Eng) - Count({&amp;lt;APWeekDay = {'Sun'},APStateCode = {'1'}&amp;gt;}Distinct APEndDate))),Month,FFOptimaV3TerritoryIDDescription))&lt;/P&gt;&lt;P&gt;Kindly help me out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh Kumar.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 13:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830524#M1214487</guid>
      <dc:creator>dineshm030</dc:creator>
      <dc:date>2021-08-23T13:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table With AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830659#M1214499</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think, you can try without aggr function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({$&amp;lt;Month_End_Flag = {'-1'}&amp;gt;} Day_Number_In_Month) - Sum(TOTLength) -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Count({$&amp;lt;Day_of_Week_Eng = {'Sunday'}&amp;gt;}Day_of_Week_Eng) - Count({&amp;lt;APWeekDay = {'Sun'},APStateCode = {'1'}&amp;gt;}Distinct APEndDate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If its based on FFPosition alone, try to add Total&amp;lt;FFPosition&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in aggr fn, you need to add contactname also.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Its depends on ur requirement&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 00:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-AGGR/m-p/1830659#M1214499</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-08-24T00:49:11Z</dc:date>
    </item>
  </channel>
</rss>

