<?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: Percentage operation between two expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673862#M728750</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PRODUCIDO/
Sum(Aggr(
    If(Sum(QTYGOOD) = 0, 0, Sum(PRODGOALS))
, XnAreaDes.., WRKCTRID, ITEMID))&lt;/LI-CODE&gt;&lt;P&gt;From the image, I couldn't determine the name of your first dimension, but you need to use that within the Aggr() function.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2020 11:56:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-02-10T11:56:04Z</dc:date>
    <item>
      <title>Percentage operation between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1672760#M728743</link>
      <description>&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;I have the following: In a simple table with 3 dimensions and 3 expressions,The three dimensions are values of Technology, Area and product.The three expressions are the goal to produce, PRODGOAL = I use an (if) to not add the zero values. PRODUCED = The sum of what is produced per day. PERCENT = division between (PRODUCED / PRODGOAL)&lt;BR /&gt;The calculation is done well, but having the total of the column, this result does not add up, it is not expected.&lt;/P&gt;&lt;P&gt;5940/7112 = 63% this bad must be 83%&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;If PRODGOAL (Produced = 0, 0, sum (PRODGOALS))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;PRODUCED = Sum (QTYGOOD)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;PERCENT = (Produced / PRODGOAL)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Percent.jpg" style="width: 611px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28024iBED33BCF6956D4DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Percent.jpg" alt="Percent.jpg" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1672760#M728743</guid>
      <dc:creator>JesusAlv4</dc:creator>
      <dc:date>2024-11-16T01:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Operación de porcentaje entre dos expresiones</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1672984#M728744</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/68955"&gt;@JesusAlv4&lt;/a&gt;&amp;nbsp; Are you using QlikView or Qlik Sense? I would like to move this into the correct product forum.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 14:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1672984#M728744</guid>
      <dc:creator>Sue_Macaluso</dc:creator>
      <dc:date>2020-02-06T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Operación de porcentaje entre dos expresiones</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673112#M728745</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sorry Sue,&amp;nbsp; it is a Qlikview product, and change the label to the correct forum, thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 18:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673112#M728745</guid>
      <dc:creator>JesusAlv4</dc:creator>
      <dc:date>2020-02-06T18:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage operation between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673127#M728746</link>
      <description>&lt;P&gt;What exactly are your expressions for the three columns? Are you using column reference for PRODGOAL expression?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 19:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673127#M728746</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-06T19:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage operation between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673191#M728747</link>
      <description>&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With IF sentence, I change the value to ZERO, so that it does not add up to the total production goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If (PRODUCIDO = 0, 0, Sum(PRODGOALS))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Percent01.jpg" style="width: 615px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28084i3AEF993F3520B2FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Percent01.jpg" alt="Percent01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;when I remove those rows of ZERO the calculation of percentage is not correct&lt;/P&gt;&lt;P&gt;example&amp;nbsp; image,&amp;nbsp; 2337/1778 =&amp;nbsp; correct percent&amp;nbsp; 131%&amp;nbsp; &amp;nbsp;not 99%&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Percent02.jpg" style="width: 612px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28085iDDAAC7CEF3CDD30A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Percent02.jpg" alt="Percent02.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 23:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673191#M728747</guid>
      <dc:creator>JesusAlv4</dc:creator>
      <dc:date>2020-02-06T23:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage operation between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673375#M728748</link>
      <description>&lt;P&gt;What is your expression for&amp;nbsp;&lt;SPAN&gt;PRODUCIDO column?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 14:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673375#M728748</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-07T14:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage operation between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673502#M728749</link>
      <description>&lt;P&gt;The expression is:&lt;/P&gt;&lt;P&gt;PRODUCIDO&amp;nbsp; &amp;nbsp;= Sum (QTYGOOD)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;PERCENT&amp;nbsp; = (PRODUCIDO / PRODGOAL)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 22:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673502#M728749</guid>
      <dc:creator>JesusAlv4</dc:creator>
      <dc:date>2020-02-07T22:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage operation between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673862#M728750</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PRODUCIDO/
Sum(Aggr(
    If(Sum(QTYGOOD) = 0, 0, Sum(PRODGOALS))
, XnAreaDes.., WRKCTRID, ITEMID))&lt;/LI-CODE&gt;&lt;P&gt;From the image, I couldn't determine the name of your first dimension, but you need to use that within the Aggr() function.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 11:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1673862#M728750</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-10T11:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage operation between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1676423#M728751</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;It works correctly, best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 23:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-operation-between-two-expressions/m-p/1676423#M728751</guid>
      <dc:creator>JesusAlv4</dc:creator>
      <dc:date>2020-02-17T23:24:33Z</dc:date>
    </item>
  </channel>
</rss>

