<?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:  Totals Not Correct in Calculations for Conditional Formatting in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2551617#M3678</link>
    <description>&lt;P&gt;As per Qlik Help Page, this is how TOTAL work&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;The total qualifier may be used inside an aggregation in order to redefine the aggregation scope by disregarding the dimensional values. The aggregation will instead be performed on&lt;STRONG&gt; all possible field values&lt;/STRONG&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You might need to find another way to evaluate, what you are looking for? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try with Sum(Aggr(yourexpression, dim1, dim2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ref -&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Design/What-does-the-TOTAL-qualifier-do/ba-p/1472990" target="_blank"&gt;https://community.qlik.com/t5/Design/What-does-the-TOTAL-qualifier-do/ba-p/1472990&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prashant Sangle&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2026 05:07:33 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2026-06-18T05:07:33Z</dc:date>
    <item>
      <title>Pivot Table:  Totals Not Correct in Calculations for Conditional Formatting</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2551598#M3677</link>
      <description>&lt;P class=""&gt;Conditional Formatting Benchmark Mismatch with Column Dimensions and Label Filtering&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;I have a pivot table with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Rows:&lt;/STRONG&gt; Product labels (8 total: P1–P8)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Columns:&lt;/STRONG&gt; Months (calculated dimension: ='Month ' &amp;amp; Month_Num)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Values:&lt;/STRONG&gt; Turn Rate metric&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;My conditional formatting compares each product's turn rate to the Totals row (benchmark). The Totals row displays &lt;STRONG&gt;124%&lt;/STRONG&gt; for MONTH 9, but my conditional formatting benchmark calculates to &lt;STRONG&gt;117%&lt;/STRONG&gt; for the same month—a 7% discrepancy.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Root Cause:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;My conditional formatting includes a filter that restricts the benchmark calculation to 6 of the 8 products. Two products (P7, P8) are intentionally excluded from coloring but are included in the Totals row. The benchmark appears to calculate on only the 6 products while the Totals row includes all 8, causing the mismatch.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;The Ask:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Why is my conditional formatting benchmark calculating to 117% instead of 124%? Is this a limitation of the TOTAL qualifier with calculated column dimensions, or is there a way to make the benchmark match the Totals row value?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 21:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2551598#M3677</guid>
      <dc:creator>Crichter141</dc:creator>
      <dc:date>2026-06-17T21:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table:  Totals Not Correct in Calculations for Conditional Formatting</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2551617#M3678</link>
      <description>&lt;P&gt;As per Qlik Help Page, this is how TOTAL work&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;The total qualifier may be used inside an aggregation in order to redefine the aggregation scope by disregarding the dimensional values. The aggregation will instead be performed on&lt;STRONG&gt; all possible field values&lt;/STRONG&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You might need to find another way to evaluate, what you are looking for? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try with Sum(Aggr(yourexpression, dim1, dim2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ref -&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Design/What-does-the-TOTAL-qualifier-do/ba-p/1472990" target="_blank"&gt;https://community.qlik.com/t5/Design/What-does-the-TOTAL-qualifier-do/ba-p/1472990&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prashant Sangle&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2026 05:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2551617#M3678</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2026-06-18T05:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table:  Totals Not Correct in Calculations for Conditional Formatting</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2551622#M3679</link>
      <description>&lt;P&gt;If you use two different main-calculations you will get two different results but one of them might be extended to branch into n ones considering the specific context, for example with something like:&lt;/P&gt;&lt;P&gt;if(dimensionality() = 0, Expr1, Expr2)&lt;/P&gt;&lt;P&gt;to calculate per dimension-level differently.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2026 06:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2551622#M3679</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2026-06-18T06:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table:  Totals Not Correct in Calculations for Conditional Formatting</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2552003#M3683</link>
      <description>&lt;P&gt;So the trick was to create two new benchmarks in the load script and mapping them out to the correct granularity.&amp;nbsp; I can't claim to be an expert, but Marcus solution put us on the right path, so thank you, MVP!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 16:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Pivot-Table-Totals-Not-Correct-in-Calculations-for-Conditional/m-p/2552003#M3683</guid>
      <dc:creator>Crichter141</dc:creator>
      <dc:date>2026-06-24T16:34:22Z</dc:date>
    </item>
  </channel>
</rss>

