<?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: Help with chart indicator in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-chart-indicator/m-p/1133355#M372362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/30206"&gt;Staff Turnover Model&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/message/122824"&gt;Re: Problem?? Drawing Date(range)/ Gender Chart.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2016 19:26:14 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-08-04T19:26:14Z</dc:date>
    <item>
      <title>Help with chart indicator</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-chart-indicator/m-p/1133354#M372361</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;I need your help with this.&lt;/P&gt;&lt;P&gt;I have a table of "employees", where I have a entry date field and a date field low, the flag is another field "sit_employee" where 1 is active, 2 is low, that is, if in "sit_employee" = 2 trendrá a date low, if you have the "sit_employee" = 1, goes to void the low date, followed by this field, create a table of "Mastercalendar" and resident table "employees", filtering inactive, ie "sit_employee"= 2 obtaining this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hola, becesito su ayuda con esto, tengo una tabla de "empleados", donde tengo un campo de fecha de ingreso y un campo de fecha de baja, la bandera es otro campo "sit_employee" donde 1 es activo, 2 es baja, es decir, si esta en "sit_employee"=2 trendrá una fecha de baja, si tiene el "sit_employee"=1 tendrá nulo el campo fecha baja, seguido de esto, cree una tabla de "Mastercalendar" y un resident de tabla de "empleados", filtrando inactivos, es decir "sit_employee"=2 obteniendo esto:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Rotacion.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133682_Rotacion.JPG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;He creado 4 variables que necesito para el indicador de Rotación, vPI=Personal Inicial, vPF=Personal Final, vAltas=Altas y vBajas=Bajas, de empleados, teniendo en cuenta que la dimensión será semana.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created 4 variables I need for the rotation indicator, &lt;/P&gt;&lt;P&gt;VPI = Initial Personal, &lt;/P&gt;&lt;P&gt;VPF = Personal Final, &lt;/P&gt;&lt;P&gt;vAltas = High and vBajas = Low, &lt;/P&gt;&lt;P&gt;all of this with employees, considering that the dimension will be week, called week_rotation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula for the rotation is:&lt;/P&gt;&lt;P&gt;La fórmula para obtener la rotación en porcentaje, es:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((A + B) / 2) * 100&lt;/P&gt;&lt;P&gt;____________&lt;/P&gt;&lt;P&gt;((PI + PF) / 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is equal to:&lt;/P&gt;&lt;P&gt;Esto es igual a:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;(&amp;nbsp; (&amp;nbsp; ( vAltas+ vBajas )&amp;nbsp;&amp;nbsp; /2&amp;nbsp;&amp;nbsp; )&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;*100 )&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;((vPI+vPF)/2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values of the variables are:&lt;/P&gt;&lt;P&gt;Los valores de la variables son:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPI=&amp;nbsp; Count( {1&amp;lt;sit_trabajador={'1'},fecha_ingreso={"&amp;lt;=$(=max(fecha_inicial))"}&amp;gt;+&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;1&amp;lt;sit_trabajador={'2'},fecha_ingreso={"&amp;lt;=$(=max(fecha_inicial))"}&lt;/SPAN&gt;,fecha_baja={"&amp;gt;$(=max(fecha_inicial))"}&amp;gt;}trabajador)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPF=&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Count( {1&amp;lt;sit_trabajador={'1'},fecha_ingreso={"&amp;lt;=$(=max(fecha_final))"}&amp;gt;+&lt;/SPAN&gt;1&amp;lt;sit_trabajador={'2'},fecha_ingreso={"&amp;lt;=$(=max(fecha_final))"}&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;,fecha_baja={"&amp;gt;$(=max(fecha_final))"}&amp;gt;}trabajador)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vAltas=Count( {$&amp;lt;fecha_rotacion={"&amp;gt;=$(=max(fecha_inicial))&amp;lt;=$(=max(fecha_final))"}&amp;gt;}trabajador)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vBajas=Count( {$&amp;lt;fecha_rotacion={"&amp;gt;=$(=max(fecha_inicial))&amp;lt;=$(=max(fecha_final))"}&amp;gt;}trabajador_bajas)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The fields are in spanish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now here the problem, putting max (start_date) and max (end_date), just put me on the graph the week maximum , and I need to put me every week of the year.&lt;/P&gt;&lt;P&gt;(These dates them out with the function WeekEnd and WeekStart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He ahora aquí el problema, al poner max(fecha_inicial) y max(fecha_final), solo me pone en el gráfico la semana máxima, y necesito que me ponga todas las semanas del año.&lt;/P&gt;&lt;P&gt;(Estas fechas las saque con la funcion WeekEnd y WeekStart)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Semana rotación.JPG" class="jive-image image-2" src="/legacyfs/online/133683_Semana rotación.JPG" style="height: 342px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-chart-indicator/m-p/1133354#M372361</guid>
      <dc:creator>erivera10</dc:creator>
      <dc:date>2016-08-04T18:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with chart indicator</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-chart-indicator/m-p/1133355#M372362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/30206"&gt;Staff Turnover Model&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/message/122824"&gt;Re: Problem?? Drawing Date(range)/ Gender Chart.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-chart-indicator/m-p/1133355#M372362</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-04T19:26:14Z</dc:date>
    </item>
  </channel>
</rss>

