<?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: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual? in Mexico</title>
    <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352149#M599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tomando la descripción que te pase tendrías que tomar los siguientes elementos, solo cambias la variable de Día Actual ya sea por today() o max(Fecha)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahora el acumulado de lo que llevas a este año vs acumulado año anterior (Enero - Mayo ), tomando en cuenta que la fecha máxima fuera mayo, puede cambiar de mes conforme a la fecha máxima seleccionada.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDiaActual = max(Fecha)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vAñoActual =yearStart(vDiaActual)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // inicio de mes año actual (Enero 2017)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMesActualIF =MonthEnd( vDiaActual)&amp;nbsp;&amp;nbsp;&amp;nbsp; // fin de mes año actual (Mayo 2017)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vAñoAnteriorI =yearStart(vDiaActual,-1) // inicio de mes año anterior (Enero 2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMesActualIAñoAnteriorF =MonthEnd( vDiaActual,-12)&amp;nbsp;&amp;nbsp;&amp;nbsp; // fin de mes año anterior (Mayo 2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expresiones:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri;"&gt;// acumulado de enero a mayo 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoActual)&amp;lt;=(vMesActualIF)'} &amp;gt;} Ventas_Valor) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri;"&gt; // acumulado de enero a mayo 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoAnteriorI)&amp;lt;=(vMesActualIAñoAnteriorF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;espero no enredarte.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2017 22:55:09 GMT</pubDate>
    <dc:creator>jer_2011</dc:creator>
    <dc:date>2017-05-23T22:55:09Z</dc:date>
    <item>
      <title>¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352141#M591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola comunidad...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De nuevo buscando de su sabiduria y experiencia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estoy tratando de hacer una consulta&amp;nbsp; donde me pueda acumular por ejemplo las ventas hasta el mes anterior o bien el&lt;SPAN style="color: #ff0000;"&gt; ultimo mes del año actual donde pueda comparar ese mismo período de años anteriores. &lt;SPAN style="color: #000000;"&gt;No se tiene el dato de la fecha exacta de la transacción, por lo que todo está al 1 de cada mes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hice un calendario para aprovechar la facilidad para crear medidas de tiempo en Qlik Sense 3.2, pero ninguna de las opciones me está resultando, se mueve con la fecha del día actual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;La data siempre será actualizada al menos 2 semanas despúes de finalizado el mes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguna idea???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Gracias.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ejemplos de las que he intentado modificar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { $&amp;lt; [Fecha.autoCalendar.InYTD]={1} &amp;gt; } [Ventas_Valor] )&lt;/P&gt;&lt;P&gt;Sum( { $&amp;lt; [Fecha.autoCalendar.InQTD]={1} &amp;gt; } [Ventas_Valor] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 18:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352141#M591</guid>
      <dc:creator>gsegreda</dc:creator>
      <dc:date>2017-05-02T18:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352142#M592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Hola&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;No sé si ya pudiste resolver tu problema, pongo un ejemplo sencillo de cómo se resolvería con variables y set análisis, sobre todo para que los que estén en la comunidad y tengan más herramientas, esta creado en Sense pero también se puede realizar en Qlikview&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1.- Tome el archivo que dejaste, se cargó en el script solo se modificó el campo Fecha (Todos modos dejo el qvf)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;date(Fecha) as Fecha,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Mes,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Año,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Año_Mes,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Marca,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Unidades_Estandar,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Ventas_Valor&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;FROM [lib://Fuente/Ejemplo Fechas Qlik Sense.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;(ooxml, embedded labels, table is Hoja1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2.- Se crean las siguientes variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vDiaActual =today()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;--fecha del día actual&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vAñoActual =yearStart(vDiaActual)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- Fecha inicial del año actual&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesActualI =MonthStart(vDiaActual)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- Fecha inicial del mes actual&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesActualIF =MonthEnd( vDiaActual)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha final del mes actual&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesAnteriorI =MonthStart(vDiaActual,-1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- Fecha inicial del mes anterior &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesAnteriorF =MonthEnd( vDiaActual,-1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha final del mes anterior&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vAñoAnteriorI =yearStart(vDiaActual,-1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha inicial del año anterior &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vAñoAnteriorF =yearEnd(vDiaActual,-1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha final del año anterior&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesActualAñoAnteriorI =MonthStart(vDiaActual,-12)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha inicial mes actual, pero del año anterior&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesActualIAñoAnteriorF =MonthEnd( vDiaActual,-12)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha final mes actual, pero del año anterior&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesAnteriorAñoAnteriorI =MonthStart(vDiaActual,-13)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha inicial mes anterior, pero del año anterior&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;vMesAnteriorAñoAnteriorF =MonthEnd( vDiaActual,-13)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;-- fecha Final mes anterior, pero del&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Con este tipo de ejemplo, podrías crear sin fin de variables combinando fechas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3.- Generación de set análisis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;El acumulado de ventas que tiene la bases de datos, solo hasta la fecha del mes anterior.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;lt;=$(vMesAnteriorF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;El acumulado de ventas solo lo que se lleva del año actual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoActual)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;El Acumulado de ventas solo del año anterior, fecha inicio a fecha fin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoAnteriorI)&amp;lt;=$(vAñoAnteriorF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;El acumulado de ventas para el mes actual, para este ejemplo aparece en cero, no hay información en la base de datos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vMesActualI)&amp;lt;=(vMesActualF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;El acumulado de ventas para el mes anterior, para este ejemplo aparece en cero, no hay información en la base de datos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vMesAnteriorI)&amp;lt;=(vMesAnteriorF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;El acumulado de ventas del mes actual, pero del año anterior.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vMesActualAñoAnteriorI)&amp;lt;=(vMesActualAñoAnteriorF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;El acumulado de ventas del mes anterior, pero del año anterior.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vMesAnteriorAñoAnteriorI)&amp;lt;=(vMesAnteriorAñoAnteriorF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Ejemplo de vistas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/162397_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Este es un pequeño ejemplo de cómo se resolvería, hay varias técnicas que dentro de la comunidad se pueden ver, espero te pueda servir, así como a la comunidad y les sirva el ejemplo para resolver casos similares, cualquier duda estoy para servirte.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 22:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352142#M592</guid>
      <dc:creator>jer_2011</dc:creator>
      <dc:date>2017-05-05T22:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352143#M593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchas gracias Gerardo... Definitivamente no era algo sencillo, pero creo que será de mucha utilidad para nosotros y la comunidad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Voy a trabajar con esto...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 23:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352143#M593</guid>
      <dc:creator>gsegreda</dc:creator>
      <dc:date>2017-05-05T23:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352144#M594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excelente aporte y aunque bien mencionas hay varios post. Del tema el tuyo&lt;/P&gt;&lt;P&gt;es extremadamente.grafico y completo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atte. Carlos Hernández&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;El 5 may. 2017 6:54 PM, "Gustavo Segreda" &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;P&gt;escribió:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Qlik Community &amp;lt;https://community.qlik.com/?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al&lt;/P&gt;&lt;P&gt;actual?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;respuesta de Gustavo Segreda&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.qlik.com/people/gsegreda?et=watches.email.thread&amp;gt; en *Qlik&lt;/P&gt;&lt;P&gt;México* - Ver la discusión completa&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.qlik.com/message/1263132?et=watches.email.thread#1263132&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 May 2017 13:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352144#M594</guid>
      <dc:creator>carloshernandez</dc:creator>
      <dc:date>2017-05-06T13:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352145#M595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #000000;"&gt;Qué bueno que les sirva, solo como comentario la fecha base es al día de hoy ( Today() ), pero también podría funcionar con la última fecha seleccionada (max(&lt;/SPAN&gt;&lt;SPAN lang="ES" style="color: black;"&gt;Fecha&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;) ). &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Solo es agregarle algo de creatividad y así podrás generar tus propias variables para las distintos rangos de comparación, como consejo puedes ayudarte con las funciones de fechas, así como en el ejemplo que puse monthstar(Fecha) que determina el primer día del mes de la fecha o campo que se requiere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Te dejo el siguiente link para las funciones de Fechas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;A href="http://help.qlik.com/esES/qlikview/12.0/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/monthstart.htm"&gt;http://help.qlik.com/esES/qlikview/12.0/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/monthstart.htm&lt;/A&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Cualquier duda estoy para servirte. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 15:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352145#M595</guid>
      <dc:creator>jer_2011</dc:creator>
      <dc:date>2017-05-08T15:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352146#M596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Gerardo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De nuevo gracias por compartir tu información.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoy te molesto de nuevo porque no he logrado que me sume los datos de años anteriores, basados en la fecha máxima. He intentado de diferentes formas pero en ocasiones no me suma nada, o bien me suma el año completo.&lt;/P&gt;&lt;P&gt;Yo recibo una data hasta con 6 semanas (aunque es variable) posterior al mes, por lo que las fórmulas me van agregando hasta 2 meses de los años anteriores... por lo que no se hace comparativo el análisis del año en curso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cualquier ayuda será muy bien recibida...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gracias.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 18:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352146#M596</guid>
      <dc:creator>gsegreda</dc:creator>
      <dc:date>2017-05-23T18:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352147#M597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dentro de este ejemplo no se si ya intentaste sustituir la variable &lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vDiaActual &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vDiaActual &lt;/SPAN&gt; = max(Fecha)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;luego el tipo de formatos de fechas pueden causar problemas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 20:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352147#M597</guid>
      <dc:creator>jer_2011</dc:creator>
      <dc:date>2017-05-23T20:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352148#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Si intenté cambiar en las fórmulas la variable del día actual, pero no me suma...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Fecha={'&amp;lt;=$(vAñoAnteriorI)=$(vMesMax)'} &amp;gt;} Ventas_Valor)&lt;/P&gt;&lt;P&gt;vMesMax =&amp;nbsp; Max(Fecha)&lt;/P&gt;&lt;P&gt;Lo que estoy buscando es comparar el acumulado al mes del año reciente contra los años anteriores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Te incluyo algunos archivos, incluso el APP que compartiste.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muchas gracias por la ayuda!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 21:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352148#M598</guid>
      <dc:creator>gsegreda</dc:creator>
      <dc:date>2017-05-23T21:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352149#M599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tomando la descripción que te pase tendrías que tomar los siguientes elementos, solo cambias la variable de Día Actual ya sea por today() o max(Fecha)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahora el acumulado de lo que llevas a este año vs acumulado año anterior (Enero - Mayo ), tomando en cuenta que la fecha máxima fuera mayo, puede cambiar de mes conforme a la fecha máxima seleccionada.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDiaActual = max(Fecha)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vAñoActual =yearStart(vDiaActual)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // inicio de mes año actual (Enero 2017)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMesActualIF =MonthEnd( vDiaActual)&amp;nbsp;&amp;nbsp;&amp;nbsp; // fin de mes año actual (Mayo 2017)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vAñoAnteriorI =yearStart(vDiaActual,-1) // inicio de mes año anterior (Enero 2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMesActualIAñoAnteriorF =MonthEnd( vDiaActual,-12)&amp;nbsp;&amp;nbsp;&amp;nbsp; // fin de mes año anterior (Mayo 2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expresiones:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri;"&gt;// acumulado de enero a mayo 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoActual)&amp;lt;=(vMesActualIF)'} &amp;gt;} Ventas_Valor) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri;"&gt; // acumulado de enero a mayo 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoAnteriorI)&amp;lt;=(vMesActualIAñoAnteriorF)'} &amp;gt;} Ventas_Valor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;espero no enredarte.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 22:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352149#M599</guid>
      <dc:creator>jer_2011</dc:creator>
      <dc:date>2017-05-23T22:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352150#M600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Un gusto Gustavo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Te comento para este tipo se análisis entre fechas yo utilizo o creo un campo extra de periodo y periodoID con estos campos en particular puedo hacer comparaciones entre años y meses anteriores, que incluyen valores acumulados de forma mas sencilla,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(Temp_Fecha) * 100 + Month(Temp_Fecha) as [Periodo]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;una ves listo este campo, se genera el Periodo_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AutoNumber(Periodo, 'PeriodoID') as [PeriodoID],&amp;nbsp;&amp;nbsp; // esto como precedent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;y mediante set Analisys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;se puede hacer estos analisis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Sum({&amp;lt;PeriodoId = {'&amp;lt;=$(=Max(PeriodoId)-2)'},[Año Cartera] = ,[Mes Cartera] =,[Dia Cartera] =,[Semana Cartera] =&amp;nbsp; &amp;gt;}Resolución)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;PeriodoId = {'&amp;lt;=$(=Max(PeriodoId)-1)'},[Año Cartera] = ,[Mes Cartera] =,[Dia Cartera] =,[Semana Cartera] =&amp;nbsp; &amp;gt;}Resolución)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estas expreciones se usan valores acumulados&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Espero te sirva Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352150#M600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T15:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352151#M601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Con la siguiente expresión podras visualizar la información de todo a partir de tu mes anterior, lo que incluye el mes anterior y lo que se lleve del mes en curso:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Mes={"&amp;gt;= max(Mes)-1"}&amp;gt;}Metrica)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352151#M601</guid>
      <dc:creator>ger_alegria</dc:creator>
      <dc:date>2017-06-07T15:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352152#M602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gracias Gerardo por tu tiempo.&lt;/P&gt;&lt;P&gt;La expresión del acumulado del año anterior aún no me refleja el dato que se requiere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Me está sumando el total del 2017 más el total del 2016.&lt;/P&gt;&lt;P&gt;No se me ocurre algo diferente... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;En realidad para comparar acumulado 2017 contra el mismo tiempo transcurrido pero el año anterior, en 2016 debería sumar 19.62M.&lt;/P&gt;&lt;P&gt;Toda sugerencia será bien recibida...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/166928_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 21:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352152#M602</guid>
      <dc:creator>gsegreda</dc:creator>
      <dc:date>2017-06-14T21:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352153#M603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agregando el año en el Set Analysis obtendrías solo lo del 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prueba con algo como esto:&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: 12px; background-color: #f2f2f2;"&gt;sum({&amp;lt;Mes={"&amp;gt;= max(Mes)-1"}, Año = {'$(=max(Año))'}&amp;gt;}Metrica)&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: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&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: 12px; background-color: #f2f2f2;"&gt;Dejame saber si fue útil.&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: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&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: 12px; background-color: #f2f2f2;"&gt;Saludos.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 13:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352153#M603</guid>
      <dc:creator>ger_alegria</dc:creator>
      <dc:date>2017-06-15T13:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352154#M604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;y si quieres poder hacer la comparación basta con incluir la reste de lo del año anterior:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f2f2f2; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;sum({&amp;lt;Mes={"&amp;gt;= max(Mes)-1"}, Año = {'$(=max(Año))'}&amp;gt;}Metrica)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f2f2f2; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;Mes={"&amp;gt;= max(Mes)-1"}, Año = {'$(=max(Año)-1)'}&amp;gt;}Metrica)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 14:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352154#M604</guid>
      <dc:creator>ger_alegria</dc:creator>
      <dc:date>2017-06-15T14:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352155#M605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;De nuevo muchas gracias Gerardo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No me está funcionando, solo le agrego las métricas pero da 0...&lt;/P&gt;&lt;P&gt;Tengo 12 meses del 2016 y 4 meses del 2017.&lt;/P&gt;&lt;P&gt;Quiero comparar únicamente los primeros 4 meses del 2016 contra los primeros 4 meses del 2017...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Construimos estas variables basados en tu recomendación incial, y funcionana, pero al tratar de compararlo no hace el cálculo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;vUltMes =Max(Fecha)&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; -- Ultimo mes disponible&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;vUtMesAñoAnteriorI =MonthStart(vUltMes,-13)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;-- Fecha inicial del mes anterior&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;vUtMesAñoAnteriorF =MonthEnd(vUltMes,-13)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;-- Fecha final del mes anterior&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 00:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352155#M605</guid>
      <dc:creator>gsegreda</dc:creator>
      <dc:date>2017-06-20T00:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352156#M606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola, le modifique algunas variables al ejemplo que te mande,&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167487_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;checa las nuevas variables y cualquier duda me indicas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDiaActual =today()&lt;/P&gt;&lt;P&gt;vAñoActual =yearStart(vDiaActual)&lt;/P&gt;&lt;P&gt;vAñoAnteriorI =yearStart(vDiaActual,-1)&lt;/P&gt;&lt;P&gt;vMonth4 =MonthEnd(vAñoActual,3)&lt;/P&gt;&lt;P&gt;vMonth4_Anterior =MonthEnd(vMonth4,-12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;acumulado año actual hasta el 4to mes&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoActual)&amp;lt;=$(vMonth4)'} &amp;gt;} Ventas_Valor)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;acumulado del año anterior hasta el 4to mes&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Fecha={'&amp;gt;=$(vAñoAnteriorI)&amp;lt;=$(vMonth4_Anterior)'} &amp;gt;} Ventas_Valor)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/1352156#M606</guid>
      <dc:creator>jer_2011</dc:creator>
      <dc:date>2017-06-20T16:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: ¿Cómo crear una medida de tiempo para acumular hasta el mes anterior al actual?</title>
      <link>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/2458410#M907</link>
      <description>&lt;P&gt;Mi aporte llega años después, pero quiero decir que es clave el aplicar la función Date() a las fechas en cuestión durante la carga: Date(FECHA) as FECHA, por más que sin hacerlo los filtros o el selector de periodo funcionen bien; y si bien las funciones&amp;nbsp; como Month() o Year() devuelven el mes o año de una determinada fecha, es importante utilizar MonthStart() o YearStart() en su lugar, para lograr el efecto deseado.&lt;/P&gt;
&lt;P&gt;Por ejemplo:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LET MesActual = DATE(MonthStart(Today()), 'MMM YYYY');&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 03:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Mexico/C%C3%B3mo-crear-una-medida-de-tiempo-para-acumular-hasta-el-mes/m-p/2458410#M907</guid>
      <dc:creator>nlopedebarrios</dc:creator>
      <dc:date>2024-06-01T03:29:51Z</dc:date>
    </item>
  </channel>
</rss>

