Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Filtering by two variables

AMalkin
6 - Meteoroid

Hello, I'm stuck and can't quite figure out where I'm going wrong. 


I have a data set that includes current and previous claims statuses and approval dates.

 

I need to isolate those claims which either: 

- have a date change (Approval date check is not 0)

OR

- have a claim status change (Change column blank)

 

Here is an example: 

AKrayushkina_1-1605133549141.png

 

I'm currently using a filter with the following formula to isolate the line items I don't care about: 

(contains([Change],"no"))
OR
(Contains([Approval date check], '0'))

 

But it's not working as expected. Please help!  

 

2 REPLIES 2
Emil_Kos
17 - Castor
17 - Castor

Hi @AMalkin,

 

I have created a workflow for you but I am not sure if I get what is your problem.

 

If this filter doesn't work for you can you give us a little bit more details why your solution isn't working as expected? 

 

Maybe you should use OR function instead of AND? 

Maskell_Rascal
13 - Pulsar

Hi @AMalkin 

 

You need to put an "!" before your second Contains function. 

Contains([Change],"no") ||
!Contains([Approval date check], '0')

 

This will give you the desired output. 

 

Maskell_Rascal_0-1605134347524.png

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Thanks!

Phil

 

Labels