Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can i filter the data

Hi guys,

 

Column 1Column 2
A1
B2
C3
D4
E5
F6
G7

From Column 1 i just want to see A, B, C in the report.

So how can i filter the data ? Where i need to write the expression ? And can you please provide me the expression ?

Please help

Thanks.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

you can use calculated Dimension: if match(Column1,'A','B','C')> 0, Column1)

or

set analysis

sum({<Column1={'A','B','C'}>}Column2)

View solution in original post

5 Replies
Anonymous
Not applicable
Author

you can use calculated Dimension: if match(Column1,'A','B','C')> 0, Column1)

or

set analysis

sum({<Column1={'A','B','C'}>}Column2)

trdandamudi
Master II
Master II

Please see the attached for the solution:

Not applicable
Author

you can use the calculated dimension in this case in front end. in dimesion you can write expression as below:

if(match(Column1,'A','B','C'),Column1)

then check option to supress null values.

But it is better to do this at script level if possible or else create a flag in script for values as A, B and C and use this flag in calculated condition. it will be better performance wise as compare to above solution

miguelbraga
Partner - Specialist III
Partner - Specialist III

See the attached file

Regards,

MB

Not applicable
Author

Try this girishinani

Dimension : Column1

Expression :sum({<Column1={'A','B','C'}>}Column2)