<?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: Straigh table with Total for Max and % calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653307#M730542</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(Sum(Aggr(Sum(If(Variable = 'AR', Debt, 0)), Area, [Sub-Area], [Higher Code], [Higher Name]))
/
Sum(Aggr(Max(If(Variable = 'AR', CreditLine, 0)), Area, [Sub-Area], [Higher Code], [Higher Name])))
-
1&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 02 Dec 2019 20:18:28 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-12-02T20:18:28Z</dc:date>
    <item>
      <title>Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1652473#M730535</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have a straight table with several columns that total is sum(values) but I have one column = max(algo) and the total for this column I forced to sum all the max(algo).&lt;/P&gt;&lt;P&gt;So far so good...&lt;/P&gt;&lt;P&gt;In the picture attached you can find the table and the column Credit Limit has max(algo) and totasl was forced to sum all max values, the other column is amount Over Credit that is sum(values) and its total also it is a sum so, the % over credit has a formula=Column(8)/Column(5) and for every row % is OK, but in gran total appear 440% and should be -9.585.159/32.814.074 =29%&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Can anyone help me please!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nancy&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1652473#M730535</guid>
      <dc:creator>nancybricenoa</dc:creator>
      <dc:date>2024-11-16T01:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1652498#M730536</link>
      <description>&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;if(Dimensionality()=0,&lt;/P&gt;&lt;P&gt;max(algo)/sum(values),&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Column(8)/Column(5))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 01:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1652498#M730536</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-11-29T01:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653288#M730537</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did that but it is not correct. the fact here is that % = column(8)/ Column(5) but according to what you can see in the picture of my table, the column(8) =column(4))-(column(5) and colum(5) =max (algo) with total forced to sum(all rows).&lt;/P&gt;&lt;P&gt;My expression here for %over credit is below:&lt;/P&gt;&lt;P&gt;If(Dimensionality() = 0,&lt;BR /&gt;(sum(TOTAL(IF(Variable='AR', Valor,0)))-max(TOTAL(IF(Variable='AR',Linea_credit)))) / (max(TOTAL(IF(Variable='AR',Linea_credit)))),&lt;BR /&gt;((column(4))-(column(5)))/((column(5))))&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Nancy&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 19:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653288#M730537</guid>
      <dc:creator>nancybricenoa</dc:creator>
      <dc:date>2019-12-02T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653290#M730538</link>
      <description>&lt;P&gt;What you need here is Sum(Aggr()) function around your individual expressions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(Sum(Aggr(ExpressionBehindColumn4, Area, [Sub-Area], [Higher Code], [Higher Name]))
/
Sum(Aggr(ExpressionBehindColumn5, Area, [Sub-Area], [Higher Code], [Higher Name]))) - 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 19:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653290#M730538</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-02T19:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653300#M730539</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;nut I have an error with Sum(aggr(Max)).&lt;/P&gt;&lt;P&gt;My expression is:&lt;/P&gt;&lt;P&gt;=(Sum(Aggr(IF(Variable='AR',valor,0), Area, [Sub-Area], [Higher Code], [Higher Name])) / Sum(Aggr(max(IF(Variable='AR', valor)), Area, [Sub-Area], [Higher Code], [Higher Name]))) - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653300#M730539</guid>
      <dc:creator>nancybricenoa</dc:creator>
      <dc:date>2019-12-02T20:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653302#M730540</link>
      <description>&lt;P&gt;Can you share the expressions behind Column4 and Column5 here?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653302#M730540</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-02T20:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653304#M730541</link>
      <description>&lt;P&gt;Yes!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column(4) expression is&amp;nbsp;=sum(IF(Variable='AR' ,Debt,0))&lt;/P&gt;&lt;P&gt;Column(5) expression is&amp;nbsp;=max(IF(Variable='AR' ,CreditLine,0))&lt;/P&gt;&lt;P&gt;and I need to calculate %overcredit= (colum(4) -column(5))/column(5)&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PD: Please note that only have problems with %total, because the % for every row is ok. Attaching the table again&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24755i8519F1013D6EB2C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653304#M730541</guid>
      <dc:creator>nancybricenoa</dc:creator>
      <dc:date>2019-12-02T20:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653307#M730542</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(Sum(Aggr(Sum(If(Variable = 'AR', Debt, 0)), Area, [Sub-Area], [Higher Code], [Higher Name]))
/
Sum(Aggr(Max(If(Variable = 'AR', CreditLine, 0)), Area, [Sub-Area], [Higher Code], [Higher Name])))
-
1&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653307#M730542</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-02T20:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Straigh table with Total for Max and % calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653313#M730543</link>
      <description>&lt;P&gt;THANKS!!!!!&lt;/P&gt;&lt;P&gt;It works!!!! Finally!!!! I'm so tired!!!&lt;/P&gt;&lt;P&gt;jajajajaja&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straigh-table-with-Total-for-Max-and-calculation/m-p/1653313#M730543</guid>
      <dc:creator>nancybricenoa</dc:creator>
      <dc:date>2019-12-02T20:26:52Z</dc:date>
    </item>
  </channel>
</rss>

