Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Multiple Conditions Filter - Csv Example Included

tsilverman_
7 - Meteor

I have included a csv with random numbers. I am working on a project in which I need multiple conditions to be met and am stuck on the particulars. This post is a follow up to a previous question, but wanted to provide more detail.

Steps 1 is to filter the “Code” column to include values “11111”, “22222”. After this, I want to keep the “Random Unique ID” values that correspond to those new criteria in the “Code” column.

Step 2 - Out of the “Random Unique ID” column, which rows also have values “10101”, “20202”, “30303”

Step 3 – Out of that resultant, which “Random Unique ID” also has “888888” as well as “99999999” in the “C.Uniq Integers” column.

 

My own data set contains multiple null values / blank values in a number of rows and columns as well.

5 REPLIES 5
Luke_C
17 - Castor

Hi @tsilverman_ 

 

Here's an example of the first filter, however not seeing any data that would match step 2, 10101,20202,30303 appear to be codes, not random unique IDs in your sample. 

 

Luke_C_0-1641323760442.png

 

tsilverman_
7 - Meteor

Hi Luke_C,

 

 Thank you for the response. For step two, of the outputs for "Random Unique ID", what other rows contain 10101,20202,30303 in column "Code"

binuacs
20 - Arcturus

@tsilverman_ is it possible to upload the expected result based on your input file?

tsilverman_
7 - Meteor

Step 1

tsilverman__0-1641391527177.png

Step 2

tsilverman__1-1641391543663.png

Step 3

tsilverman__2-1641391562769.png

 

Luke_C
17 - Castor

Hi @tsilverman_ I'm sorry, I'm really struggling to understand your logic. The screenshots you provided don't seem to agree:

 

  1. Step 1 screenshot, why is there a code 20202 present? Isn't that a step 2 filter? 
  2. Why is step 2 necessary? Wouldn't we just want to look at any records where [Code] in ('11111','22222','20202','10101','30303')
  3. I am getting 5 resulting records in step 3. Can you help me understand why the highlighted records below do not meet the criteria?

Luke_C_0-1641393602362.png

 

Labels