Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
kelele123
Contributor
Contributor

Expresión de un grafico con el simbolo > o <

Hola, estoy intentando pintar en un grafico de velocimetro con un %

Quiero contar solo  los registros que un campo concreto tenga un valor mayor a 180

 

Si pongo esta expresión funciona bien:

=count({<[Retencion] = 180 >}[Retencion])
/
Count(Retencion)

 

Pero si sustituyo el signo = por un < o >= me da error

 

=count({<[Retencion] < 180 >}[Retencion])
/
Count(Retencion)

 

= ERROR IN SET MODIFIER EXPRESSION

como lo pongo?

Labels (1)
3 Replies
felipedl
Partner - Specialist III
Partner - Specialist III

Hi,

The set expression should be something like this:
- for greater than 180 values
count({<[Retencion]={">180"}>}[Retencion])

- for values equal to 180
count({<[Retencion]={180}>}[Retencion])
kelele123
Contributor
Contributor
Author

Ok, perfecto.

Funciona bien.

Muchas gracias.

felipedl
Partner - Specialist III
Partner - Specialist III

Can you mark as answered so other in the community may see it?

Thanks.