<?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: Sumar valores excluidos en la seleccion in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036894#M85418</link>
    <description>&lt;P&gt;Hola, puedes probar concatenando las tablas:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;TablaFinal:
LOAD Period, Category, Sales From/Resident Sales;

Concatenate(TablaFinal)
LOAD Period, Category, Obj From/Resident Objetivo;&lt;/LI-CODE&gt;</description>
    <pubDate>Sun, 12 Feb 2023 18:09:48 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2023-02-12T18:09:48Z</dc:date>
    <item>
      <title>Sumar valores excluidos en la seleccion</title>
      <link>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036893#M85417</link>
      <description>&lt;P&gt;Hola a todos, no puedo resolver el siguiente caso:&lt;/P&gt;
&lt;P&gt;Tengo 2 tablas en las cuales una contiene las ventas y otra los objetivos a alcanzar mes a mes:&lt;/P&gt;
&lt;P&gt;Sales:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;Period, Category, Sales&lt;BR /&gt;202201, A, $ 100,00 &lt;BR /&gt;202202, A, $ 150,00 &lt;BR /&gt;202203, A, $ 130,00 &lt;BR /&gt;202204, A, $ 156,67 &lt;BR /&gt;202205, A, $ 171,67 &lt;BR /&gt;202206, A, $ 186,67 &lt;BR /&gt;202207, A, $ 201,67 &lt;BR /&gt;202208, A, $ 216,67 &lt;BR /&gt;202209, A, $ 231,67 &lt;BR /&gt;202210, A, $ 246,67 &lt;BR /&gt;202211, A, $ 261,67 &lt;BR /&gt;202212, A, $ 276,67 &lt;BR /&gt;202301, A, $ 291,67 &lt;BR /&gt;202302, A, $ 306,67 &lt;BR /&gt;202201, B, $ 100,00 &lt;BR /&gt;202202, B, $ 150,00 &lt;BR /&gt;202203, B, $ 130,00 &lt;BR /&gt;202204, B, $ 156,67 &lt;BR /&gt;202205, B, $ 171,67 &lt;BR /&gt;202206, B, $ 186,67 &lt;BR /&gt;202207, B, $ 201,67 &lt;BR /&gt;202208, B, $ 216,67 &lt;BR /&gt;202209, B, $ 231,67 &lt;BR /&gt;202210, B, $ 246,67 &lt;BR /&gt;202211, B, $ 261,67 &lt;BR /&gt;202212, B, $ 276,67 &lt;BR /&gt;202301, B, $ 291,67 &lt;BR /&gt;202302, B, $ 306,67 &lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Objetivo:&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;Period, Category, Obj&lt;BR /&gt;202201, A, 100&lt;BR /&gt;202202, A, 110&lt;BR /&gt;202203, A, 120&lt;BR /&gt;202204, A, 130&lt;BR /&gt;202205, A, 140&lt;BR /&gt;202206, A, 150&lt;BR /&gt;202207, A, 160&lt;BR /&gt;202208, A, 170&lt;BR /&gt;202209, A, 180&lt;BR /&gt;202210, A, 190&lt;BR /&gt;202211, A, 200&lt;BR /&gt;202212, A, 210&lt;BR /&gt;202301, A, 220&lt;BR /&gt;202302, A, 230&lt;BR /&gt;202303, A, 240&lt;BR /&gt;202304, A, 250&lt;BR /&gt;202305, A, 260&lt;BR /&gt;202306, A, 270&lt;BR /&gt;202307, A, 280&lt;BR /&gt;202308, A, 290&lt;BR /&gt;202309, A, 300&lt;BR /&gt;202310, A, 310&lt;BR /&gt;202311, A, 320&lt;BR /&gt;202312, A, 330&lt;BR /&gt;202201, B, 100&lt;BR /&gt;202202, B, 110&lt;BR /&gt;202203, B, 120&lt;BR /&gt;202204, B, 130&lt;BR /&gt;202205, B, 140&lt;BR /&gt;202206, B, 150&lt;BR /&gt;202207, B, 160&lt;BR /&gt;202208, B, 170&lt;BR /&gt;202209, B, 180&lt;BR /&gt;202210, B, 190&lt;BR /&gt;202211, B, 200&lt;BR /&gt;202212, B, 210&lt;BR /&gt;202301, B, 220&lt;BR /&gt;202302, B, 230&lt;BR /&gt;202303, B, 240&lt;BR /&gt;202304, B, 250&lt;BR /&gt;202305, B, 260&lt;BR /&gt;202306, B, 270&lt;BR /&gt;202307, B, 280&lt;BR /&gt;202308, B, 290&lt;BR /&gt;202309, B, 300&lt;BR /&gt;202310, B, 310&lt;BR /&gt;202311, B, 320&lt;BR /&gt;202312, B, 330&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Despues conecto las dos tablas de la suguiente manera:&lt;/P&gt;
&lt;P&gt;Sales_1:&lt;BR /&gt;LOAD Period&amp;amp;'-'&amp;amp;Category as KEY, &lt;BR /&gt;Period,&lt;BR /&gt;Category,&lt;BR /&gt;Sales&lt;BR /&gt;Resident Sales;&lt;BR /&gt;DROP Table Sales;&lt;/P&gt;
&lt;P&gt;Obje_1:&lt;BR /&gt;LOAD Period&amp;amp;'-'&amp;amp;Category as KEY, &lt;BR /&gt;Obj&lt;BR /&gt;Resident Objetivo;&lt;BR /&gt;DROP Table Objetivo;&lt;/P&gt;
&lt;P&gt;Finalmente quiero que en una tabla pivotante me muestre las ventas y los objetivos pero cuando hago el grafico me da de la siguiente manera:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wichamqo_0-1676222499444.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100299i6088A394D222FF6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wichamqo_0-1676222499444.png" alt="wichamqo_0-1676222499444.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dandome nulo donde o hay coincidencias, estoy tratando de usar p() y e() en el set analisis pero no logro hacer que me muestre todos los valores de la tabla objetivos.&lt;/P&gt;
&lt;P&gt;El resultado deseado es el siguiente:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wichamqo_1-1676222770042.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100300i8C62A42A79094F60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wichamqo_1-1676222770042.png" alt="wichamqo_1-1676222770042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alguna ayuda?? muchas gracias&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 17:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036893#M85417</guid>
      <dc:creator>wichamqo</dc:creator>
      <dc:date>2023-02-12T17:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sumar valores excluidos en la seleccion</title>
      <link>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036894#M85418</link>
      <description>&lt;P&gt;Hola, puedes probar concatenando las tablas:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;TablaFinal:
