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

How can I unique records that have multiple locations. See example below

mustangs00
6 - Meteoroid
RecordState
532930TX
533028CA
533223TX
532376CA
532376TX
532376FL

 

In this scenario I'd like to be able to single out 523376 and its multiple states.  I want to be able to report to team that 523376 has 3 states toed top it. How can I tackle this? Cheers and Happy NEW YEAR!

8 REPLIES 8
FinnCharlton
13 - Pulsar

Hello, I have attached one way to do this

FinnCharlton_0-1672929658304.png

 

gautiergodard
13 - Pulsar

Hey @mustangs00 

I believe you would be able to solve this using a summarize, see example attached. 

gautiergodard_0-1672929718551.png

 

Hope this helps! Please accept as solution is this solved your problem!

mustangs00
6 - Meteoroid

This also solved my solution.Like the ability to see the multiple states as well. Thank you!

mustangs00
6 - Meteoroid

Came across an issue after analyzing data.  What if record 532930 has multiple lines for one state? I really just need to isolate records with multiple different states.

mustangs00
6 - Meteoroid

Came across an issue after analyzing data.  What if record 532930 has multiple lines for one state? I really just need to isolate records with multiple different states.

gautiergodard
13 - Pulsar

@mustangs00 is this what you are looking for? to ID multiple line for one state, you would have to group by the ID and the State prior to performing a count.

In the attached, I used 532376 as an example with a duplicate FL line.

 

Hope this helps!

mustangs00
6 - Meteoroid

I think we are close. I just want to isolate the records with multiple unique states. In the example we are using, Is there a way to quickly be able to call out that record 532376 has 3 unique states associated with it? :)

gautiergodard
13 - Pulsar

@mustangs00  how does this look for you?

Labels