<?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 Help on formulae in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224836#M77199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jean-Jacques,&lt;/P&gt;&lt;P&gt;thanks for your replya, but what I forgot to say is that the values from eadch dates, come from an expresion, there are not a value ina a table. So for each date, all the numbers are the result of an expresion. Hope this is clear.&lt;/P&gt;&lt;P&gt;The goal, is that each time I reload the datas from the databases, I can see the last two dates in a table with there values, and the last column, will be the diference between the last 2 dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2010 19:47:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-27T19:47:22Z</dc:date>
    <item>
      <title>Help on formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224834#M77197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;I need to make some calculation based on this example:&lt;/P&gt;&lt;P&gt;&lt;!--StartFragment--&gt;&lt;/P&gt;&lt;TABLE bgcolor="white" border="1" bordercolor="white" cellpadding="0" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR align="center" bgcolor="white"&gt;&lt;TH bgcolor="#F5F5F5"&gt;&lt;B&gt;FechaDMI&lt;/B&gt; &lt;B&gt;&lt;/B&gt;&lt;/TH&gt;&lt;TD bgcolor="white"&gt;5-Ene&lt;/TD&gt;&lt;TD bgcolor="white"&gt;7-Ene&lt;/TD&gt;&lt;TD bgcolor="white"&gt;12-Ene&lt;/TD&gt;&lt;TD bgcolor="white"&gt;13-Ene&lt;/TD&gt;&lt;TD bgcolor="white"&gt;18-Ene&lt;/TD&gt;&lt;TD bgcolor="white"&gt;22-Ene&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="center" bgcolor="white"&gt;&lt;TD bgcolor="silver"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;2584&lt;/TD&gt;&lt;TD bgcolor="white"&gt;2512&lt;/TD&gt;&lt;TD bgcolor="white"&gt;2479&lt;/TD&gt;&lt;TD bgcolor="white"&gt;2469&lt;/TD&gt;&lt;TD bgcolor="white"&gt;2514&lt;/TD&gt;&lt;TD bgcolor="white"&gt;2503&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I would like to have an expresion that show the tendency between the last date (22-ENE 2503) and the previous date (18-Ene 2514). As yoy see, the range between dates are diferents, and will always diferent.&lt;/P&gt;&lt;P&gt;I can choose the las date with the MAX(Fecha DMI) but how can I choose a previous date. Thanks in advance for your help, I'm new in QlickView, so you know that any help, tric, tips etc... are well apreciated from the gurus and experts.&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 18:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224834#M77197</guid>
      <dc:creator />
      <dc:date>2010-01-27T18:31:26Z</dc:date>
    </item>
    <item>
      <title>Help on formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224835#M77198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First, you'd better transpose your table with 2 fields fecha &amp;amp; value. You can use CrossTable function in the script.&lt;/P&gt;&lt;P&gt;After, you can use Max( Fecha , 2 ) to get the previous date, Max( Fecha , 3) ...&lt;/P&gt;&lt;P&gt;Then it depends of what you want to display. I need more precision of your goal. Why not create a plot with date as dimension &amp;amp; the gap between 2 dates.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 18:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224835#M77198</guid>
      <dc:creator />
      <dc:date>2010-01-27T18:46:29Z</dc:date>
    </item>
    <item>
      <title>Help on formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224836#M77199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jean-Jacques,&lt;/P&gt;&lt;P&gt;thanks for your replya, but what I forgot to say is that the values from eadch dates, come from an expresion, there are not a value ina a table. So for each date, all the numbers are the result of an expresion. Hope this is clear.&lt;/P&gt;&lt;P&gt;The goal, is that each time I reload the datas from the databases, I can see the last two dates in a table with there values, and the last column, will be the diference between the last 2 dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 19:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224836#M77199</guid>
      <dc:creator />
      <dc:date>2010-01-27T19:47:22Z</dc:date>
    </item>
    <item>
      <title>Help on formulae</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224837#M77200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey Patrick,&lt;/P&gt;&lt;P&gt;if you can get the max date using MAX(Fecha DMI)&lt;/P&gt;&lt;P&gt;then, it is obvious that you have the attribure Fecha DMI, right?&lt;/P&gt;&lt;P&gt;so you can do MAX(Fecha DMI, 2) to the second max date.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rocky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 21:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-formulae/m-p/224837#M77200</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-01-27T21:54:48Z</dc:date>
    </item>
  </channel>
</rss>

