Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Extract the largest registry among minors / Extraer el registro mayor entre los menores

Good afternoon,

I have to implement a functionality in a bar graph and I do not really know how to do it.

I need to show the record that has a higher date among the minors in the year selected in a filter.

A practical case would be the following:

Currently I am representing (by means of a count) the protagonists that there are in a temporal axis. In addition, these protagonists have a state that can have several values ​​(informed, collaborate, involved, etc.).

What I intend is to show the protagonist with the most current state based on a year filter.

For example: Protagonist '1234' has as states 'Implicated' and 'Collaborate'. The protagonist with status 'Implicated' is created in 2014 and the same is modified its status to 'Collaborate' in 2017. If I select in the filter the year 2018, you have to count only the protagonist with the most current status and dated less or equal to the selected year. The result should be a Protagonist with 'Collaborate' status.

Currently the protagonist is being counted once for each state and that is not correct.

Greetings.


----------------------------------------------------------------------------------------------------------------------------------


Buenas tardes,

Tengo que implementar una funcionalidad en una gráfica de barras y no sé realmente cómo hacerlo.

Necesito sacar el registro que tenga fecha mayor entre los menores al año seleccionado en un filtro.

Un caso práctico sería el siguiente:

Actualmente estoy representando (mediante un count) los protagonistas que hay en un eje temporal. Además, estos protagonistas tienen un estado que puede tener varios valores (informado, colabora, implicado, etc.).

Lo que pretendo es mostrar el protagonista con el estado más actual en base a un filtro de año.

Por ejemplo: el Protagonista '1234' tiene como estados ' Implicado' y 'Colabora'. El protagonista con estado 'Implicado' se crea en 2014 y el mismo se modifica su estado a 'Colabora' en 2017. Si yo selecciono en el filtro el año 2018, se tiene que contar sólo el protagonista con el estado más actual y con fecha menor o igual al año seleccionado. El resultado debería ser un Protagonista con estado 'Colabora'.

Actualmente se está contando el protagonista una vez para cada estado y eso no es correcto.

Saludos.

1 Reply
neelamsaroha157
Specialist II
Specialist II

This might point you in the right direction -

On last date lowest value min & max