<?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 % vs total in pivot table only on row dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/vs-total-in-pivot-table-only-on-row-dimension/m-p/1903645#M74542</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i have a pivot table in qlikview with an expression that gives met the % vs total for sales :&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;Year={2021}&amp;gt;}qty_unit_delivered*price_net_computed)/sum(total{&amp;lt;Year={2021}&amp;gt;}qty_unit_delivered*price_net_computed)&lt;/P&gt;
&lt;P&gt;it works correct&amp;nbsp; as long as for example i have only dimension on the left side.&lt;/P&gt;
&lt;P&gt;If i put the agent on the left side then it gives met the % from total for each agent.&lt;/P&gt;
&lt;P&gt;But now i want a different visualisation where i want the agent on the left side and sales channel on top.&lt;/P&gt;
&lt;P&gt;And i would like to compare the % for each segment between the agents.&lt;/P&gt;
&lt;P&gt;So i need that the calculated % on the row of the agent each time is 100 %.&lt;/P&gt;
&lt;P&gt;And with the expression above it takes the whole tabel across al the agents and channels as 100 %:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chriscools_1-1646925897750.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74174iC3A592D1287BE1ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="chriscools_1-1646925897750.png" alt="chriscools_1-1646925897750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm not sure on how to adapt the expression for this.&lt;/P&gt;
&lt;P&gt;Someone who can help me with it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 15:39:12 GMT</pubDate>
    <dc:creator>chriscools</dc:creator>
    <dc:date>2022-03-10T15:39:12Z</dc:date>
    <item>
      <title>% vs total in pivot table only on row dimension</title>
      <link>https://community.qlik.com/t5/App-Development/vs-total-in-pivot-table-only-on-row-dimension/m-p/1903645#M74542</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i have a pivot table in qlikview with an expression that gives met the % vs total for sales :&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;Year={2021}&amp;gt;}qty_unit_delivered*price_net_computed)/sum(total{&amp;lt;Year={2021}&amp;gt;}qty_unit_delivered*price_net_computed)&lt;/P&gt;
&lt;P&gt;it works correct&amp;nbsp; as long as for example i have only dimension on the left side.&lt;/P&gt;
&lt;P&gt;If i put the agent on the left side then it gives met the % from total for each agent.&lt;/P&gt;
&lt;P&gt;But now i want a different visualisation where i want the agent on the left side and sales channel on top.&lt;/P&gt;
&lt;P&gt;And i would like to compare the % for each segment between the agents.&lt;/P&gt;
&lt;P&gt;So i need that the calculated % on the row of the agent each time is 100 %.&lt;/P&gt;
&lt;P&gt;And with the expression above it takes the whole tabel across al the agents and channels as 100 %:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chriscools_1-1646925897750.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74174iC3A592D1287BE1ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="chriscools_1-1646925897750.png" alt="chriscools_1-1646925897750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm not sure on how to adapt the expression for this.&lt;/P&gt;
&lt;P&gt;Someone who can help me with it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 15:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/vs-total-in-pivot-table-only-on-row-dimension/m-p/1903645#M74542</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2022-03-10T15:39:12Z</dc:date>
    </item>
  </channel>
</rss>

