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: 
bcoronado
Contributor II
Contributor II

filter table based on matching fields

Hi, 

I've created a table filter based where the provider ID and need ID should match. How can I write this to include a secondary piece where the provid ID and need ID match but including the need status to equal 'identified'.

=if(match([Need Provider Id],'13651'),[Need Id] )


Thank you, Brittany

 

4 Replies
edwin
Master II
Master II

can you pls share your expressions or sample data?  the expression in your post is just an example rt?  as it is hard coded.

QFabian
Specialist III
Specialist III

Hi @bcoronado , if you are talking about an expression :

=sum( if( [provider ID] =  [need ID] and [need status]  = 'identified', FieldX)

And if it is script, and each field is present in the same table :

Load

fields....,

if( [provider ID] =  [need ID] and [need status]  = 'identified', 'Same ID /Identified', 'Same ID /Identified')  as NewFilter

From your source ;

 

 

 

QFabian
bcoronado
Contributor II
Contributor II
Author

Here is an example of the data.

Data example.PNG

bcoronado
Contributor II
Contributor II
Author

It's been solved! Thank you for your help.

=if(match([Need Provider Id],'13651') AND match (
[Need Name],'Benefits Screening') AND match (
[Need Status],'Pending Contact'),[Need Id] )