<?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: Grouped values calculated for filters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864598#M1002653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;El error puede estar producido porque para aplicar una función de agregación debería hacer simultáneamente un Grouped by ... &lt;/P&gt;&lt;P&gt;tendrías que hacerlo en dos pasos,&lt;/P&gt;&lt;P&gt;primero calcular por cada proyecto el avg y luego se lo asignas a cada proyecto con un join&lt;/P&gt;&lt;P&gt;pruebalo a ver si no te da error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 19:41:05 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2015-05-27T19:41:05Z</dc:date>
    <item>
      <title>Grouped values calculated for filters</title>
      <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864594#M1002649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a board that shows the status of projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I find is that I have to offer the end user a graphic selection list or any object that allows filtering projects for the "Compliance project" which is a calculated thing, I do not have any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The states need to manage project are:&lt;/P&gt;&lt;P&gt;Efficient: 81-100&lt;/P&gt;&lt;P&gt;Controlled: 61-80&lt;/P&gt;&lt;P&gt;Problem: 0-60&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a table showing the ID, Name, Status data that have a table "Projects" and Compliance and Graph I get him analys set:&lt;/P&gt;&lt;P&gt; =(Num(Avg(Compliance_Project),'###')&amp;amp;' %') &lt;/P&gt;&lt;P&gt;&lt;IMG alt="ppp.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87706_ppp.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we now need is to create an object that shows the three status of the project (Efficient, controlled and In Problems) with defined ranges, and to click to show me the projects that are in that status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 18:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864594#M1002649</guid>
      <dc:creator />
      <dc:date>2015-05-27T18:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped values calculated for filters</title>
      <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864595#M1002650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No se si en tu caso es posible, pero una solución sería que en el script de carga calcules el valor del campo y le asignes ya uno de los tres estados como un campo adicional, lo que te permitiría de forma directa la selección por ese campo.&lt;/P&gt;&lt;P&gt;Si esto no fuera posible, puedes crear una tabla INLINE con el valor de cada estado y sus limites maximo y minimo y que sirva de selector y en las dimensiones incluir una condición que filtre el resultado según el valor del estado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 18:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864595#M1002650</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-05-27T18:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped values calculated for filters</title>
      <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864596#M1002651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try a listbox with this expression&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if(aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Avg(Compliance_Project)&lt;/SPAN&gt;, ID)&amp;gt;=0.81, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Efficient&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;if(aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Avg(Compliance_Project)&lt;/SPAN&gt;, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;ID&lt;/SPAN&gt;)&amp;gt;=0.61, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Controlled&lt;/SPAN&gt;',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Problem&lt;/SPAN&gt;'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 19:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864596#M1002651</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-27T19:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped values calculated for filters</title>
      <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864597#M1002652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gracias Enrique, ya intente hacerlo desde el script pero no me funciono, o lo intente de manera errónea, para mas detalles te cuento:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tengo 2 Tablas:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Tabla Proyectos&lt;UL&gt;&lt;LI&gt;ID_Proyecto&lt;/LI&gt;&lt;LI&gt;Nombre_Proyecto&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Tabla Entregables&lt;UL&gt;&lt;LI&gt;ID_Proyecto&lt;/LI&gt;&lt;LI&gt;ID_Entregable&lt;/LI&gt;&lt;LI&gt;Nombre_Entregable&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Cumplimiento_Entregable&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Para calcular el cumplimiento de un proyecto, yo tomo el campo &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Cumplimiento_Entregable y&lt;/STRONG&gt; le aplico una función AVG() lo que me arroja el campo calculado&amp;nbsp; &lt;STRONG&gt;Cumplimiento de Proyecto.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Lo que sinceramente ahora no se como hacer es que con los datos que tengo, crear un objeto que permita al usuario filtrar por el campo calculado &lt;STRONG style="font-size: 13.3333330154419px;"&gt;Cumplimiento de Proyecto.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;El objetivo final seria tener algo asi:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="eee.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87716_eee.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;El script que intente utilizar fue:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD ID_Proyecto, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nombre_Proyecto &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[.......Fuente de datos.........&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID_Entregable, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_Proyecto, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nombre_Entregable, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cumplimiento_Entregable&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[.......Fuente de datos.........&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Proyectos_Final&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;LOAD&amp;nbsp; *,&amp;nbsp; (avg(&lt;SPAN style="font-size: 13.3333330154419px;"&gt; Cumplimiento_Entregable&lt;/SPAN&gt;)) as Cumplimiento_Proyecto&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Resident Proyectos;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP TABLE Proyectos;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cuando la ejecuto marca error en las lineas subrayadas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agradezco mucho su apoyo.&lt;/P&gt;&lt;P&gt;Saludos.&lt;/P&gt;&lt;P&gt;Jorge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 19:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864597#M1002652</guid>
      <dc:creator />
      <dc:date>2015-05-27T19:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped values calculated for filters</title>
      <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864598#M1002653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;El error puede estar producido porque para aplicar una función de agregación debería hacer simultáneamente un Grouped by ... &lt;/P&gt;&lt;P&gt;tendrías que hacerlo en dos pasos,&lt;/P&gt;&lt;P&gt;primero calcular por cada proyecto el avg y luego se lo asignas a cada proyecto con un join&lt;/P&gt;&lt;P&gt;pruebalo a ver si no te da error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 19:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864598#M1002653</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-05-27T19:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped values calculated for filters</title>
      <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864599#M1002654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gracias Enrique, tendrás un ejemplo o referencia de cómo hacer esto?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gracias de antemano.&lt;/P&gt;&lt;P&gt;Jorge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 19:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864599#M1002654</guid>
      <dc:creator />
      <dc:date>2015-05-27T19:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped values calculated for filters</title>
      <link>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864600#M1002655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Massimo, your solution is practical and effective, solved my problema, only I made some adjustments and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function was as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(aggr(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Avg(Compliance_Project)&lt;/SPAN&gt;, ID_Project)&amp;gt;=81, '&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Efficient&lt;/SPAN&gt;',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(aggr(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Avg(Compliance_Project)&lt;/SPAN&gt;, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;ID_Project&lt;/SPAN&gt;)&amp;gt;=61, '&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Controlled&lt;/SPAN&gt;',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;Problem&lt;/SPAN&gt;'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;Thanks for everything.&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 22:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouped-values-calculated-for-filters/m-p/864600#M1002655</guid>
      <dc:creator />
      <dc:date>2015-05-27T22:09:19Z</dc:date>
    </item>
  </channel>
</rss>

