<?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: Amount to Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414729#M154267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mira a ver si te vale esto basado en la ASOF TABLES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 09:22:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-08T09:22:16Z</dc:date>
    <item>
      <title>Amount to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414726#M154264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I do is an expression that calculates for each value of temporal dimension of the chart all movements from the beginning of time to date just before the period shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this formula, but it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sum({&amp;lt;Estado={"Tesoreria"},TipoImporte={"Banco"},Fecha={"&amp;lt;=$(vFechaHastaPeriodo)"},[Operating Class]={8,3}, Mes=, Año= &amp;gt;} Importe) - Sum({&amp;lt;[Operating Class]={'3'}, BancoBloqueado={0}, Fecha=, Mes=, Año=&amp;gt;} Limite)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vFechaHastaPeriodo would be just the day before the first value dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose that we are seeing the year 2013 and the month of January, but broken down by weeks because the first week would be until 31/12/12, the second week would be to date 06/01/13, the third week would be to date 13/01/13, ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will upload an example document (with the simplest formula) and excel that loads information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this example, if I'm not mistaken, would have to go to day 1 January 2013 the figure of € 623,824 (corresponding to all movements prior to that date, € 373,824, less than the limit of banks € 250,000). For the 2nd of January, it would be the same data but adding the movements of the day January 1st (€ 2,502).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NO I better have two rows, one with the accumulated balance and another line with the movements of the period for calculating the next column summing these values​​, because that is the solution I had before, but it turns out that the limits will also vary in date . The formula will be more complex, but I wanted to know how to fix this part to apply a similar logic to the limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, not only those who respond, but also to read the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A greeting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 14:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414726#M154264</guid>
      <dc:creator />
      <dc:date>2013-02-07T14:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Amount to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414727#M154265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis doesn't respect dimension values.&amp;nbsp; Have you looked into a solution called Asof tables?&amp;nbsp; Search the topic in community to see if that will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 14:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414727#M154265</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2013-02-07T14:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Amount to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414728#M154266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Una pregunta, las cantidades acumuladas tienen que ser dadas para cada día o pueden ser para cada semana? Otra pregunta, no te vale si se cargan en el script los acumulados?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 15:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414728#M154266</guid>
      <dc:creator />
      <dc:date>2013-02-07T15:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Amount to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414729#M154267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mira a ver si te vale esto basado en la ASOF TABLES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 09:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414729#M154267</guid>
      <dc:creator />
      <dc:date>2013-02-08T09:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Amount to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414730#M154268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchas gracias Pedro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De momento te la marco como solución útil, pero seguramente te la marque en un futuro de correcta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Para el tema de los movimientos hasta una fecha, será una solución válida, tengo revisarlo, pero tiene muy buena pinta. Tendré que darle una vuelta a los límites por banco, porque son válidos por periodo, pero eso ya intentaré calcularlo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muchísimas gracias de nuevo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Un saludo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 09:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414730#M154268</guid>
      <dc:creator />
      <dc:date>2013-02-08T09:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Amount to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414731#M154269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A mandar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 09:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Amount-to-Date/m-p/414731#M154269</guid>
      <dc:creator />
      <dc:date>2013-02-08T09:57:00Z</dc:date>
    </item>
  </channel>
</rss>

