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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
janardhan
Creator
Creator

filtering

Hi friends ,

i need to display only vlaues of A and B

i tried like this :

=if(worksoft='A' and 'B' , worksoft) ,

=if(worksof='A' and worksoft='B' , worksoft)

but it is not working, can anyone hlep me

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

For a calculated dimension you can use this:

=if(worksoft='A' or worksoft='B' , worksoft)

of this:

=if(match(worksoft,'A','B'),worksoft)

If you want to limit a listbox, try: (A|B)


talk is cheap, supply exceeds demand

View solution in original post

9 Replies
Not applicable

Hi

in ur expression tab give expression like this

sum({<worksoft={'a','b'}>}value)

Anonymous
Not applicable

hi janardhan

              u can use d following:

             

        only( {<Worksoft=  {A, B} >} Worksoft)

jagan
Partner - Champion III
Partner - Champion III

Hi Janardhan,

Try like this

=Match(worksoft, 'Á', 'B')

Hope this helps you.

Regards,

Jagan.

janardhan
Creator
Creator
Author

Hi Jagan,

i tried but it is showing blank

jagan
Partner - Champion III
Partner - Champion III

Hi Janardhan,

Can you attach some sample file, where you are using this, are u using this in Dimension?

Regards,

Jagan.

Not applicable

Hi Janardhan

use this

it work to me

in ur expression tab give expression like this

sum({<worksoft={'A','B'}>}value)

then it show only A and B values


Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

For a calculated dimension you can use this:

=if(worksoft='A' or worksoft='B' , worksoft)

of this:

=if(match(worksoft,'A','B'),worksoft)

If you want to limit a listbox, try: (A|B)


talk is cheap, supply exceeds demand
Not applicable

Try ...

=if(worksoft='A', worksoft, if(worksoft='B', worksoft,'')

janardhan
Creator
Creator
Author

Thanks Wassenaar , its working