<?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: sacar el valor maximo in Español</title>
    <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767384#M6025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No he podido cuadrar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Si alguien me puede ayudar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 19:08:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-06T19:08:04Z</dc:date>
    <item>
      <title>sacar el valor maximo</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767379#M6020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tengo dos tablas relacionadas por el codigo del paciente. En una esta las atenciones médicas y en la otra estan los resultados de laboratorio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requiero que el modelo evalué de acuerdo a su ultima fecha de atención el último resultado de laboratorio que ha tenido.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabla de laboratorios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 506px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="169"&gt;LaboraRN.CodigoPaciente&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="167"&gt;LaboraRN.ValorResultado&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="170"&gt;LaboraRN.FechaResultado&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;30/05/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;31/07/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;18.9&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;07/09/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;31/10/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;30/01/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;29/05/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;03/09/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;04/12/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;04/03/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;04/06/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&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="xl64" style="border-top: none; border-left: none;"&gt;04/09/2014&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;en otra tabla tengo consultas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="449"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="80"&gt;RENOPROTECCION.CodigoPaciente&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="211"&gt;RENOPROTECCION.FechaIngreso&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="158"&gt;RENOPROTECCION.Peso&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20120530&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;69&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20120731&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20121031&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;66,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20130130&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20130529&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;64,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20130903&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;67&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20131204&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20140304&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20140604&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20140904&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;67&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cuando el usuario de fecha de atencion 2013-09-03 el sistema debe arrojar el ultimo resultado de laboratorio de acuerdo a esta fecha.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 506px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;3000039&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0.0&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;03/09/20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;si alguien me puede ayudar como se debe hacer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 22:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767379#M6020</guid>
      <dc:creator />
      <dc:date>2014-11-04T22:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: sacar el valor maximo</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767380#M6021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Te envio este pequeno ejemplo para que lo adaptes a tu solucion, en concreto es lo mismo que tienes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paciente, Fecha, Resultado&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 1, 123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 2, 159&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 3, 756&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 4, 456&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 5, 789&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 6, 821&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;EXIT Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aqui tienes una tabla con tres campos, lo que vamos a extraer aqui es el ultimo resultado de cada paciente.&lt;/P&gt;&lt;P&gt;Creas una tabla con dimensiones : &lt;/P&gt;&lt;P&gt;Paciente y &lt;/P&gt;&lt;P&gt;=Date(Aggr(Max(Fecha),Paciente))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;La expresion sera:&lt;/P&gt;&lt;P&gt;FirstSortedValue(Resultado, -Aggr(Max(Fecha),Fecha))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Espero que te sirva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 12:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767380#M6021</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2014-11-05T12:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: sacar el valor maximo</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767381#M6022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gracias pero te amplio mi inquietud&lt;/P&gt;&lt;P&gt;al seleccionar un rango de fecha ej:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1,2,3 se desea que muestre por paciente el máximo resultado.&lt;/P&gt;&lt;P&gt;es decir para&lt;/P&gt;&lt;P&gt;A ...159&lt;/P&gt;&lt;P&gt;B....753&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;y debe ser dinámico con la fecha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 20:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767381#M6022</guid>
      <dc:creator />
      <dc:date>2014-11-05T20:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sacar el valor maximo</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767382#M6023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Revisa este qvw con tus datos...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 14:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767382#M6023</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2014-11-06T14:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: sacar el valor maximo</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767383#M6024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hola. gracias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Utilice la siguiente expresión para hallar la ultima fecha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= max({1&amp;lt;RENOPROTECCION.CodigoPaciente, RENOPROTECCION.FechaIngreso={"&amp;gt;$(=min(date(vDateMin)))&amp;lt;=$(=max(date(Fecha)))"}&amp;gt; }RENOPROTECCION.FechaIngreso)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;con esa fecha necesito traer el resultado del peso&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No se como se hace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 15:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767383#M6024</guid>
      <dc:creator />
      <dc:date>2014-11-06T15:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: sacar el valor maximo</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767384#M6025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No he podido cuadrar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Si alguien me puede ayudar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 19:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767384#M6025</guid>
      <dc:creator />
      <dc:date>2014-11-06T19:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: sacar el valor maximo</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767385#M6026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pero adicional de lo que te envie como mas lo quieres&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 19:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/sacar-el-valor-maximo/m-p/767385#M6026</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2014-11-06T19:40:06Z</dc:date>
    </item>
  </channel>
</rss>

