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

How can i do a set analisys with a condition of a entire colume// Como puedo hacer un set analisys tomando en cuenta los valores de una columna entera

Hi guys! hope you be Ok. This is my problem:

I have this table

Ejemplo.png

I want that when ID <the number of all the celds but >(the number of all the celds-180) take the correspondig values of the variable 'SUMATORIA DEL PORCENTAJE DE ADECUACIÓN AL PUESTO' with 'Cordinacion del desarrollo social' from the variable 'Area'

I try with this, but it doesn't work:

=if(ID>(count(ID)-180)<=(count(ID)),sum({<ÁREA={'Coordinación de Desarrollo Social'}>}[SUMATORIA DEL PORCENTAJE DE ADECUACIÓN AL PUESTO]),'False'))

SPANISH:

Buenas amigos, espero que esten bien, este es mi problema:

Yo tengo la tabla ilustrada anteriormente, y quiero que con una funcion, se evalue cuando el ID este entre un rango determinado de valores, Para que allí, se haga un set analysys.

Probé con esto pero no funciono

if(ID>(count(ID)-180)<=(count(ID)),sum({<ÁREA={'Coordinación de Desarrollo Social'}>}[SUMATORIA DEL PORCENTAJE DE ADECUACIÓN AL PUESTO]),'False'))

1 Reply
slondono
Partner - Creator II
Partner - Creator II

if((ID > Count(ID)-180) and (ID <= Count(ID))

     , Sum({<AREA={'Coord.....Social'}>}[SUMATORIA DEL PORCENTAJE])

     ,'False'

)