<?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: Calculated measure in Pivot table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259584#M859881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean you want a total for your calculated dimension within the total-row of Material? I don't believe that this will be possible. A workaround for this might be to include this total within the calculated dimension itself, maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(SUM(SoldQty),ArticleNo,Batch) &amp;amp; ' of ' &amp;amp; aggr(SUM(SoldQty),ArticleNo) &amp;amp; ' in total'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2017 11:59:54 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-01-17T11:59:54Z</dc:date>
    <item>
      <title>Calculated measure in Pivot table?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259582#M859879</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;&lt;/P&gt;&lt;P&gt;Is it possible to create calculated measure in Pivot table - dimension tab (i'can't put this calculation in expression tab due to my requirement report template restriction).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;used below expression in Dimension,&lt;/P&gt;&lt;P&gt;=aggr(SUM(SoldQty),ArticleNo,Batch)&lt;IMG __jive_id="149701" alt="102.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149701_102.jpg" style="height: 140px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259582#M859879</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure in Pivot table?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259583#M859880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure this is possible.&lt;/P&gt;&lt;P&gt;I was hoping you might be able to get away with faking it using the totals label but it doesn't work because you're limited to the cell width of your dimension so you can't 'shift' the total under the correct column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149729_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149728_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 11:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259583#M859880</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-01-17T11:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure in Pivot table?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259584#M859881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean you want a total for your calculated dimension within the total-row of Material? I don't believe that this will be possible. A workaround for this might be to include this total within the calculated dimension itself, maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(SUM(SoldQty),ArticleNo,Batch) &amp;amp; ' of ' &amp;amp; aggr(SUM(SoldQty),ArticleNo) &amp;amp; ' in total'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 11:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259584#M859881</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-17T11:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure in Pivot table?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259585#M859882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the workaround method, i've tried and it's working only when no dimension kept in pivot table column position. please refer to attached sample mock. kindly advise. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Weekly soh.jpg" class="jive-image image-1" src="/legacyfs/online/149770_Weekly soh.jpg" style="height: 304px; width: 620px;" /&gt; !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259585#M859882</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-01-17T18:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure in Pivot table?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259586#M859883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression for the calculated dimension must be look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= aggr(SUM(TotalNetPrice),ArticleNo,Batch) &amp;amp; ' of ' &amp;amp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; aggr(NODISTINCT SUM(total &amp;lt;Batch, SKUTheme&amp;gt; TotalNetPrice),Batch, SKUTheme) &amp;amp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ' in total'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The suggestion from Adam is also very interesting but they will only work if you want to display a global total within because this label-field don't respect the dimensions within the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 08:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259586#M859883</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-18T08:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure in Pivot table?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259587#M859884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general there would be another possible approach by adding 'TOTAL' fieldvalue(s) within the field ArticleNo and then reacting per if-checks if there is a real ArticleNo or this dummy-value like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ArticleNo = 'TOTAL', exp1, exp2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by removing the partial sums for this field and formatting these rows with attribute expressions. But it will be also only a workaround and cost performance, makes it more complex and need some efforts to implement it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 09:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-measure-in-Pivot-table/m-p/1259587#M859884</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-18T09:39:02Z</dc:date>
    </item>
  </channel>
</rss>