LOAD Period, Category, Sales From/Resident Sales;

Concatenate(TablaFinal)
LOAD Period, Category, Obj From/Resident Objetivo;&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 12 Feb 2023 18:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036894#M85418</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-02-12T18:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sumar valores excluidos en la seleccion</title>
      <link>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036895#M85419</link>
      <description>&lt;P&gt;Hola Ruben si, queria evitar esa solucion porque en realidad las tablas son muy distintas, la de ventas tiene 80 columnas y la de objetivos 3, vi que usando p() se podian sumar los valores excluidos pero no pude hacerlo andar&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 18:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036895#M85419</guid>
      <dc:creator>wichamqo</dc:creator>
      <dc:date>2023-02-12T18:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sumar valores excluidos en la seleccion</title>
      <link>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036932#M85422</link>
      <description>&lt;P&gt;If you are unable to Concatenate then create an &lt;STRONG&gt;Bridge&lt;/STRONG&gt; table with &lt;STRONG&gt;COMMON DIMENSIONS&amp;nbsp;ONLY&lt;/STRONG&gt; to associate the two datasets&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sales:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load Period, Category, Sales ,&lt;STRONG&gt; Period&amp;amp;'-'&amp;amp;Category as KEY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From SalesSource;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Objective:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load Period, Category, Obj ,&amp;nbsp;&lt;STRONG&gt;Period&amp;amp;'-'&amp;amp;Category as KEY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From ObjSource;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;BridgeTable:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Load&amp;nbsp;KEY ,&amp;nbsp;&lt;SPAN&gt;Period, Category&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Resident Sales;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Load&amp;nbsp;KEY ,&amp;nbsp;&lt;SPAN&gt;Period, Category&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Resident Objective;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Drop fields Period, Category from Sales;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Drop fields Period, Category from Objective;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Finally&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt; Sales table has fields KEY and Sales&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Bridge table has fields KEY,Period,Category (all common dimensions)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Objective table has KEY and Obj&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 02:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2036932#M85422</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2023-02-13T02:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sumar valores excluidos en la seleccion</title>
      <link>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2037003#M85431</link>
      <description>&lt;P&gt;Hola, lo que te está pasando es que solo cargas el campo Period de las ventas, y por lo tanto no te sale los valores que llegan de la tabla de objetivos porque no se están cargando.&lt;/P&gt;
&lt;P&gt;Aunque las tablas sean distintas puede seguir haciendo el concatenate, mientras que la de ventas no tenga un campo Obj te va a funcionar igual. Y también puedes añadir un campo TipoDato con los valores VTA o PTO para poder usar set analysis y quedarte solo con los datos que llegan de ventas o de objetivos.&lt;/P&gt;
&lt;P&gt;La opción de Vinieme12 también te funcionará.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 07:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sumar-valores-excluidos-en-la-seleccion/m-p/2037003#M85431</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-02-13T07:27:51Z</dc:date>
    </item>
  </channel>
</rss>

