Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
James255
Contributor
Contributor

filtered multiple fields in expression

Hi, 

I'm looking to filter two sets of fields in a pie chart.

1.Assembly/Component/SMD - Only to show Assembly

2. Assembler - Only to show Carol

I want both of these to measure the 'Units' field. I've tried the below but doesn't seem to be working as expected.

=If(match([Assembly/Component/SMD],'Assembly')
=If(match([Assembler],'Carol')

1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

try this

=If(match([Assembly/Component/SMD],'Assembly') and match([Assembler],'Carol'),'Asmbly','Carol')

View solution in original post

3 Replies
Chanty4u
MVP
MVP

try this

=If(match([Assembly/Component/SMD],'Assembly') and match([Assembler],'Carol'),'Asmbly','Carol')

James255
Contributor
Contributor
Author

Hi - thanks that does seem to be working. I'd like to filter the count as well. Below doesn't seem to be working as expected.

=Count( {<[Unit] = {"=[Unit] <> 'Carol'"} >}[Unit])

 

Chanty4u
MVP
MVP

May be this

=Count( {<[Unit]- = {'Carol'} >}[Unit])