Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
jubarrosor
Partner Ambassador
Partner Ambassador

Button to select values in field: option NOT value

Hi,

I'm trying to create a button to select some values in fields.

I need that one field have the value 01/01/001 and other field the value NOT 01/01/0001 (like the following image), but I can't do it.

Screenshot_1.png

I tried different options but without success:

  • select in field: F.Autorización[F1]                       <> 01/01/0001
  • select in field: F.Presentación Propuesta [F3]     01/01/01

  • select in field: F.Autorización[F1]                         01/01/0001
  • select in field: F.Presentación Propuesta [F3]       01/01/01
  • select excluided values: F.Autorización [F1]

     ...

Can somebody help me?

Thank you!

Best regards!

1 Solution

Accepted Solutions
JonnyPoole
Former Employee
Former Employee

The first on should technically work, except that you don't need the space in the first one.  You can also test your search strings by using the search icon in the caption of a list box that shows these fields. See what syntax works there to make this selection.  If you need further help you can  post an app containing just these 2 fields that shows the problem...

  • select in field: F.Autorización[F1]                       <>01/01/0001
  • select in field: F.Presentación Propuesta [F3]     01/01/01

View solution in original post

7 Replies
julian_rodriguez
Partner - Specialist
Partner - Specialist

Hello Juan... can I write you in Spanish?

Lo que necesitas hacer es para un gráfico?... se podría resolver con Set Analysis?

Por ejemplo:

Sum({<[F.Presentación Propuesta] = {'01/01/01'}, F.Autorización[F1] -={'01/01/0001'} >}   Ventas)

JonnyPoole
Former Employee
Former Employee

The first on should technically work, except that you don't need the space in the first one.  You can also test your search strings by using the search icon in the caption of a list box that shows these fields. See what syntax works there to make this selection.  If you need further help you can  post an app containing just these 2 fields that shows the problem...

  • select in field: F.Autorización[F1]                       <>01/01/0001
  • select in field: F.Presentación Propuesta [F3]     01/01/01
jubarrosor
Partner Ambassador
Partner Ambassador
Author

Hola Julían,

no es un gráfico. Necesito que al hacer click sobre un botón (realmente un objeto de texto) se me fijen esos dos filtros.

La fecha F3 tenga el valor 01/01/0001 y F1 sea distinto de 01/01/0001.

Lo he intentado con distinto <> pero sin éxito, a pesar de que en el cuadro de selecciones actuales se reflejaba <> '01/01/0001' no se aplicaba el filtro.

Manualmente he fijado los valoreshe seleccionado primero 01/01/0001 para F3 y luego he seleccionado todos los valores posibles para F1, y he visto que se reflejaba en el cuadro de selecciones actuales con NOT; pero no consigo replicarlo.

Un saludo

jubarrosor
Partner Ambassador
Partner Ambassador
Author

Hi Jonathan,

I do it! Probably i had an error on sintax!

I atachment an example.

Thank you!

Best Regards!

JonnyPoole
Former Employee
Former Employee

great. works well

jubarrosor
Partner Ambassador
Partner Ambassador
Author

Hello again,

It wasn't a sintax error.

The problem is that the values are not associated.

If I select F1 <>01/01/001 there aren't any value F2 = 01/01/001 and this it was the reason beacuse selection are distinct.

I atachment an example.

Best Regards!

Not applicable

Hi

try this  -01/01/001