<?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: Get the same total for the row. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310341#M460628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I should posted this before, my current expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Cantidad] / ((Count({1&amp;lt;ANO={$(vAno_anterior)}, NOM_MES={$(vNomMes_anterior)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO) + Count({1&amp;lt;ANO={$(vAno)}, NOM_MES={$(vNomMes)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO)) / 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I get your idea the expression become in sometime like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Cantidad] / ((Count(TOTAL&amp;lt;[Area Funcional]&amp;gt; {&amp;lt;ANO={$(vAno_anterior)}, NOM_MES={$(vNomMes_anterior)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO) + Count(TOTAL&amp;lt;[Area Funcional]&amp;gt;{&amp;lt;ANO={$(vAno)}, NOM_MES={$(vNomMes)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO)) / 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original expression used TOTAL without any qualifier and this got the overall total of the areas but not the total per area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 13:10:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-25T13:10:32Z</dc:date>
    <item>
      <title>Get the same total for the row.</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310339#M460626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering me if is there any chance to get the total value to a row, like TOTAL function, I am looking for a way to get the total of a expression for all the dimenesions that below to the expression.&lt;/P&gt;&lt;P&gt;I mean, according with the following image, I want the value 496 for the records of "Almacenaje Y Transporte" and the same for the others values.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161082_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me this topic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 21:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310339#M460626</guid>
      <dc:creator />
      <dc:date>2017-04-24T21:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get the same total for the row.</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310340#M460627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the TOTAL keyword with &amp;lt;&amp;gt;&amp;nbsp; qualifiers. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sum(Total&amp;lt;[Area Funcional]&amp;gt; somefield)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example, to find the percentage of each row within &lt;SPAN style="font-size: 13.3333px;"&gt;[Area Funcional]&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sum(somefield) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;sum(Total&amp;lt;[Area Funcional]&amp;gt; somefield)&lt;/SPAN&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;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 23:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310340#M460627</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-04-24T23:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get the same total for the row.</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310341#M460628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I should posted this before, my current expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Cantidad] / ((Count({1&amp;lt;ANO={$(vAno_anterior)}, NOM_MES={$(vNomMes_anterior)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO) + Count({1&amp;lt;ANO={$(vAno)}, NOM_MES={$(vNomMes)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO)) / 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I get your idea the expression become in sometime like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Cantidad] / ((Count(TOTAL&amp;lt;[Area Funcional]&amp;gt; {&amp;lt;ANO={$(vAno_anterior)}, NOM_MES={$(vNomMes_anterior)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO) + Count(TOTAL&amp;lt;[Area Funcional]&amp;gt;{&amp;lt;ANO={$(vAno)}, NOM_MES={$(vNomMes)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO)) / 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original expression used TOTAL without any qualifier and this got the overall total of the areas but not the total per area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310341#M460628</guid>
      <dc:creator />
      <dc:date>2017-04-25T13:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get the same total for the row.</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310342#M460629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you have it correct except the TOTAL should come after the set expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Cantidad] / ((Count( {&amp;lt;ANO={$(vAno_anterior)}, NOM_MES={$(vNomMes_anterior)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} DISTINCT CEDULA_EMPLEADO) + Count(TOTAL&amp;lt;[Area Funcional]&amp;gt;{&amp;lt;ANO={$(vAno)}, NOM_MES={$(vNomMes)}, NOMBRE_MOTIVO_RETIRO=,MOTIVO_RETIRO=&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;TOTAL&amp;lt;[Area Funcional]&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt; DISTINCT CEDULA_EMPLEADO)) / 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 21:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-same-total-for-the-row/m-p/1310342#M460629</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-04-25T21:26:05Z</dc:date>
    </item>
  </channel>
</rss>

