<?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: cambiar nombre de campos en cross table con meses calculados in Español</title>
    <link>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739278#M5733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Chirstian,&lt;/P&gt;&lt;P&gt;Te paso el documento que has mandado conforme yo lo haría, sólo tienes que recargarlo para que funcione la expresión. Como no has pasado el QVD, no lo he podido recargar en mi máquina.&lt;/P&gt;&lt;P&gt;Lo que he hecho, ha sido básicamente, renombrar los meses en el script, así en diseño es muy fácil tratarlos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Un saludo y espero haberte ayudado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 11:25:25 GMT</pubDate>
    <dc:creator>etendero</dc:creator>
    <dc:date>2014-07-17T11:25:25Z</dc:date>
    <item>
      <title>cambiar nombre de campos en cross table con meses calculados</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739274#M5729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola a todos,&lt;/P&gt;&lt;P&gt;tengo una consulta respecto al cambio de nombre de campos, tengo la siguiente tabla de stock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="1120"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="80"&gt;Anio&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;Mes&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK01&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK02&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK03&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK04&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK05&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK06&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK07&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK08&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK09&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK10&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK11&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STK12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.56&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3.6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.56&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3.6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4.25&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;los campos Anio y Mes, representa al periodo de análisis y los campos STK01 al STK12 representan a los 12 meses anteriores al periodo de análisis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;he hecho un cross table para tener la siguiente estructura&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 320px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;Anio Periodo&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="80"&gt;Mes Periodo&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="80"&gt;Meses&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="80"&gt;Valor&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD&gt;STK01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt;STK02&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK03&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2.56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK04&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK05&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK06&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK07&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK08&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK09&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK11&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;STK12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;pero se debería de cambiar los STK# por el mes que corresponde es decir STK01 = 08/2012, STK02= 09/2012 ... STK12 = 07/2013, he probado con Num(Month(AddMonths(Date('01/'&amp;amp;MES&amp;amp;'/'&amp;amp;ANIO,'DD/MM/YYYY'), -1)),'00'), pero no me da un valor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gracias!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 14:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739274#M5729</guid>
      <dc:creator />
      <dc:date>2014-07-09T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: cambiar nombre de campos en cross table con meses calculados</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739275#M5730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Para armar una nueva columna de fecha se puede hacer de esta manera:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MakeDate(If(Num(Rigth(Meses,2))&amp;lt;=6, AnoPeriodo-1,AnoPeriodo),If(Num(Rigth(Meses,2))&amp;lt;=6, Num(Rigth(Meses,2))-1+MesPeriodo))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esto te devolvera una fecha completa para el primer dia del mes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 15:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739275#M5730</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2014-07-09T15:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: cambiar nombre de campos en cross table con meses calculados</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739276#M5731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gracias por tu respuesta Juan, &lt;/P&gt;&lt;P&gt;esto lo tendría que usar en un load resident, o se puede usar en el mismo load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 16:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739276#M5731</guid>
      <dc:creator />
      <dc:date>2014-07-09T16:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: cambiar nombre de campos en cross table con meses calculados</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739277#M5732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lo puedes hacer en el mismo load...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 19:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739277#M5732</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2014-07-10T19:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: cambiar nombre de campos en cross table con meses calculados</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739278#M5733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Chirstian,&lt;/P&gt;&lt;P&gt;Te paso el documento que has mandado conforme yo lo haría, sólo tienes que recargarlo para que funcione la expresión. Como no has pasado el QVD, no lo he podido recargar en mi máquina.&lt;/P&gt;&lt;P&gt;Lo que he hecho, ha sido básicamente, renombrar los meses en el script, así en diseño es muy fácil tratarlos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Un saludo y espero haberte ayudado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 11:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/cambiar-nombre-de-campos-en-cross-table-con-meses-calculados/m-p/739278#M5733</guid>
      <dc:creator>etendero</dc:creator>
      <dc:date>2014-07-17T11:25:25Z</dc:date>
    </item>
  </channel>
</rss>

