<?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 Applying a filter to a sum (Aplicar un Filtro a una Suma) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applying-a-filter-to-a-sum-Aplicar-un-Filtro-a-una-Suma/m-p/881082#M469462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends, what I have is a label where I show a sum, but that amount would put a condition to consider whether or not a group of values within that amount. Something like that:&lt;/P&gt;&lt;P&gt;If (variable = 'YES', SUM (soles), (SUM (Suns) - SUM ({type = 'IGNORE'} Soles))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not the box in which framework if I want to consider whether or not corporate expenses in the sum (Current: 4)&lt;/P&gt;&lt;P&gt;Assuming that expenditure is 1 if frame if the sum must be 4 if not the sum framework should be 3 (4-1 = 3)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="91847" alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91847_Screenshot_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Translated with Google Translate - Qlik Community Administrative Team&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hola amigos, lo que tengo es un label en donde muestro una suma, pero a esa suma quisiera meterle una condicion, para considerar o no un grupo de valores dentro de esa suma. Algo asi:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;If(variable='SI',&amp;nbsp; SUM(soles),&amp;nbsp; (SUM(Soles) - SUM( {tipo='OMITIR'} Soles) )&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;SI NO es la casilla en la que marco si quiero considerar o no los gastos corporativos dentro de la suma (Actual: 4)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Suponiendo que los gastos sean 1, si marco si la suma debe ser 4 y si marco no la suma deberia ser 3 (4-1=3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2015 15:38:05 GMT</pubDate>
    <dc:creator>stvn_003</dc:creator>
    <dc:date>2015-07-03T15:38:05Z</dc:date>
    <item>
      <title>Applying a filter to a sum (Aplicar un Filtro a una Suma)</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-a-filter-to-a-sum-Aplicar-un-Filtro-a-una-Suma/m-p/881082#M469462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends, what I have is a label where I show a sum, but that amount would put a condition to consider whether or not a group of values within that amount. Something like that:&lt;/P&gt;&lt;P&gt;If (variable = 'YES', SUM (soles), (SUM (Suns) - SUM ({type = 'IGNORE'} Soles))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not the box in which framework if I want to consider whether or not corporate expenses in the sum (Current: 4)&lt;/P&gt;&lt;P&gt;Assuming that expenditure is 1 if frame if the sum must be 4 if not the sum framework should be 3 (4-1 = 3)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="91847" alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91847_Screenshot_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Translated with Google Translate - Qlik Community Administrative Team&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hola amigos, lo que tengo es un label en donde muestro una suma, pero a esa suma quisiera meterle una condicion, para considerar o no un grupo de valores dentro de esa suma. Algo asi:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;If(variable='SI',&amp;nbsp; SUM(soles),&amp;nbsp; (SUM(Soles) - SUM( {tipo='OMITIR'} Soles) )&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;SI NO es la casilla en la que marco si quiero considerar o no los gastos corporativos dentro de la suma (Actual: 4)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Suponiendo que los gastos sean 1, si marco si la suma debe ser 4 y si marco no la suma deberia ser 3 (4-1=3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 15:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-a-filter-to-a-sum-Aplicar-un-Filtro-a-una-Suma/m-p/881082#M469462</guid>
      <dc:creator>stvn_003</dc:creator>
      <dc:date>2015-07-03T15:38:05Z</dc:date>
    </item>
  </channel>
</rss>

