<?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: How to make dynamic percentage calculation for each group on pivot in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/34764#M2322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Furthermore you can make it dynamic as to which two first dimensions you put in the pivot by using the GetObjectField() function. It is a rather strange name for the function since it retrieves the name of the dimension you select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(VALUE)/SUM(TOTAL &amp;lt;$(=GetObjectField(0)),$(=GetObjectField(1))&amp;gt; VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression will adjust to whichever dimensions you put in the pivot. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2018 09:52:25 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2018-03-30T09:52:25Z</dc:date>
    <item>
      <title>How to make dynamic percentage calculation for each group on pivot</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/34762#M2320</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 want to show percentage %ofParentTotal for each group on pivot table. I can make it by checking dimensionality of cell and calculate the &lt;SPAN style="font-size: 13.3333px;"&gt;%ofParentTotal for each group.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum(VALUE)/&lt;/P&gt;&lt;P&gt;Pick(Dimensionality()+1,&lt;/P&gt;&lt;P&gt;sum(total VALUE),&lt;/P&gt;&lt;P&gt;sum(total VALUE),&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;DIM1&amp;gt; VALUE),&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;DIM1,DIM2&amp;gt; VALUE),&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ss.png" class="jive-image image-1" height="466" src="https://community.qlik.com/legacyfs/online/198004_ss.png" style="font-size: 13.3333px; width: 530.34px; height: 466px;" width="530" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; but I need to calculate it without checking dimensionality. Actually, I don't want to edit the expression when any dimension is added. It is not effective &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there any way to achieve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 08:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/34762#M2320</guid>
      <dc:creator>kaanerisen</dc:creator>
      <dc:date>2018-03-30T08:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to make dynamic percentage calculation for each group on pivot</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/34763#M2321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess this is closer to what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-03-30 11_32_49-_ratio for each group - My new sheet _ App overview - Qlik Sense.png" class="jive-image image-1" src="/legacyfs/online/198009_2018-03-30 11_32_49-_ratio for each group - My new sheet _ App overview - Qlik Sense.png" style="height: 463px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 09:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/34763#M2321</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-03-30T09:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to make dynamic percentage calculation for each group on pivot</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/34764#M2322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Furthermore you can make it dynamic as to which two first dimensions you put in the pivot by using the GetObjectField() function. It is a rather strange name for the function since it retrieves the name of the dimension you select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(VALUE)/SUM(TOTAL &amp;lt;$(=GetObjectField(0)),$(=GetObjectField(1))&amp;gt; VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression will adjust to whichever dimensions you put in the pivot. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 09:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/34764#M2322</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-03-30T09:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to make dynamic percentage calculation for each group on pivot</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/1705183#M54061</link>
      <description>&lt;P&gt;Hi Petter,&lt;/P&gt;&lt;P&gt;Thanks for this idea! I have a bar chart that shows month on month 100% stacked bar chart and my formula is like:&lt;/P&gt;&lt;P&gt;count({&amp;lt;Status={'Approved'}&amp;gt;}distinct appl_no)&lt;BR /&gt;/&lt;BR /&gt;count({&amp;lt;Status={'Approved'}&amp;gt;}total &amp;lt;MonthYear&amp;gt; distinct appl_no)&lt;/P&gt;&lt;P&gt;NOW, I want to make my dimension into drill down MonthYear &amp;gt; Date but my formula fails ofcourse when drilling down into dates and unfortunately when I try GetObjectField it results into an error. Can you please advise? thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 12:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-dynamic-percentage-calculation-for-each-group-on/m-p/1705183#M54061</guid>
      <dc:creator>Badzreyes00</dc:creator>
      <dc:date>2020-05-26T12:15:39Z</dc:date>
    </item>
  </channel>
</rss>

