<?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: Sum of current column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489680#M101841</link>
    <description>&lt;P&gt;i've done that approach before it's inconsistent&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it shows 100% on the parent rows&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyugaHideki_0-1730202748766.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173510iEBBBD31CA6622F95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyugaHideki_0-1730202748766.png" alt="RyugaHideki_0-1730202748766.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 11:53:18 GMT</pubDate>
    <dc:creator>RyugaHideki</dc:creator>
    <dc:date>2024-10-29T11:53:18Z</dc:date>
    <item>
      <title>Sum of current column</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489614#M101831</link>
      <description>&lt;P&gt;Greetings&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to calculate the percentages based on the current column/dimensionality&amp;nbsp;&lt;/P&gt;
&lt;P&gt;table is like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyugaHideki_0-1730189213500.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173501i1B3F6F87317F459F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyugaHideki_0-1730189213500.png" alt="RyugaHideki_0-1730189213500.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;the Counts i got from crossing are correct but i want to for example the percentage of&amp;nbsp;'18 ans - 24 ans' would be 11/65 which is the sum of that column in that dimensionality with that crossing betwen Center/ marque/trancheAge , i'm not sure if i made the point clear or not and the same thing would be for 'IFRUIT' it would be 65/ the sum of the rest of the column,&amp;nbsp;&lt;BR /&gt;thank you for guiding me and helping in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 08:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489614#M101831</guid>
      <dc:creator>RyugaHideki</dc:creator>
      <dc:date>2024-10-29T08:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of current column</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489632#M101833</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/313025"&gt;@RyugaHideki&lt;/a&gt;&amp;nbsp; Let's say your expression is "sum(Value)" then your % expression will become below&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=sum(Value)/sum(total &amp;lt;Regions,Marques&amp;gt;Value)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 29 Oct 2024 09:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489632#M101833</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-10-29T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of current column</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489633#M101834</link>
      <description>&lt;P&gt;that would not help with crossing if you're trying to change the dimensions order it would always show regions as 100%&lt;/P&gt;
&lt;P&gt;if it helps the numbers are obtained by crossing those dimensions at a certain table since they're linked by Num or ID&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;TABLE={'A'}&amp;gt;} Num)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A is just an indicator of that table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is a way of Counting at the data loader level of every possible crossing but when the data is massive it's not an optimal solution and displaying would be reliant on many conditions&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 09:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489633#M101834</guid>
      <dc:creator>RyugaHideki</dc:creator>
      <dc:date>2024-10-29T09:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of current column</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489646#M101837</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/313025"&gt;@RyugaHideki&lt;/a&gt;&amp;nbsp; You can adjust it using GetObjectField(). In case any dimension are changing dynamically you will not get any issues. Where&amp;nbsp;GetObjectField(0) = first Row dimension and&amp;nbsp;GetObjectField(2)= 1st column dimension.&amp;nbsp; You can adjust it according to your need&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Count({&amp;lt;TABLE={'A'}&amp;gt;} Num) /Count(total &amp;lt;[$(=GetObjectField(0))],[$(=GetObjectField(2))]&amp;gt;{&amp;lt;TABLE={'A'}&amp;gt;}Num)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 10:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489646#M101837</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-10-29T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of current column</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489680#M101841</link>
      <description>&lt;P&gt;i've done that approach before it's inconsistent&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it shows 100% on the parent rows&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyugaHideki_0-1730202748766.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173510iEBBBD31CA6622F95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyugaHideki_0-1730202748766.png" alt="RyugaHideki_0-1730202748766.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 11:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489680#M101841</guid>
      <dc:creator>RyugaHideki</dc:creator>
      <dc:date>2024-10-29T11:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of current column</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489684#M101844</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/313025"&gt;@RyugaHideki&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=if( Dimensionality()=1,
Count({&amp;lt;TABLE={'A'}&amp;gt;} Num) /Count(total &amp;lt;$(=GetObjectField(2))]&amp;gt;{&amp;lt;TABLE={'A'}&amp;gt;}Num),
Count({&amp;lt;TABLE={'A'}&amp;gt;} Num) /Count(total &amp;lt;[$(=GetObjectField(0))],[$(=GetObjectField(2))]&amp;gt;{&amp;lt;TABLE={'A'}&amp;gt;}Num))&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 29 Oct 2024 12:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489684#M101844</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-10-29T12:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of current column</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489845#M101860</link>
      <description>&lt;P&gt;sorry for the late reply as i had to perform some tests and what you're trying to do essentially there is calculating based on the parent dimension which is something i've already done it's a nice approach but for example if you select one dimension it'll show 100% (an easy fix for that is remove&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-javascript"&gt;&lt;CODE&gt;$(=GetObjectField(2))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;in dimensionality=1 condition but anyway what i'm trying to achieve is shown in these pictures&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyugaHideki_0-1730273302181.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173559iD0D687ED28CDFFEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyugaHideki_0-1730273302181.png" alt="RyugaHideki_0-1730273302181.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyugaHideki_1-1730273323447.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173560iAAA758C18070525B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyugaHideki_1-1730273323447.png" alt="RyugaHideki_1-1730273323447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;notice how the results change for the region by changing the dimension position i'm trying to have fixed results&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 07:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-current-column/m-p/2489845#M101860</guid>
      <dc:creator>RyugaHideki</dc:creator>
      <dc:date>2024-10-30T07:29:14Z</dc:date>
    </item>
  </channel>
</rss>

