<?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: Como identificar Inflows y Outflows de una base in Forum en español</title>
    <link>https://communities.sas.com/t5/Forum-en-espa%C3%B1ol/Como-identificar-Inflows-y-Outflows-de-una-base/m-p/891297#M964</link>
    <description>&lt;P&gt;Hola&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/449130"&gt;@Erika868&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creo que en la tabla le falta una columna para clasificar si cada contrato es del tipo "input/ouput", como el ejemplo abajo, entonces con esta información será posible clasificar y crear el resultado deseado.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 192pt; box-sizing: border-box; border-spacing: 0px; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" border="0" width="256" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" class="xl63" style="height: 15.0pt; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;Periodo&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;Contrato&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;Monto&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Tipo&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202112&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X1&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;100&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202112&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X2&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;230&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202112&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X3&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;450&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X2&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;220&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X3&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;440&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X4&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;370&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X5&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;450&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X2&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;210&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X4&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;360&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X6&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;780&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X7&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;1000&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X8&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;1200&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X4&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;350&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X6&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;770&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X9&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;550&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X10&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;670&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Después, te sugiero buscar información sobre PROC SQL y PROC TRANSPOSE para que puedas crear tu informe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000146906.htm" target="_blank"&gt;PROC SQL: Examples: SQL Procedure (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.listendata.com/2015/08/sas-proc-transpose-explained.html" target="_blank"&gt;SAS : PROC TRANSPOSE with Examples (listendata.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Estamos aquí para ayudarte cuando lo necesites.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 12:07:31 GMT</pubDate>
    <dc:creator>wilkoba</dc:creator>
    <dc:date>2023-08-28T12:07:31Z</dc:date>
    <item>
      <title>Como identificar Inflows y Outflows de una base</title>
      <link>https://communities.sas.com/t5/Forum-en-espa%C3%B1ol/Como-identificar-Inflows-y-Outflows-de-una-base/m-p/891103#M963</link>
      <description>&lt;P&gt;Te molesto con una consulta a ver si podes ayudarme porque no me esta saliendo hacer lo siguiente&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Tengo una lista de contratos en porfolio para cada periodo , y necesito saber para cada periodo &amp;nbsp;, cuales son los inputs (nuevos contratos del mes) y los outputs ( los que estaban el mes pasado y no están este mes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Por ejemplo &amp;nbsp;si tengo esta tabla llamada “cartera”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Periodo&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Contrato&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Monto&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202112&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;100&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202112&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;230&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202112&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;450&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202201&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;220&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202201&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;440&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202201&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X4&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;370&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202201&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X5&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;450&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202202&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;210&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202202&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X4&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;360&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202202&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X6&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;780&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202202&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X7&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202202&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X8&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1200&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202203&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X4&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;350&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202203&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X6&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;770&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202203&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X9&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;550&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;202203&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;X10&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;670&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y mi resultado esperado seria :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Erika868_0-1692988414443.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87121iD5239BAFBB53D7E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Erika868_0-1692988414443.png" alt="Erika868_0-1692988414443.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desde ya agradezco mucho el soporte que puedas darme . Muchas gracias&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 18:35:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Forum-en-espa%C3%B1ol/Como-identificar-Inflows-y-Outflows-de-una-base/m-p/891103#M963</guid>
      <dc:creator>Erika868</dc:creator>
      <dc:date>2023-08-25T18:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Como identificar Inflows y Outflows de una base</title>
      <link>https://communities.sas.com/t5/Forum-en-espa%C3%B1ol/Como-identificar-Inflows-y-Outflows-de-una-base/m-p/891297#M964</link>
      <description>&lt;P&gt;Hola&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/449130"&gt;@Erika868&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creo que en la tabla le falta una columna para clasificar si cada contrato es del tipo "input/ouput", como el ejemplo abajo, entonces con esta información será posible clasificar y crear el resultado deseado.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 192pt; box-sizing: border-box; border-spacing: 0px; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" border="0" width="256" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" class="xl63" style="height: 15.0pt; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;Periodo&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;Contrato&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;Monto&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Tipo&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202112&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X1&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;100&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202112&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X2&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;230&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202112&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X3&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;450&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X2&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;220&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X3&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;440&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X4&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;370&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202201&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X5&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;450&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X2&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;210&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X4&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;360&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X6&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;780&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X7&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;1000&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202202&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X8&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;1200&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X4&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;350&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X6&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;770&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X9&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;550&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt; box-sizing: border-box;"&gt;
&lt;TD width="64" height="20" align="right" class="xl63" style="height: 15.0pt; border-top: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;202203&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;X10&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl63" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; min-width: 40px;"&gt;670&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-top: none; border-left: none; width: 48pt;"&gt;Input&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Después, te sugiero buscar información sobre PROC SQL y PROC TRANSPOSE para que puedas crear tu informe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000146906.htm" target="_blank"&gt;PROC SQL: Examples: SQL Procedure (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.listendata.com/2015/08/sas-proc-transpose-explained.html" target="_blank"&gt;SAS : PROC TRANSPOSE with Examples (listendata.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Estamos aquí para ayudarte cuando lo necesites.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:07:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Forum-en-espa%C3%B1ol/Como-identificar-Inflows-y-Outflows-de-una-base/m-p/891297#M964</guid>
      <dc:creator>wilkoba</dc:creator>
      <dc:date>2023-08-28T12:07:31Z</dc:date>
    </item>
  </channel>
</rss>

