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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
patriciousa
Creator II
Creator II

Insert Field when equal to other column multiple values

Hi Qlik Community.

I'm here today with what must be a really easy task.

I need to insert a Field but only when is equal to other column values.

Here is my table:

   

NombreCategoría
Manuel AndresJPE
María del MarJPE
Gabriela SusanaSupervisor
GustavoDirector
ChristianSenior
Damian UrielJP
RamonGerente
HernanGerente
Leandro MartinSenior
Carlos MatiasSenior

I want to insert in my table in Qlik Sense the Column "Nombre" when "Categoría" is equal to JP, JPE and Senior.

I bet this has to be like the easiest thing in Qlik but I can't figure out how to do it.

Thank you in advance.

Regards.

12 Replies
patriciousa
Creator II
Creator II
Author

Hi Sunny. Can I ask you something... If I want to use the Set Analysis to all my expressions using {<Categoria = {'JPE', 'JP', 'Senior}>}.

How do I do it?

Thank you again.

Regards.

sunny_talwar
MVP
MVP

All your expressions? You can create a variable:

vVar = {<Categoria = {'JPE', 'JP', 'Senior}>}

and then use it something like this -> Sum($(vVar) Sales) or Sum($(=vVar) Sales)

The expression editor might show this as error, but I think one of the two should work.

patriciousa
Creator II
Creator II
Author

My bad. I wasn't clear enough.

I have a sheet with tables and a bart chart. How can I apply this filter to the entire sheet?

Is it possible?

Thank you.

Regards.