<?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: Total sum of row in Pivot in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Total-sum-of-row-in-Pivot/m-p/1861719#M71110</link>
    <description>&lt;P&gt;Hi, that could be:&amp;nbsp;&lt;SPAN&gt;count (distinct Auftragsnummer)/count (distinct TOTAL &amp;lt;&lt;EM&gt;RowFieldName&lt;/EM&gt;&amp;gt; Auftragsnummer)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Change&amp;nbsp;&lt;EM&gt;RowFieldName&lt;/EM&gt; with the name of the field you are using as row dimension.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the same&amp;nbsp;Auftragsnummer may be on different&amp;nbsp;Zahlungsmethoden you'll need something different like use an Aggr:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count (distinct Auftragsnummer)/Sum(Aggr(count (distinct TOTAL &amp;lt;&lt;EM&gt;RowFieldName&lt;/EM&gt;&amp;gt; Auftragsnummer),Zahlungsmethoden))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 20 Nov 2021 09:31:14 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2021-11-20T09:31:14Z</dc:date>
    <item>
      <title>Total sum of row in Pivot</title>
      <link>https://community.qlik.com/t5/App-Development/Total-sum-of-row-in-Pivot/m-p/1861433#M71088</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I would like to have a pivot table that shows a ratio over the second (column) dimension (Zahlungsmethode) for each of the items in the first (row) dimension ...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TomR_0-1637324211012.png" style="width: 651px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67033iA3E817E1124CFFDC/image-dimensions/651x80?v=v2" width="651" height="80" role="button" title="TomR_0-1637324211012.png" alt="TomR_0-1637324211012.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The numbers shown above are the counts for each of the "Zahlungsmethoden".&lt;/P&gt;
&lt;P&gt;In the formula for now I have : count (distinct Auftragsnummer)&lt;/P&gt;
&lt;P&gt;Now, I need the sum of each in the row to calculate the ratio of each Zahlungsmethode :&lt;/P&gt;
&lt;P&gt;1 row would be 208 (-&amp;gt; Ratio for :&amp;nbsp; Zahlung bei Abholung = 176/208 etc ....)&lt;/P&gt;
&lt;P&gt;2 row would be 298&amp;nbsp;&amp;nbsp;(-&amp;gt; Ratio for :&amp;nbsp; Zahlung bei Abholung = 239/298 etc ....)&lt;/P&gt;
&lt;P&gt;Thanks a lot ...&lt;/P&gt;
&lt;P&gt;Thomas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 13:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-sum-of-row-in-Pivot/m-p/1861433#M71088</guid>
      <dc:creator>TomR</dc:creator>
      <dc:date>2021-11-19T13:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total sum of row in Pivot</title>
      <link>https://community.qlik.com/t5/App-Development/Total-sum-of-row-in-Pivot/m-p/1861719#M71110</link>
      <description>&lt;P&gt;Hi, that could be:&amp;nbsp;&lt;SPAN&gt;count (distinct Auftragsnummer)/count (distinct TOTAL &amp;lt;&lt;EM&gt;RowFieldName&lt;/EM&gt;&amp;gt; Auftragsnummer)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Change&amp;nbsp;&lt;EM&gt;RowFieldName&lt;/EM&gt; with the name of the field you are using as row dimension.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the same&amp;nbsp;Auftragsnummer may be on different&amp;nbsp;Zahlungsmethoden you'll need something different like use an Aggr:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count (distinct Auftragsnummer)/Sum(Aggr(count (distinct TOTAL &amp;lt;&lt;EM&gt;RowFieldName&lt;/EM&gt;&amp;gt; Auftragsnummer),Zahlungsmethoden))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 09:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-sum-of-row-in-Pivot/m-p/1861719#M71110</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-11-20T09:31:14Z</dc:date>
    </item>
  </channel>
</rss>

