<?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 % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201569#M386838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That did the trick for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 14:56:08 GMT</pubDate>
    <dc:creator>cbushey1</dc:creator>
    <dc:date>2016-10-18T14:56:08Z</dc:date>
    <item>
      <title>Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201562#M386831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a way for my percentage expression to only display a percentage based on the total that is displaying. I understand that typically you can use the TOTAL prefix in the expression to get the data across the whole database but I need to only display percentages across the 12 months that are displaying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Numerator expression is as follows:&lt;/P&gt;&lt;P&gt;=Sum(Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}&amp;gt;}CaseCounter),Date_YM,CancellationReason))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two fields I am aggregating my CaseCounter over are the dimensions displayed in the pivot chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 20:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201562#M386831</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2016-10-17T20:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201563#M386832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I am guessing that you are using Rolling12M_Flag to display 12 month period? If that is true, you should be able to do just this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum(Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}&amp;gt;}CaseCounter),Date_YM,CancellationReason))/&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;Sum(TOTAL Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}&amp;gt;}CaseCounter),Date_YM,CancellationReason))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 20:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201563#M386832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-17T20:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201564#M386833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the post, however I have tried that and it doesn't return the expected results. The problem is that the Total is ignoring my dimensions of Date_YM (i.e. October 2015...) and Cancellation reason and summing all values together. I know I have data outside of the last 12 months and unfortunately that is being included in the denominator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried moving total to the inside Sum and many other variations with the Aggr to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 12:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201564#M386833</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2016-10-18T12:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201565#M386834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might help to see a sample, but try these if you have not already done so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}&amp;gt;}CaseCounter),Date_YM,CancellationReason))/Sum(&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Rolling12M_Flag = {1}&amp;gt;}&lt;/SPAN&gt; &lt;/STRONG&gt;TOTAL Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}&amp;gt;}CaseCounter),Date_YM,CancellationReason))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, are you using calculated dimension or dimension limits in your chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 13:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201565#M386834</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-18T13:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201566#M386835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this might have done it for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to have this calculation ignore nulls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found I also have some nulls in my CancellationReason field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201566#M386835</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2016-10-18T14:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201567#M386836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the denominator or numerator or both?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}, &lt;SPAN style="color: #ff0000;"&gt;CancellationReason = {'*'}&lt;/SPAN&gt;&amp;gt;} CaseCounter), Date_YM, CancellationReason))/Sum({&amp;lt;Rolling12M_Flag = {1}, &lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;CancellationReason = {'*'}&lt;/STRONG&gt;&amp;gt;} TOTAL Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}, &lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;CancellationReason = {'*'}&lt;/STRONG&gt;&amp;gt;}CaseCounter), Date_YM, CancellationReason))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201567#M386836</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-18T14:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201568#M386837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sum(Aggr(Sum({&amp;lt;Rolling12M_Flag = {1},&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;CancellationReason ={'*'}-{''}&lt;/STRONG&gt;&amp;gt;}CaseCounter),Date_YM,CancellationReason))/Sum(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;{&amp;lt;Rolling12M_Flag = {1}&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;,&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;CancellationReason ={'*'}-{''}&lt;/STRONG&gt;&amp;gt;}CaseCounter&lt;/STRONG&gt;&amp;gt;}&lt;/SPAN&gt; &lt;/STRONG&gt;TOTAL Aggr(Sum({&amp;lt;Rolling12M_Flag = {1}&amp;gt;}CaseCounter),Date_YM,CancellationReason))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201568#M386837</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-10-18T14:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201569#M386838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That did the trick for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/1201569#M386838</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2016-10-18T14:56:08Z</dc:date>
    </item>
  </channel>
</rss>

