Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Identify accounts with multiple variables and classify based on one variable

WishIKnewHowToCode
8 - Asteroid

Apologies, I have a feeling I will explain this poorly so let me just show you what I'm trying to figure out.

I have multiple instances of the same account number. I only care if their claim was paid, and once these run through the workflow, I need them to show as paid if there is any instance of a Paid Claim on an account.

So if claim status contains Paid, or Paid and Denied. Then the "Updated Claim Status" field should show as "Paid" Ideally I'd be able to run my data through this workflow with this formula and get that new output column added onto the end so when I do analysis down the line it will be categorized properly even when I remove the duplicate account numbers. 

If there is no instance of the account being Paid and "Denied" is all there is, then the Updated Claim Status should read "Denied"

WishIKnewHowToCode_0-1668718363116.png

 

Happy to try and clarify any of that since I'm sure I didn't explain it perfectly.

 

2 REPLIES 2
michelle_mathews
Alteryx Alumni (Retired)

@WishIKnewHowToCode , I would use the Summarize tool to accomplish this. Group on Account number and then choose the string action to concatenate the claim statuses. You can then use the filter to see if the concatenated string contains the word 'Paid'. 

 

 

WishIKnewHowToCode
8 - Asteroid

@michelle_matthrews Thank you, this is a simple and elegant solution. I was way overthinking this!

Labels