In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter and Join and Filter

akvsachin
8 - Asteroid

Hey Folks,

 

I have a case where I need to go from table 0 to table 2... but I'm finding an issue that those with null values in table 2 are getting ignored. But I need them like that in the final output.

Table 0
EntityIDHead AccountA-B-CDE
3478234987A
6745234987B
3987573892B
5637421012B
6789421014B
7908321480B
6789414127B
5478987042A
3498412345A
4678421012B
2987573892A

 

Table 2
ATLBTLHead Account
34786745234987
29873987573892
46785637421012
4210146789421014
3214807908321480
4141276789414127
5478 987042
3498 412345
8 REPLIES 8
alexnajm
19 - Altair
19 - Altair

I'm confused - what is the final expected output? What is Table 1 in the Excel? Any more detail about the beginning and the end of your process would be greatly appreciated.

akvsachin
8 - Asteroid

Hey @alexnajm 

Table 0 is my input, 
Table 2 is my expected output.

 

Table 1 is there because I was using a wrong method to do the same.

 

alexnajm
19 - Altair
19 - Altair

I think you are just looking for a Crosstab tool based on your final output then - Group by "Head Account", new column is "A-B-CDE", and values are Entity ID

 

However I don't think your data can get to the final output you have, so please check your original data first. For example, how is the 421014 row getting created when there are two B records? 

Screenshot 2025-10-13 091815.png

akvsachin
8 - Asteroid

Hey @alexnajm ,

 

Example like Record number 4 would not be ideal or expected value. So, how to get this sorted ?

 

alexnajm
19 - Altair
19 - Altair

@akvsachin my example uses the original data you attached - it is a text input so I could just use Table 0. This is the same data as previously posted.

 

Please try the workflow and come back with questions from there!

alexnajm
19 - Altair
19 - Altair

@akvsachin I see the edited comment - your data is not consistent to follow the assumed rules that you want to implement. For example, row 4 exists the way it does because both are labeled as "B" - why are both labeled as "B" when one should be labeled as "A"?

 

So either the data is off, or the process needs to be clarified

akvsachin
8 - Asteroid

Hey @alexnajm ,

 

That was the exact solution.

 

Please help me with one more case where "when there are no records available with A-B-CDE=A then create a column [A] with null records.

alexnajm
19 - Altair
19 - Altair

I think you need to still be more clear on how you want this process to exist long term, but this gets you an end result that matches your required output

Labels
Top Solution Authors