<?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 Why does a Pivot table automatically sum columns when using TOTAL? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Why-does-a-Pivot-table-automatically-sum-columns-when-using/m-p/1562500#M40981</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am creating a pivot table with several dimensions. I would like to get the Total Market for Qty pr. month.&lt;/P&gt;&lt;P&gt;I use this formula to find the total&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;[Calendar.YearMonth]&amp;gt;} TOTAL &amp;lt;Market&amp;gt; qty)&lt;/P&gt;&lt;P&gt;It finds the total for Market as expected by summarizing the rows.&lt;/P&gt;&lt;P&gt;It does however summarize across column months as well. See screenshot below. How do I avoid this so that it shows the value for market per month for each row?&lt;/P&gt;&lt;P&gt;I thought {&amp;lt;[Calendar.YearMonth]&amp;gt;} would stop it from summarizing across months but it does not work.&lt;/P&gt;&lt;P&gt;Thx for any help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9045i5E6196CBC6672A83/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:13:37 GMT</pubDate>
    <dc:creator>negovista</dc:creator>
    <dc:date>2024-11-16T06:13:37Z</dc:date>
    <item>
      <title>Why does a Pivot table automatically sum columns when using TOTAL?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-a-Pivot-table-automatically-sum-columns-when-using/m-p/1562500#M40981</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am creating a pivot table with several dimensions. I would like to get the Total Market for Qty pr. month.&lt;/P&gt;&lt;P&gt;I use this formula to find the total&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;[Calendar.YearMonth]&amp;gt;} TOTAL &amp;lt;Market&amp;gt; qty)&lt;/P&gt;&lt;P&gt;It finds the total for Market as expected by summarizing the rows.&lt;/P&gt;&lt;P&gt;It does however summarize across column months as well. See screenshot below. How do I avoid this so that it shows the value for market per month for each row?&lt;/P&gt;&lt;P&gt;I thought {&amp;lt;[Calendar.YearMonth]&amp;gt;} would stop it from summarizing across months but it does not work.&lt;/P&gt;&lt;P&gt;Thx for any help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9045i5E6196CBC6672A83/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-a-Pivot-table-automatically-sum-columns-when-using/m-p/1562500#M40981</guid>
      <dc:creator>negovista</dc:creator>
      <dc:date>2024-11-16T06:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a Pivot table automatically sum columns when using TOTAL?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-does-a-Pivot-table-automatically-sum-columns-when-using/m-p/1562519#M40988</link>
      <description>&lt;P&gt;I also tried with this formula&lt;/P&gt;&lt;P&gt;aggr(Sum ( qty)) , Market)&lt;/P&gt;&lt;P&gt;but it only shows one value unless I use nodistinct and with nodistinct it shows the summarized value for all months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried this&lt;/P&gt;&lt;P&gt;aggr(Sum ( qty) , Calendar.YearMonth)&lt;/P&gt;&lt;P&gt;and it summarizes per month, but it also summarizes all Markets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like I need a&amp;nbsp;"for loop" saying for each month calculate total but that's not available&amp;nbsp;with "set analysis" as far as I know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other suggestions are appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-does-a-Pivot-table-automatically-sum-columns-when-using/m-p/1562519#M40988</guid>
      <dc:creator>negovista</dc:creator>
      <dc:date>2019-03-28T15:49:03Z</dc:date>
    </item>
  </channel>
</rss>

