<?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 and sub-totals by category in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139724#M9799</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;I have some troubles using the pivot table in Qlik Sense.&lt;/P&gt;&lt;P&gt;I'm using the pivot table in fully expended mode. My model here is pretty simple, 2 tables :&lt;/P&gt;&lt;P&gt;Table 1 is containing "banks" and table 2 is containing "assets", each asset is linked with 1 bank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the screen below, my bank rows in the table are displaying a "total" by bank. But this total here, is not the sum of all assets linked with this bank, but the average. I would like to display a simple sum instead of this average. Is it possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Banks.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215283_Banks.PNG" style="height: 236px; width: 620px;" /&gt; &lt;/P&gt;&lt;P&gt;(don't worry the screen is displaying testing data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Oct 2018 08:27:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-06T08:27:09Z</dc:date>
    <item>
      <title>Pivot Table and sub-totals by category</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139724#M9799</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;I have some troubles using the pivot table in Qlik Sense.&lt;/P&gt;&lt;P&gt;I'm using the pivot table in fully expended mode. My model here is pretty simple, 2 tables :&lt;/P&gt;&lt;P&gt;Table 1 is containing "banks" and table 2 is containing "assets", each asset is linked with 1 bank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the screen below, my bank rows in the table are displaying a "total" by bank. But this total here, is not the sum of all assets linked with this bank, but the average. I would like to display a simple sum instead of this average. Is it possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Banks.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215283_Banks.PNG" style="height: 236px; width: 620px;" /&gt; &lt;/P&gt;&lt;P&gt;(don't worry the screen is displaying testing data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2018 08:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139724#M9799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-06T08:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and sub-totals by category</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139725#M9800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your expression here? Is it AVG()? The total rows show the total values of the underlying rows, so if you calculate average, the totals will be average as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 13:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139725#M9800</guid>
      <dc:creator>Ivan_Bozov</dc:creator>
      <dc:date>2018-10-08T13:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and sub-totals by category</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139726#M9801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[asset_class] = {'Equity'}&amp;gt;}[asset_value])/Sum({$&amp;lt;[currency_id] = {$(=currencies)}&amp;gt;}currency_rate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 13:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139726#M9801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-08T13:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and sub-totals by category</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139727#M9802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Gregory Di Pasquale wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Here is my code :&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt;[asset_class] = {'Equity'}&amp;gt;}[asset_value])/Sum({$&amp;lt;[currency_id] = {$(=currencies)}&amp;gt;}currency_rate)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you divide A by B. This is how your total is calculated as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 13:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139727#M9802</guid>
      <dc:creator>Ivan_Bozov</dc:creator>
      <dc:date>2018-10-08T13:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and sub-totals by category</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139728#M9803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you're right !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now I need to find a way to apply my division.&lt;/P&gt;&lt;P&gt;This division is just a currency conversion, I need to use the currency_rate associated with the currency_id = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=currencies), any idea ? (without using a Sum)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 17:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139728#M9803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-08T17:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and sub-totals by category</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139729#M9804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can do the calculations in the script and have a filed showing the values in one currency. You can use ApplyMap to map the currency to the exchange rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A quick search in the community leads to this thread that can help you: &lt;A href="https://community.qlik.com/thread/248720"&gt;How to use currency exchange rates in Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 18:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-and-sub-totals-by-category/m-p/139729#M9804</guid>
      <dc:creator>Ivan_Bozov</dc:creator>
      <dc:date>2018-10-08T18:12:05Z</dc:date>
    </item>
  </channel>
</rss>

