Alteryx Designer Desktop Discussions

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

Struggling Achieving Specific Output - Need to find a solution fast!

32519
Meteoroide

Hi All, 

 

I am struggling to achieve a specific output based on a certain set of data and rules.

 

Current data is as follows:

 

Owned EntityOwnerOwnership PercentageOwned TypeOwner TypeRelated Family
M CorporationA75CorporationIndividualAW
M CorporationAW25CorporationIndividualA
N/AAWF0N/AIndividualAW
X CorporationAW20CorporationIndividualA; AWF
O CorporationA10CorporationIndividualAW

 

Output I am looking to get:

 

Owned EntityOwnerOwnership PercentageOwned TypeOwner TypeRelated FamilyOwned Entity1Attributed Family OwnershipOwned Entity2Attributed Family Ownership 2
M CorporationA75CorporationIndividualAWM Corporation25X Corporation20
M CorporationAW25CorporationIndividualAM Corporation75O Corporation10
N/AAWF0N/AIndividualAWM Corporation25X Corporation20
X CorporationAW20CorporationIndividualA; AWF    
O CorporationA10CorporationIndividualAW    

 

Basically, the rule is you get attributed the ownership % in an entity if you are related to that person.  I tried using the find and replace tool in alteryx but the output gets messed up with a person owns more than two entities. 

 

As long as I get the information in red text as an output, I am not picky about how it represented within Alteryx.

 

Can someone please help with finding a solution? I've been trying to figure out the best approach.  Many thanks in advance!

2 RESPOSTAS 2
jasperlch
Quasar

Hi @32519 ,

 

Not 100% sure if I get your question correctly. But I believe Transpose and Cross Tab might help.

Capture.PNG

Attached is the sample workflow.

32519
Meteoroide

Thanks

 

 

Enquetes
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Rótulos